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

Delivery Document creation using buffered data?

robphelan
Participant
0 Likes
604

We're using BAPIs to create an STO with estimated volumes/dates.

But, when the Actual information comes in, we first update the STO with actual volume, then create a delivery document. The problem is that the delivery document is using the estimated volume even though we've committed the volume change and can pull up the STO to see it prior to Delivery create.

For STO, we're using:

BAPI_PO_CREATE1 and

BAPI_PO_CHANGE

For Delivery creation, we're using:

BAPI_OUTB_DELIVERY_CREATE_STO

It seems that the Delivery is reading buffered information rather than what's actually been committed to the DB. Is there a way to bypass the buffer when calling this BAPI?

thanks,

Robert

1 ACCEPTED SOLUTION
Read only

robphelan
Participant
1 REPLY 1
Read only

robphelan
Participant