美文网首页
ABAP NEW操作符

ABAP NEW操作符

作者: 阿努比斯1117 | 来源:发表于2018-10-15 19:29 被阅读0次
"EXCEL导入
NEW zms_ole( )->excel_upload( EXPORTING i_filename = 'C:\Users\73699\Desktop\2.xlsx'
                              CHANGING  c_tab      = itab ).

"EXCEL下载
NEW zms_ole( )->excel_download( EXPORTING i_filename = 'C:\Users\73699\Desktop\3.xls'
                                          i_head     = '列1#列2#列3'
                                CHANGING  c_tab      = itab
                                EXCEPTIONS itab_error = 1 ).

*模板下载
NEW zms_ole( )->template( EXPORTING i_file = 'DFC'
                                    i_type = 'xlsx').

相关文章

网友评论

      本文标题:ABAP NEW操作符

      本文链接:https://www.haomeiwen.com/subject/usrqzftx.html