‎2006 Sep 12 3:41 PM
hi
i got a requiremenmt that i want to specify my screen fields in non editable mode.
can u pls suggest the code pls.
i tried using loop at screen.but its not working .
‎2006 Sep 12 3:42 PM
Why dont you define the screen field as just output...in that case it would mean non-editable.
‎2006 Sep 12 3:43 PM
may be u might have forgot <b>modify screen</b> statement
loop at screen.
if screen-name = 'P_NAME'.
screen-input = 0.
modify screen.
endif.
endloop.Message was edited by: Chandrasekhar Jagarlamudi
‎2006 Sep 12 3:43 PM
Hi,
loop ar screen.
if screen-name = 'TEST'.
screen-input = 0.
modify screen.
endif.
endloop.
Regards
amole
‎2006 Sep 12 3:44 PM
hi,
u can write in the PBO module.
for example
loop at screen.
if screen-name = 'Zfield1'<- give ur field
screen-input = 0.
modify screen.
endif.
endloop.
Regards
Nagaraj
‎2006 Sep 12 3:54 PM
Hi
You can do it in 2 ways. One is through the code and the other one is when you design the screen in the screen attributes for that particular screen field go to tab 'program' there select Output only. Then that field will change into non-editable mode.
Regards
Haritha
‎2006 Sep 12 3:54 PM
Hi,
You no need to write the LOOP AT SCREEN statment in this case, just in SE51, goto that screen then press Layout,press the field which you want non editable, you will get Attribute screen, Press Program tab, here select the <b>OUTPUT ONLY</b> Check box, then it will display in Display mode ..
Regards
Sudheer