Skip to Content
Former Member
Sep 03, 2010 at 10:33 AM

probleam facing when using export command



In normal ABAP programming, an internal table is stored in the memory as shown below:

EXPORT itab TO MEMORY ID 'store_itab'.

But when i try to write the same code in a method of a global class, i get an error saying:

"EXPORT var_1,.......var_n TO not supported in OO context.

Use EXPORT name_1 from var_1,.......name_n from var_n TO MEMORY.......instead.........".

How can i store this internal table itab into memory.

Thanks a lot in advance for helping.

Best Regards,