ABAP OO里使用improt报错
问题:使用import、export报如下错误EXPORT var_1,.......var_n TO MEMORY.........is not supported in OO context.
Use EXPORT name_1 from var_1,.......name_n from var_n TO MEMORY.......instead........."
解决办法:
使用以下语句
Export it_tab from it_tab to memory id 'ZTABLE'.
Import it_tab to it_tab1 frommemoryid 'ZTABLE'.