Disable Radio button based on T-code
There is one selection screen with two t-codes assigned to it. When the first is run , the selection screen should display the radio button and when the second t-code is run , the screen should hide the radio buttons and also disable them .
How to do this ?
Rob Burbank replied
REPORT ztest MESSAGE-ID 00. PARAMETERS : r_1 RADIOBUTTON GROUP rad MODIF ID nch, r_2 RADIOBUTTON GROUP rad MODIF ID nch. AT SELECTION-SCREEN OUTPUT. LOOP AT SCREEN. IF screen-group1 = 'NCH'. IF sy-tcode = 'SE38'. screen-invisible = '1'. MODIFY SCREEN. ENDIF. ENDIF. ENDLOOP.