获取目录列表Get directory path for EPS subdirectories
CALL FUNCTION 'EPS_GET_DIRECTORY_PATH'
EXPORTING
eps_subdir = lc_eps_in
IMPORTING
dir_name = lv_eps_dir
EXCEPTIONS
OTHERS = 99.
获取文件列表Get directory listing
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
EXPORTING
dir_name = space
IMPORTING
dir_name = lv_eps_dir
TABLES
dir_list = lt_file_list
EXCEPTIONS
OTHERS = 99.
* 获取文件信息 get file attributes
CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
EXPORTING
file_name = lv_output_file
dir_name = lv_dir_name
IMPORTING
file_size = lv_file_size
EXCEPTIONS
read_directory_failed = 01
read_attributes_failed = 02.
再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow