ABAP-读取应用服务器目录信息的函数代码摘抄
獲取目錄列表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 fileattributes
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.
總結
以上是生活随笔為你收集整理的ABAP-读取应用服务器目录信息的函数代码摘抄的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: AgilePoint模型驱动BPM(业务
- 下一篇: SD--订单最小量限制的增强