Application Development 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: 

Module Pool popup display

S0023931147
Participant
0 Kudos

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

Former Member
0 Kudos

Some useful function modules:

F4_FILENAME

F4_FILENAME_SERVER

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

  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.

Former Member
0 Kudos

Some useful function modules:

F4_FILENAME

F4_FILENAME_SERVER