Skip to Content

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

How to disable the selection screen element?

Hello Colleague,

I have a report which has a checkbox in the selection screen. Currently I need to create two transaction codes for the report. When Tcode1 is executed, the program will execute in normal way. When Tcode2 is executed, the checkbox should be selected and greyed (not ready to input).

To implement the requirement, I think I should control the screen in the INITIALIZATION event according to the SY-TCODE. But when I tried to use LOOP AT SCREEN, I find SCREEN is empty.

I search a lot of threads. They all introduce the selection control after screen is displayed.

Can any expert help me on the problem?

Thansk & Regards, Yongbo.

Helpful Answer

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