‎2008 Aug 31 5:16 AM
i want to know how to disable or enable the fields in module pool programming.....
‎2008 Aug 31 5:59 AM
Hi Suresh,
You can disable/enable the fields statically by checking the parameters in screen painter.
However, if you want to disable/enable the fields dynamically then you can use 'loop at screen'.
LOOP AT SCREEN.
IF screen-name = 'ZSRSK-ADVNO' .
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Firoz.
‎2008 Aug 31 8:15 AM
hi,
use this code.
LOOP AT SCREEN.
IF screen-name eq <filedname>.
screen-input = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2008 Aug 31 9:22 AM
Hi,
You can use this code.
LOOP AT SCREEN.
IF screen-name eq <filedname>.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Or you can use the following code
LOOP AT SCREEN.
IF screen-group eq <GR1>.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
where GR1 has to be assigned by double clicking on the field in the screen and then adding GR1 is the group field that appears by the title screen attributes.
I am sure dis will solve your problem
Do get back for any clarifications
Regards,
Manish
‎2008 Aug 31 9:29 AM