Skip to Content

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

Move itab1 to itab2 if some fields afre different

Hello

What is the best way to move data from table itab1 to table itab2.

Both tables are the standard tables of the following structures :

itab1 itab2

F1 F2 F3 F4 F1 F2 F5 F6

I know loop into but hope there is more sphisticated way to do it

Thanks

Former Member
Former Member replied

Hi!

REFRESH: itab2.
LOOP AT itab1.
  MOVE-CORRESPONDING itab1 TO itab2.
  APPEND itab2.
ENDLOOP.

Regards

Tamá

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