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

transfer data

Former Member
0 Likes
649

How can we transfer the data from one itab to another without using move & write statements?could u plzz tell

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
625

Transfer data can using command

APPEND LINES OF itab1 [FROM idx1] [TO idx2] TO itab2.

or

using itab1[] = itab2[].

5 REPLIES 5
Read only

Former Member
0 Likes
625

use

itab1[] = itab[].

this will transfer all the records of itab to itab1.

Read only

Former Member
0 Likes
625

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[].

reward helpful answers..

sai ramesh

Read only

Former Member
0 Likes
626

Transfer data can using command

APPEND LINES OF itab1 [FROM idx1] [TO idx2] TO itab2.

or

using itab1[] = itab2[].

Read only

Former Member
0 Likes
625

hi,

itab2[] = itab1[].

Read only

Former Member
0 Likes
625

Hi Let us say..

you want to transfer records from table ITAB to JTAB .

When the type of these tables are same use ;

JTAB[] = ITAB[] . Square bracket means body , like this body is copied to another table body .

Thanks .