2008 Apr 29 12:31 PM
I have three Bapi's
BAPI_PO_CREATE1.
BAPI_SALESORDER_CREATEFROMDAT2.
BAPI_PO_CREATE1.
these are called in the sequence in my program.
If there is an error in creating anyone of them..all of them should not be created..how do i acheive this..
I have three Bapi's
BAPI_PO_CREATE1.
BAPI_SALESORDER_CREATEFROMDAT2.
BAPI_PO_CREATE1.
these are called in the sequence in my program.
If there is an error in creating anyone of them..all of them should not be created..how do i acheive this..
2008 Apr 29 12:34 PM
At the end of the program you call either BAPI_TRANSACTION_COMMIT (in case there was no error or BAPI_TRANSACTION_ROLLBACK (in case there was one.
This will either commit all three or roll them back.
Regards,
Michael
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |