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.
cancel
Showing results for 
Search instead for 
Did you mean: 

export command in oops

Former Member
0 Kudos

hi all,

Observe the code .

LOOP AT lines INTO ls_lines.

ls_tdline = ls_lines-tdline.

APPEND ls_tdline TO lt_tdline.

ENDLOOP.

  • Export the text on the text editor into ABAP memory.

EXPORT (lt_tdline) TO MEMORY ID 'MID'.

as u see i am exporting Lt_tdline to memory id .

this statement gives me a dump saying that the contents in the table is not recognised. Actually i am moving the contents in the field tdline from table tline into ABAP MEMORY. Its urgent.

Please help.

1 REPLY 1

Former Member
0 Kudos

If you are trying to export the table to memory, remove the parentheses. Adding the parentheses will make it look for the contents within the table. For example, if you have a row that says "This is a test", then the export statement will try to export a parameter called "This is a test" to memory.