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

代码5S

文章分类

全部博文(199)

文章存档

2021年(5)

2020年(194)

我的朋友

分类: 其他平台

2020-05-18 15:14:32

  call method of
      r_oth_g_sheet
      'SAVEAS'
    exporting
      #1            r_oth_l_destination
      #2            1
      #3            zpassw."增加密码设置 20200327 


附加删除文件,EXCEL编辑操作另存一个文件才不会占用
form delete_data_file using value(pv_filename).

  datalv_fname type string,
        lv_rc type i.

  lv_fname pv_filename.

* delete the file
  call method cl_gui_frontend_services=>file_delete
    exporting
      filename lv_fname
    changing
      rc       lv_rc
    exceptions
      others   0.

* flush to execute the deletion
  call method cl_gui_cfw=>flush.

endform.                    " DELETE_DAT_FILE
阅读(6690) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~