08-17-2007 8:33 AM
I tried to use the conventional way of EXPORT itab TO MEMORY ID 'itab' and
IMPORT itab FROM MEMORY 'itab' but it is not working in object oriented environment. How to write the correct syntax in object oriented environment?
Thanks
08-31-2007 8:09 AM
try this
data: itab type yourstructure.
itab-yourfield1 = 'X'.
export zzz from itab-yourfield1 to memory id 'mem'.
import zzz to itab-yourfield2 from memory id 'mem'.
08-31-2007 8:13 AM
Hi
In oops,its not possible directly to itab to itab.
you should use work area
export .......itab ....wa_itab..
import wa_itab from itab..
check correct syntax.normally you should have work area in oops.
Thanks
08-31-2007 8:20 AM
Hi..
Internal table with Header line is not Supported in ABAP OO.
So it may be the reason why you are getting an error.
Declare your ITAB without header line.
Try the Same code.
<b>reward if Helpful</b>