‎2008 Feb 19 11:58 AM
Could any one give code to copy data(all rows) from internal table to another internal table of same structure.
‎2008 Feb 19 11:59 AM
‎2008 Feb 19 11:59 AM
‎2008 Feb 19 11:59 AM
‎2008 Feb 19 11:59 AM
hi,
Its pretty simple, as
it1 [ ] = it2 [ ].
Regards
Vadi
Edited by: Vadivelan B on Feb 19, 2008 1:00 PM
‎2008 Feb 19 12:06 PM
Somany methods ,
but best one is
ITAB1[] = ITAB2[].
Regards,
Ajay
‎2008 Feb 19 12:10 PM
Hi,
if u want to copy record by record then do like this
loop at itab1 into itab2.
append itab2.
endloop.
if u want to copy all the records at once.
itab2 [ ] = itab1 [ ].
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 5:15 PM
‎2008 Feb 19 12:20 PM
Hi Sunil,
You can use this .
APPEND LINES OF i_tab2 TO i_tab1.
Regards,
Chitra
‎2008 Feb 19 12:26 PM
Hi,
You can use the below code to copy:
itab2 [] = itab1 [].
or
append lines of itab1 to itab2.
Thanks,
Sriram POnna.