‎2007 Nov 22 5:54 AM
Which one is better among the two :
Loop
Move-Corresponding ta2 to tab1
Endloop.
or
Loop.
tab1-f1 = tab2 -f1.
Endloop.
‎2007 Nov 22 5:56 AM
there is a better option if the structure of both table are same.
itab1[] = itab2[]
‎2007 Nov 22 5:55 AM
‎2007 Nov 22 5:56 AM
Hi
in the first case you should have the same field names
so if there are are not matching fields it may be problem
where as in second case since you are moving the particular field it is good always
anycase in both cases we have to use append Itab.
Regards
Anji
‎2007 Nov 22 5:56 AM
there is a better option if the structure of both table are same.
itab1[] = itab2[]
‎2007 Nov 22 5:58 AM
HI
Loop.
tab1-f1 = tab2 -f1.
Endloop.
is the better option to choose
because in the 1st one your useing MOVE CORRESPONDING it is not good to us e