How can we disable a input text box in module pool ?

Showing Answers 1 - 3 of 3 Answers

rup

  • Jun 5th, 2007
 

In PBO module of the screen code the line accroding to the filed.. 
maintain a field under a group.

   loop at screen.
  if screen-group1 ='G1'.
     screen-active =  '0'.
               or 
      screen-output = '1'.
   endif.
   modify screen.
endloop.
                                            
                                        

If the name of box is MATERIAL, then in PBO LOOP AT SCREEN. IF SCREEN-NAME = 'MATERIAL'. SCREEN-INPUT = 0.        [i][code] ( 1 - for enabling and 0 - for disabling ) MODIFY SCREEN. ENDIF. ENDLOOP.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions