If any radio button is selected, the input field
should be cleared. Note: the field should be cleared as soon any radio buttons is selected and not
after the program is executed.
Solution:
REPORT z_abap101_081.
PARAMETER p_first RADIOBUTTON GROUP grp1 USER-COMMAND action.
PARAMETER p_busin RADIOBUTTON GROUP grp1.
PARAMETER p_econo LIKE p_first RADIOBUTTON GROUP grp1.
PARAMETER p_input TYPE string.
AT SELECTION-SCREEN.
IF sy-ucomm = 'ACTION'.
CLEAR p_input.
ENDIF.
Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP S/4 HANA Logistics Consultant
Contact : serkurumsal@yandex.com
Social Plugin