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: 

How to disable the selection screen element?

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I think you can use Screen Variants T.Code SHD0.

3 REPLIES 3

Former Member
0 Kudos

I think you can use Screen Variants T.Code SHD0.

Former Member
0 Kudos

I find the solution by myself. Thanks

0 Kudos

please post the solution here.