Hi all,
I have a requrement that if i select an option of the radio button the other options must be grayed out .Please help me with this.
SELECTION-SCREEN begin OF line.
PARAMETER:
v_p1 RADIOBUTTON GROUP RD USER-COMMAND onli MODIF ID AB1.
SELECTION-SCREEN :COMMENT 4(60) text-001.
SELECTION-SCREEN end of LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETER:
v_p2 RADIOBUTTON GROUP RD MODIF ID AB2.
SELECTION-SCREEN :COMMENT 4(60) text-002.
SELECTION-SCREEN end of LINE.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF v_p1 = 'X'.
IF SCREEN-GROUP1 = 'AB1'.
SCREEN-INPUT = '0'.
SCREEN-INTENSIFIED = '0'.
MODIFY SCREEN.
ENDIF.
ELSE.
IF v_p2 = 'X'.
IF SCREEN-GROUP1 = 'AB2'.
SCREEN-INPUT = '0'.
SCREEN-INTENSIFIED = '0'.
MODIFY SCREEN.
endif.
ENDIF.
ENDIF.
ENDLOOP.
The above code which i have tried out changes the whole screen and i am not able to understand the user command function .The user command is used to trigger the at selection screen but can we write any code in the function code i.e onli in this case.
Please let me know if there are any radio button parameters or anything to be done for this case.
Thanks in advance.
Mithun