Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Module Pool popup display

S0023931147
Participant
0 Likes
459

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
439

Some useful function modules:

F4_FILENAME

F4_FILENAME_SERVER

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
439

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

Read only

Former Member
0 Likes
439

  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.
Read only

Former Member
0 Likes
440

Some useful function modules:

F4_FILENAME

F4_FILENAME_SERVER