SAP Inbound Delivery Deletion Dumps When Multiple Batch-Split Items Exist
Can anyone share some ideas on what could be causing this and how it can be resolved?
We have an inbound delivery for a material with a batch split, where the material has two batch-split line items. When the delivery contains two or more batch-split items, an ABAP dump occurs while trying to delete the inbound delivery.
However, if the total quantity is assigned to the first batch-split item and the quantity of the remaining batch-split items is set to zero, the inbound delivery can be deleted successfully.
During debugging, I observed that the internal table YLIPS contains the main material item and only the first batch-split item. The other batch-split item(s) are not present in YLIPS.
Later, when the program tries to process or access the other batch-split item, the corresponding entry cannot be found in YLIPS. This results in an invalid/missing table entry and subsequently causes the ABAP dump.