Code: Alles auswählen.
LOOP AT iTable2 INTO isTable2 WHERE pnr = isTable1-pnr.
Delete from Table2.
ENDLOOP.
Code: Alles auswählen.
DELETE FROM Table2 WHERE pnr = isTable1-pnr.
Code: Alles auswählen.
LOOP AT iTable2 INTO isTable2 WHERE pnr = isTable1-pnr.
DELETE Table2 FROM isTable2.
ENDLOOP.