I have written code like follows :
For Radibutton Group ( on selection )
AT SELECTION-SCREEN ON RADIOBUTTON GROUP rad1
if p_appath = 'X'.
wflag = 'X'.
else.
wflag = ''.
endif.
AT SELECTION-SCREEN OUTPUT.
IF wflag = 'X'.
p_odir = '/filetransfer/sapread/SAP2Web/'.
ELSE.
p_odir = 'D:\'.
ENDIF.
The above code works fine if I run this report at Foreground , but the flag doesnt gets its valud if I run in Background.
Kindly suggest shall I write it in START-OF-SELECTION , but then OUTPUT event cannot work .
Yoegsh Gupte