Chinaunix首页 | 论坛 | 博客
  • 博客访问: 506261
  • 博文数量: 199
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1902
  • 用 户 组: 普通用户
  • 注册时间: 2020-05-14 13:25
个人简介

代码5S

文章分类

全部博文(199)

文章存档

2021年(5)

2020年(194)

我的朋友

分类: 其他平台

2020-06-12 08:48:14

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.
阅读(2107) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~