Skip to Content
2
Former Member
Jul 04, 2007 at 05:55 AM

Regarding Selection Screen

16 Views

Hi,

Hi Experts,

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.

ELSE.

SCREEN-ACTIVE = 0.

ENDIF.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Thanks

Azad.

Its urgent.