cl_gui_frontend_services=>file_open_dialog

CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title = 'Select CSV file'
          file_filter  = 'CSV File|*.CSV'
        CHANGING
          file_table   = l_files
          rc           = l_rc.
      IF l_rc ne -1.
        LOOP AT l_files INTO l_file.
          p_path = l_file.
        ENDLOOP.
      ENDIF.

你可能感兴趣的:(service)