Skip to Content

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

Transferring of Data from One Internal Table to Another Internal Table

Dear forumers,

This is a newbie question.

form process_data.

loop at itab_1.

itab_final-matnr = itab_1-matnr.

itab_final-charg = itab_1-charg.

itab_final-vfdat = itab_1-vfdat.

COLLECT itab_final.

endloop.

loop at itab_2.

itab_final-bismt = itab_2-bismt.

itab_final-mhdrz = itab_2-mhdrz.

itab_final-meins = itab_2-meins.

COLLECT itab_final.

endloop.

loop at itab_3.

itab_final-maktx = itab_3-maktx.

COLLECT itab_final.

endloop.

loop at itab_4.

itab_final-lbkum = itab_4-lbkum.

itab_final-salk3 = itab_4-salk3.

COLLECT itab_final.

endloop.

endform.

From the debugger, ITAB_FINAL only has three fields filled up (MATNR, BISMT and MAKTX), even to the end of this form processing block. It should have more fields filled up actually.

Any idea why, and how I can correct this?

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question