2006 Apr 10 4:22 PM
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
2006 Apr 10 6:19 PM
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.
2014 Oct 20 2:24 PM