一个不错的方案: WHEN 'EXPORT'. "导出数据 DATA : GT_TEMP TYPE TABLE OF TY_ITEM WITH HEADER LINE. LOOP AT GT_IMERR INTO GT_TEMP. APPEND GT_TEMP. ENDLOOP. INCLUDE OLE2INCL. DATA : EXCEL TYPE OLE2_OBJECT, "excel对象 SHEET TYPE OLE2_OBJECT, "sheet工作簿页对象 CELL…
shift+ctrl+X,打开脚本运行,脚本如下:'******************************************************************************'* File: pdm2excel.txt'* Title: pdm export to excel'* Purpose: To export the tables and columns to Excel'* Model: Physical Data Model'*…