Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use WS_DELIVERY_UPDATE to create batch split item for the existing item in delivery

former_member15804
Participant
0 Kudos

Hi,

Please help me with this FM WS_DELIVERY_UPDATE, how can i use this for creating batch split items in my outbound delivery for the existing item

Thanks

2 REPLIES 2

DominikTylczyn
Active Contributor

Hello ak6155

The situation with WS_DELIVERY_UPDATE function is a bit schizophrenic. On one side the function is not officially released for customer usage and thus is not documented. On the other hand SAP recommends customers to use this function - see note 581282 - Packing of deliveries via BAPI or function module

As the function is not documented you are left with trial and error.

However you might try another approach using Delivery Interface. It uses WHSCON IDoc to update delivery, including creation of batch split items. The interface is quite well documented and SAP Help explains how to build WHSCON IDoc for each use case. So you can use WE19 transaction to test WHSCON IDoc to create batch split items. The IDoc is ultimately processed by WS_DELIVERY_UPDATE function. So once you have the IDoc right, you can put a break-point in the function and examine how IDoc data is passed to the function.

I do realize that it's a work around, but it allows you to use standard IDoc with SAP Help documentation and end up in WS_DELIVERY_UPDATE input.

Best regards

Dominik Tylczynski

Means we can't use FM WS_DELIVERY_UPDATE or splitting batch item in already existing delivery ? if yes please provide some sample code. i would be grateful to you

Can please give me some sample code BAPI_OUTB_DELIVERY_CHANGE i read and tried also but it is not splitting the batch item in already existing delivery with item.

I just want to do a batch split on my already existing delivery through a FM . I have tried with both FM but didn't found any success.Please help me