Code: Alles auswählen.
LOOP AT lines1.
gs_downt-matnr = <ce21000t>-matnr.
gs_downt-zeile = zeile.
gs_downt-spr01 = lines1-tdline.
LOOP AT lines2.
gs_downt-spr02 = lines2-tdline.
zeile = zeile + 1.
APPEND gs_downt to gt_downt.
ENDLOOP.
ENDLOOP.
Code: Alles auswählen.
LOOP AT lines1.
read table lines2 index sy-tabix.
gs_downt-matnr = <ce21000t>-matnr.
gs_downt-zeile = zeile.
gs_downt-spr01 = lines1-tdline.
gs_downt-spr02 = lines2-tdline.
APPEND gs_downt to gt_downt.
ENDLOOP.