‎2010 Apr 19 10:58 AM
Hi,
I have a select statement like this:
loop at itab1 assigning <fs_itab>.
select * from dtab into itab2 where field1 = <fs_itab>-field1.
Here, how to insert itab2's result into itab3 without overwritting itab3's existing rows?
Endloop.The problem is I want to put the result of itab2 into another internal table (itab3) every time inside the loop, I don't know how to insert the result into itab3 without overwritting the existing values.
Could anyone help on this?
Thanks,
Yang
‎2010 Apr 19 11:05 AM
Append lines of itab2 to itab3.
7 (5 unresolved) . Please close the thread if solved.
Edited by: Mishra.Manas on Apr 19, 2010 12:43 PM
‎2010 Apr 19 11:05 AM
Append lines of itab2 to itab3.
7 (5 unresolved) . Please close the thread if solved.
Edited by: Mishra.Manas on Apr 19, 2010 12:43 PM
‎2010 Apr 19 11:14 AM
Hi,
You can use
Append lines of itab2 to itab3
or
Insert Lines of itab2 into itab3
Regards and Best wishes.