Skip to Content

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

Fastest way to move from one itab to another?

What is the fastest way to move one internal table to another internal table (assuming two tables of similar structure)?

a) append lines of table1 to table2.

b) loop at table1.

Move: table1-field1 to table2-field1,

table1-field2 to table2-field2.

Append table2.

Endloop.

c) table2[] = table1[].

d) loop at table1.

Move-corresponding table1 to table2.

Endloop.

e) move table1 to table2.

I think it is option a). Is it correct?

Tags:
replied

Best fast way is

itab2[] = itab1[].

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question