07-16-2015 1:01 PM
I want to update picking for a outbound delivery with splitting batches. I am using FM BAPI_OUTB_DELIVERY_CHANGE to assign multiple batches for delivery item.
It is assigning batches but delivery quantity is getting change, which should not happen.
Can any one please tell me how to resolve this issue.
Many thanks.
-Rajesh
07-16-2015 1:47 PM
Rajesh,
The delivery qty should be updated based on pick qty otherwise you would not be able to perform PGI (as far as i know).
Thanks,
Vikram.M
07-16-2015 1:54 PM
rajesh s wrote:
It is assigning batches but delivery quantity is getting change, which should not happen.
Can any one please tell me how to resolve this issue.
Many thanks.
-Rajesh
And it's the normal and correct behaviour.
If you are sending batches, the sum of batch qty should be equal to the main item qty
07-16-2015 3:33 PM
Hi Vikram/Simone,
Requirement is to do the batch split, pack in HU and update the picking quantity for each bactch in the outbound delivery. For this I am using BAPI BAPI_OUTB_DELIVERY_CHANGE but it works perfectly if I pick full delivery quantity. But the issue is If I try to do partial picking with one bacth, it is making the delivery fully picked.
For Example there is an OD with Quantity 2000
Now I am doing packing for batch ABC and Qty 1000. It packed and updated the picking quantity as 1000 but it changed the main item delivery quantity to 1000 and delivery status to fully picked whereas, it should be partially picked.
Please let me know if you need any more information..
Many thanks
Rajesh
07-16-2015 5:02 PM
Rajesh,
When you call the BAPI, are you setting the field CHG_DELQTY in the table ITEM_CONTROL?
Thanks,
Vikram.M
07-16-2015 5:19 PM
07-16-2015 5:51 PM
Vikram,
Yes, I am setting ITEM_CONTROL-CHG_DELQTY = 'X'. If I do not set this flag, nothing is happening.
Thank you,
Rajesh
07-16-2015 6:12 PM
I guess this flag is the reason why your delivery qty is getting changed. What exactly do u mean by nothing is happening?
07-16-2015 6:28 PM
Can I have your contact number if you don't mind. if I do not set this flag ITEM_CONTROL-CHG_DELQTY = 'X', Batch split not happening. it even not assigning batch to delivery item.
Thanks
Rajesh
07-20-2015 12:47 PM
Use FM WS_DELIVERY_UPDATE_2 to update the picking and packing for the delivery.