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: 

Screen Programing

Former Member
0 Kudos

Dear all,

How to make a certain field on the screen 'display' or 'edit'.

Loop at screen.

if field-name = XYZ

screen-input = '0'.

endif.

modify screen .

endloop.

Will this work....

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
Parameters: p_CHECK type c.

at selection-screen output.

Loop at screen.
if screen-name = 'P_CHECK'
screen-input = '0'.
endif.
modify screen .
endloop.

Regards,

Rich Heilman

Former Member
0 Kudos

Yes it will work. For better results, just move the MODIFY statement inside the IF or change the IF ... ENDIF to a CHECK statement and remove the quotes around the 0.