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: 

BAPI_OUTB_DELIVERY_CREATE_STO - multiples STO items

Former Member
0 Kudos

BAPI_OUTB_DELIVERY_CREATE_STO - multiples STO items

Hi, I try to create a delivery from a STO using the BAPI "BAPI_OUTB_DELIVERY_CREATE_STO" and I have like 80 line-items in my STO, the delivery create only 71 items (the last 71 items of my STO). I need to know what we can do to fix this problem.


Others infomations: we are passing this data to the BAPI:

stock_trans_items-ref_doc
stock_trans_items-ref_item
stock_trans_items-dlv_qty
stock_trans_items-sales_unit
stock_trans_items-sales_unit_iso

Regards

Mario

3 REPLIES 3

eduardo_hinojosa
Active Contributor
0 Kudos

Hi Mario,

Follow the recommendations in SAP Note 386340 - Grouping purchase orders into one delivery using Vl10*

I hope this helps you

Regards

Eduardo

0 Kudos

Hi Eduardo,

I look at the OSS note and this is not applicable for me. If I use the t-code VL10B, only one delivery will be created from my STO and this is perfect. But we are using the BAPI "BAPI_OUTB_DELIVERY_CREATE_STO" to create the delivery because we are using a front-end that we created to create the STO and we want to launch the delivery automatically after the STO creation without any user intervention.


Regards

former_member692695
Discoverer
0 Kudos

Please share how did you solve this . Thanks!!!