Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Interal table structure in runtime

Hello experts,

How can i copy the structure of an internal table to another internal table?. Im trying to do this:

data: p_table_out type table.

types: begin of ty_generic,

matnr type matnr,

fkimg type fkimg,

meins type meins,

end of ty_generic.

data: it_generic type table of ty_generic.

p_table_out = it_generic. "At this point p_table_out should be exactly like it_generic, but it's not working

" this way =(

Hope you help me with this.


Edited by: marco hernandez on Sep 17, 2008 5:00 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question