EPS GET DIRECTORY LISTING

Aus SAP Wiki ツ
Version vom 8. Juli 2023, 13:08 Uhr von M1ch3lde (Diskussion | Beiträge) (→‎Definiton)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Deklaration

lt_filename_list TYPE TABLE OF epsfili .
IV_DIR_NAME TYPE EPSDIRNAM.
ET_FILENAME_LIST LIKE LT_FILENAME_LIST.

Codeschnipsel

CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
EXPORTING
   dir_name                     = iv_dir_name
  "FILE_MASK                    = ' '
* IMPORTING
*   dir_name                     = lc_dir_name
*   file_counter                 = lv_file_counter
*   error_counter                = lv_error_counter
 TABLES
   dir_list                    = et_filename_list
EXCEPTIONS
  invalid_eps_subdir           = 1
  sapgparam_failed             = 2
  build_directory_failed       = 3
  no_authorization             = 4
  read_directory_failed        = 5
  too_many_read_errors         = 6
  empty_directory_list         = 7
  OTHERS