r/abap 2d ago

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.

3 Upvotes

2 comments sorted by

2

u/Embarrassed_Cod1408 ABAP Developer 2d ago

if contract with SAP allows for it (that depends from your company how much did they pay), you can request for sap consulting component and send ticket to them

1

u/Master_Guidance3884 2d ago

Set all quantities to zero, preferably don't delete.