Skip to Content
0
Former Member
Jun 27, 2008 at 08:37 AM

Slection screen of BDC

22 Views

hi folks,

For my BDC program, on the selection screen..there will be two radio buttons...one for uplaoding local file..and other for application server file..and there will be a parameter which holds the path file. if i click local file radio button and click the path file a pop up window should apper for browsing the file in PC...My problem is if i default the first radio button to 'x', then the window is opened for both the radio buttons. if i wont default it, the pop up window not appearing itself...here am giving my peice of code..pls suggest me..

PARAMETERS :R_Local radiobutton group rad1 default 'X' ,

R_Apps radiobutton group rad1 .

PARAMETERS :filename TYPE rlgrap-filename .

AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.

REFRESH: it_tab.

IF R_Local = 'X'.

CALL METHOD cl_gui_frontend_services=>file_open_dialog

EXPORTING

window_title = 'UPLOAD_FILE'

default_filename = ' '

multiselection = ' '

CHANGING

file_table = it_tab

rc = gd_subrc.

ELSEIF R_Apps = 'X'.

xxxx.

ENDIF.

Thanks.

Edited by: Ram K on Jun 27, 2008 10:38 AM