2008 Feb 19 11:26 AM
Hi All,
I have two internal tables with same structure: I wanted to append from one internal table to the other one. HW to do it..?
One more question is: like how the append is going to happen, I mean each time its append only one record or its append all the records at a time, pls let me know.
Akshitha.
2008 Feb 19 11:31 AM
Hi
LOOP AT ITAB1.
ITAB2 = ITAB1.
APPEND ITAB2.
ENDLOOP.or
LOOP AT ITAB1 INTO ITAB2.
APPEND ITAB2.
ENDLOOP.If you want to appends all records in the same time:
APPEND LINES OF ITAB1 TO ITAB2.Max
2008 Feb 19 11:31 AM
Hi
LOOP AT ITAB1.
ITAB2 = ITAB1.
APPEND ITAB2.
ENDLOOP.or
LOOP AT ITAB1 INTO ITAB2.
APPEND ITAB2.
ENDLOOP.If you want to appends all records in the same time:
APPEND LINES OF ITAB1 TO ITAB2.Max
2008 Feb 19 11:32 AM
hi
try this way ...
append lines of itab1 to itab2.
it will append the content of itab1 to itab2 in one go.
Regards,
Anil.
2008 Feb 19 11:33 AM
loop at itab1.
move-corresponding itab1 to itab2.
append itab2.
endloop.Any operation on int table is done record by record...
2008 Feb 19 11:35 AM
Hi
Append lines of ITAB1 to ITAB2.
Thanks
Vijay.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 2:55 PM
2008 Feb 19 11:38 AM
If tables have a same structure you can use:
append lines of itab1 to itab2.regards,
Tomi
2008 Feb 19 11:37 AM
hi,
if u want to append record by record
loop at itab1 into itab2.
append itab2.
endloop.
if u want to transfer all the records at a time
itab2[ ] = itab1[ ].
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 2:56 PM
2008 Feb 19 11:37 AM
hi,
if u want to append record by record
loop at itab1 into itab2.
append itab2.
endloop.
if u want to transfer all the records at a time
itab2[] = itab2[].
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 3:21 PM
2008 Feb 19 11:38 AM
2008 Feb 19 1:23 PM
U can use
APPEND LINES OF ITAB1 TO ITAB2
It append all the lines of tab1 to Tab2
Narendra
2008 Feb 19 1:33 PM
Loop at itab1.
itab2 = itab1.
append itab2.
endloop.