Application Development and Automation 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: 
Read only

pciking quantity in BAPI_DELIVERYPROCESSING_EXEC

Former Member
0 Likes
1,165

hello experts,

i'm trying to create outbund deliveries using the bapi BAPI_DELIVERYPROCESSING_EXEC and BAPI_OUTB_DELIVERY_CONFIRM_DEC . I get an error when executing the second bapi, related with the picking quantity. I haven't found this field in the first bapi structure REQUEST, do you know how to solve this? thanks a lot

2 REPLIES 2
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
681

Your SD expert has to explain the requirements to you. In a nutshell, outbound delivery is usually created from a sales order. The system checks how much quantity of the material is available and creates the delivery with the corresponding requested quantity. How much quantity was actually delivered (picked) - well, how are we supposed to know? Shouldn't you get this information from the warehouse?

If you have to always pick the whole requested quantity (although this makes little sense to me), then the pick quantity shall be equal to the requested delivery quantity (which you'll find in LIPS) or to the confirmed quantity on the order (VBAP).

Read only

0 Likes
681

Hello Jelena,

My requirement generates sales orders, outbound deliveries and billing documents. In this case, the picking quantity should be the same requested delivery quantity all the time. I already did this, by creating an outbound delivery with the bapi BAPI_DELIVERYPROCESSING_EXEC, and then updating the picking quantity using the FM WS_DELIVERY_UPDATE. The final step was the confirmation, i did it using the bapi BAPI_OUTB_DELIVERY_CONFIRM_DEC.

Actually it was kind of easy, thanks for your help.