10-27-2008 7:33 AM
Hi All,
I have a export button in my screen.
on hitting the export button, a dialog box will show to allow the user to pick a directory to export the files to. The default will be C Drive.
Thanks
Narendra
10-27-2008 8:05 AM
10-27-2008 7:36 AM
You should take a look at the search option, look for [method cl_gui_frontend_services=>DIRECTORY_BROWSE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=methodcl_gui_frontend_servicesDIRECTORY_BROWSE&adv=false&sortby=cm_rnd_rankvalue] or [method cl_gui_frontend_services=>FILE_SAVE_DIALOG|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=methodcl_gui_frontend_servicesFILE_SAVE_DIALOG&adv=false&sortby=cm_rnd_rankvalue]
Regards
10-27-2008 7:42 AM
CALL METHOD cl_gui_frontend_services=>directory_browse
CHANGING
selected_folder = w_path
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
10-27-2008 8:05 AM