DATA lta_ftable TYPE filetable.
FIELD-SYMBOLS <fs_ftable> TYPE file_table.
DATA ltp_files TYPE I.
REFRESH lta_ftable.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
* EXPORTING
* window_title =
* default_extension =
* default_filename =
* file_filter =
* with_encoding =
* initial_directory =
* multiselection =
CHANGING
file_table = lta_ftable
rc = ltp_files " Numero de ficheros seleccionados
* user_action =
* file_encoding =
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4
OTHERS = 5
.
CHECK sy-subrc = 0 AND ltp_files > 0.
READ TABLE lta_ftable ASSIGNING <fs_ftable> INDEX 1.
CHECK sy-subrc = 0.
cl_gui_frontend_services
Clases BC
Clases
Página principal