CALL FUNCTION 'C13Z_FILE_DOWNLOAD_ASCII'
EXPORTING
i_file_front_end = i_ftfront
i_file_appl = i_ftappl
i_file_overwrite = i_flg_overwrite
IMPORTING
e_flg_open_error = l_flg_open_error
e_os_message = l_os_message
EXCEPTIONS
fe_file_open_error = 1
fe_file_exists = 2
fe_file_write_error = 3
ap_no_authority = 4
ap_file_open_error = 5
ap_file_empty = 6
OTHERS = 7.
CALL FUNCTION 'C13Z_FILE_DOWNLOAD_BINARY'
EXPORTING
i_file_front_end = i_ftfront "C:\Users\W_GZHJ\Desktop\FI20200106.XLS
i_file_appl = i_ftappl "/usr/sap/tmp/FI20200106.XLS
i_file_overwrite = i_flg_overwrite "X
IMPORTING
e_flg_open_error = l_flg_open_error
e_os_message = l_os_message
EXCEPTIONS
fe_file_open_error = 1
fe_file_exists = 2
fe_file_write_error = 3
ap_no_authority = 4
ap_file_open_error = 5
ap_file_empty = 6
OTHERS = 7.
阅读(1989) | 评论(0) | 转发(0) |