Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

export/import memory ID in OO

Former Member
0 Kudos

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?



Former Member
0 Kudos

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'.

Former Member
0 Kudos


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.


Active Contributor
0 Kudos


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>