ABAP NEW操作符
2018-10-15 本文已影响0人
阿努比斯1117
"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').