第一步:首先需要在原先 EXCEL模板中第一宏

EXCEL => 视图=>宏 

ABAP 导出EXCEL自动生成一维码

 

第二步:将编辑好的EXCEL模板 上传至SAP OAOR 

第三步:在ABAP程序中调用EXCEL宏 

           调用代码:

    CALL METHOD document->execute_macro
    EXPORTING
      macro_string = 'SAP1.MACRO'
    IMPORTING
      error        = errors
      retcode      = retcode.

   CALL METHOD document->execute_macro
    EXPORTING
      macro_string = '模块1.BARCODE'
    IMPORTING
      error        = errors
      retcode      = retcode.

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
猜你喜欢
  • 2021-10-01
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案