Skip to Content
0
Former Member
Dec 09, 2008 at 07:31 AM

How to gray out a selection field when data is entered in selection screen

1828 Views

Hi

On the event of entering a value in the field in my selection screen I want other fields to be grayed out.

I have implemented MODIF ID but my fields are grayed out immediately after execution of program, whereas I want the fields to be gray out only when user is entering data in other field.

I have used below code:

AT SELECTION-SCREEN OUTPUT.

loop at screen.

if screen-group1 = 123. " MIDIF ID for each selection-option is given as 123

screen-input = '0'.

modify screen.

endif.

Thank you in advance