07-24-2007 5:07 AM
i ve an input field length . which should be in invisible mode during runtime. without using MODIF ID
07-24-2007 5:10 AM
Hi
You can do a <b>LOOP AT SCREEN</b> in <b>AT SELECTION_SCREEN OUTPUT</b>, and make that particular field invisible.
Regards
Raj
07-24-2007 5:10 AM
Code it in this way
LOOP AT SCREEN.
IF screen-name = 'SLOCSCAN'.
screen-invisible = '1'. "this one works
ENDIF.
IF screen-name = 'ZRFSCREEN-LGORT'.
screen-invisible = '1'. "this one works
screen-input = '0'. "this one works
ENDIF.
IF screen-name = 'MATSCAN'.
screen-invisible = '0'. "this one does NOT work. Changes at modify Screen
ENDIF.
IF screen-name = 'ZRFSCREEN-MATNR'.
screen-invisible = '0'. "this one works
screen-input = '1'. "this one works
ENDIF.
IF screen-name = 'SLOC_OK'.
screen-invisible = '0'. "this one does NOT work. Changes at modify Screen
ENDIF.
modify screen.
ENDLOOP
07-24-2007 5:13 AM
Hi,
If its a report prog u have to use the above mentioned code or if its module pool then there is an option in screen attributes just double-click on that input field goto attributes->display->invisible.
Hope this helps
Regds
Seema