Skip to Content
0
Former Member
Jan 10, 2008 at 11:42 AM

how to disable parameter in selection screen

7782 Views

hi experts,

SELECTION-SCREEN BEGIN OF BLOCK server WITH FRAME TITLE text-009.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: data_app RADIOBUTTON GROUP csbi.

SELECTION-SCREEN COMMENT 4(35) text-006 FOR FIELD data_app."744242

parameters : p_fname1 like rlgrap-filename default 'D:\usr\sap\ESP\DVEBMGS32\work\.boma1.dat' modif id s1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN SKIP 1.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: data_frn RADIOBUTTON GROUP csbi DEFAULT 'X'.

SELECTION-SCREEN COMMENT 4(35) text-007 FOR FIELD data_frn."744242

PARAMETERS: p_fname2 LIKE rlgrap-filename DEFAULT 'D:\Documents and Settings\czfnct\Desktop\boma.xls' modif id s2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK server.

my requirement is when data_frm radio button is active p_fname1 should be disabled or disappeared.

and when data_app radio button is active p_fname2 should be disabled or disappeared.

kindly suggest how to acheive it.

regards,

pavan