Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

move-corresponding itab1 to itab2

Hi guys,

is it possible for a move-corresponding to transfer all entries of itab1 to itab2 by just using this code:

move-corresponding itab1 to itab2????

or move-corresponding is only for one entry? thanks a lot!

always,

mark

Tags:
Former Member
Former Member replied

Hi,

Move-corresponding will move all the fields from one internal table to another.

So to transfer all entries into another internal table we can have move-corresponding itab1 to itab2.

or u can use itab1[ ] = itab2[ ].

If we take into account the performance the itab1[] = itab2 is much faster than move-corresponding, as move-corresponding has the bottle neck to search all fields of similar name.

Hope this helps you,

Thanks,

Dhanashri.

Edited by: Dhanashri Pawar on Jun 23, 2008 7:25 AM

Edited by: Dhanashri Pawar on Jul 31, 2008 7:57 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question