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: 

transfer data

Former Member
0 Kudos
91

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
67

Transfer data can using command

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

or

using itab1[] = itab2[].

5 REPLIES 5

Former Member
0 Kudos
67

use

itab1[] = itab[].

this will transfer all the records of itab to itab1.

Former Member
0 Kudos
67

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

Former Member
0 Kudos
68

Transfer data can using command

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

or

using itab1[] = itab2[].

Former Member
0 Kudos
67

hi,

itab2[] = itab1[].

Former Member
0 Kudos
67

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 .