Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to create the input field in invisible mode without using modifid

Former Member
0 Kudos

i ve an input field length . which should be in invisible mode during runtime. without using MODIF ID

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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