Skip to Content
0
Nov 09, 2020 at 11:33 AM

Outbound delivery change BAPI to remove Batch split

1741 Views

Hi,

I am using BAPI 'BAPI_OUTB_DELIVERY_CHANGE' to update the 'Batch Split'. Its successful to add split batches. There is requirement to remove some Batches from split, I am trying same BAPI but its didnt work to remove batch split.

For example, the delivery quantity is 100 KG and BATCH split is

BATCH 'A' = 50 KG

BATCH 'B' = 50 KG.

I want to delete batch 'B' from delivery. Any idea how to do it? or 'BAPI_OUTB_DELIVERY_CHANGE is not correct BAPI to remove split batches? if so please suggest other BAPI.

I checked other threads but didnt worked for me. In below thread its mentioned to update DEL_ITEM = X by doing that system delete the line item of delivery and so it remove link with sales order. I only want to delete line item from 'Batch Split' for particular batch.

https://answers.sap.com/questions/11070848/how-to-delete-a-batch-split-item-using-function-mo.html

Please suggest.

Regards,

Abhay