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: 

i want to select file multiple. with WS_FILENAME_GET fm

Former Member
0 Kudos

hi,

i select file with WS_FILENAME_GET fm. but i select just one file. can i select multiple file.

can you help me?

best regards.

Burak.

1 ACCEPTED SOLUTION

former_member195402
Active Contributor
0 Kudos

Hi,

this fm is obsolete. Please use method FILE_OPEN_DIALOG of class CL_GUI_FRONTEND_SERVICES. There is a MULTISELECTION parameter available.

Regards,

Klaus

3 REPLIES 3

former_member195402
Active Contributor
0 Kudos

Hi,

this fm is obsolete. Please use method FILE_OPEN_DIALOG of class CL_GUI_FRONTEND_SERVICES. There is a MULTISELECTION parameter available.

Regards,

Klaus

former_member182915
Active Contributor
0 Kudos

hi,

code -

data FILETABLE type FILETABLE.

data RC type i.

constants:

   abap_true      type abap_bool value 'X',

   abap_false     type abap_bool value ' '.

call method cl_gui_frontend_services=>file_open_dialog

   exporting

     multiselection          = abap_true

   changing

     file_table              = FILETABLE

     rc                      = rc  

         .

if sy-subrc <> 0.

* Implement suitable error handling here

endif.


0 Kudos

thanks Klaus and Swadhin.

Best Regards.