Hi friends,
i have 4 radio buttons on the selection screen
PARAMETERS :
r1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND DEV,
r2 RADIOBUTTON GROUP g1,
r3 RADIOBUTTON GROUP g1,
r4 RADIOBUTTON GROUP g1.
PARAMETERS :
file1 TYPE rlgrap-filename MODIF ID A1,
file2 TYPE rlgrap-filename MODIF ID A2,
file3 TYPE rlgrap-filename MODIF ID A3,
file4 TYPE rlgrap-filename MODIF ID A4,
Iam using loop at screen and displaying one file1 when r1 is active on the selection screen
simlarly
file2 when r2 is active on the selection screen
file3 when r3 is active on the selection screen
file4 when r4 is active on the selection screen
Its working fine.. perfect.
But my problem is i need to provide F4 help for all files dynamiaclly
ie :
when file 1 is active then i need to provide f4 help using at selection screen on value request for file1
when file 2 is active then i need to provide f4 help using at selection screen on value request for file2
when file 3 is active then i need to provide f4 help using at selection screen on value request for file3
when file 4 is active then i need to provide f4 help using at selection screen on value request for file4
iam using the following code but its showing me some error
can any one correct it and let me know.
data : w_file type rlgrap-filename. if R1 = 'X'. W_FILE = 'FILE1'. ELSEIF R2 = 'X'. W_FILE = 'FILE2'. ELSEIF R3 = 'X'. W_FILE = 'FILE3'. ELSEIF R4 = 'X'. W_FILE = FILE4'. ENDIF. AT SELECTION-SCREEN ON VALUE-REQUEST FOR W_FILE.
Its showing me error " On Value Request Shoud Be Follwed By Paramter Or Select option -low or High "
How Can i pass the file name based on the radio button check for AT selection screen on value request Event
Regards
Kumar