Code: Alles auswählen.
DELETE FROM zbi_costoper_h
WHERE
material = <material>-material
AND plant = <material>-plant
AND costing_no = <header>-costing_no
AND valid_from = <header>-valid_from.
Code: Alles auswählen.
CLEAR gs_delete_costoper_h.
gs_delete_costoper_h-material = <material>-material.
gs_delete_costoper_h-plant = <material>-plant.
gs_delete_costoper_h-costing_no = <header>-costing_no.
gs_delete_costoper_h-valid_from = <header>-valid_from.
APPEND gs_delete_costoper_h TO gt_delete_costoper_h.
...
DELETE FROM zbi_costoper_h WHERE (gt_delete_costoper_h).
Code: Alles auswählen.
DELETE zbi_costoper_h FROM TABLE gt_delete_costoper_h.
Code: Alles auswählen.
DELETE FROM zbi_costoper_h WHERE (...).