i have two radibuttons on selection screen. I want if i select 2nd radibutton a field shud become visible for input. if i select 1st one it shud become disable for input.
i am doing it as below.
it is working fine. but after selecting the particular radio button u have to press enter to see the p_file. can any body guide how can i control it by mouse click.
PARAMETERS: r_print RADIOBUTTON GROUP grp DEFAULT 'X' user-command rusr.
PARAMETERS: r_pdf RADIOBUTTON GROUP grp.
PARAMETERS: p_file TYPE localfile OBLIGATORY MODIF ID DSP.
AT SELECTION-SCREEN output.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'DSP'.
IF r_pdf = 'X'.
SCREEN-ACTIVE = 1.
SCREEN-ACTIVE = 0.