Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question