Application Development and Automation 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: 
Read only

internal table

Former Member
0 Likes
531

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.

3 REPLIES 3
Read only

former_member386202
Active Contributor
0 Likes
447

Hi,

c) table2[] = table1[].

Regards,

Prashant

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
447

table2[] = table1[].

bcoz kernel does the job.

Read only

Former Member
0 Likes
447

Hi Ekta,

this for your information.... if this question is SAP exam question please do not post here..this is against forum rules..

Thanks