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_DELIVERYPROCESSING_EXEC COMMIT ISSUE

Former Member
0 Kudos
328

Hi,

I am using 'BAPI_DELIVERYPROCESSING_EXEC' to create an outbound delivery for a PO. When i use this bapi in my program it just commits the BAPI without me using the BAPI COMMIT transaction.

The issue is that i am calling couple of other bapis after 'BAPI_DELIVERYPROCESSING_EXEC'. So i do not want to have this BAPI commit automatically and create delivery immediately. I want to commit all my bapis at the end.

Pls. suggest, ideas, comments, OSS fixes for this.

thanks in advance

Raj

2 REPLIES 2

Former Member
0 Kudos
97

I don't think the BAPI_DELIVERYPROCESSING_EXEC is doing the commit. Typically in the program, there are some automatic commits that happen, particularly if you are debugging. To test it, you can comment all other BAPI calls and call just this BAPI without the commit and see if your delivery is still created.

Also, to process all the BAPIs in the same unit cannot be achieved this way. Let us say you call this BAPI to create the delivery and want to do some subsequent actions on the same delivery, you will not be able to achieve it without first committing the previous call. That is because the delivery will not be there in the database until then.

0 Kudos
97

This message was moderated.