2007 Mar 08 10:11 AM
How can we transfer the data from one itab to another without using move & write statements?could u plzz tell
2007 Mar 08 10:15 AM
Transfer data can using command
APPEND LINES OF itab1 [FROM idx1] [TO idx2] TO itab2.
or
using itab1[] = itab2[].
2007 Mar 08 10:13 AM
use
itab1[] = itab[].
this will transfer all the records of itab to itab1.
2007 Mar 08 10:13 AM
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
2007 Mar 08 10:15 AM
Transfer data can using command
APPEND LINES OF itab1 [FROM idx1] [TO idx2] TO itab2.
or
using itab1[] = itab2[].
2007 Mar 08 10:18 AM
2007 Mar 08 10:24 AM
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 .