on 10-30-2006 5:33 PM
Hi guys,
I call a rfc who call a bapi function.
But, if I get a error message from sap I need to do the rollback in sap and in my application.
In my application no problems, but, how can I do rollback at SAP?
Can I work with transactions???
Hi edney,
You can do this by using the <b>BAPI_TRANSACTION_COMMIT</b> and <b>BAPI_TRANSACTION_ROLLBACK</b> BAPIs. They are used for handling transactions on BAPI calls. They are listed under the BAPIService node in the BAPI explorer. Refer to the following tutorial for handling transactions with BAPIs in webdynpro, though you might not be using webdynpro, but it will help you understand the whole thing.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/20b6e990-0201-0010-5095-f3a465de5f30">Handling Transactions with BAPIs in Web Dynpro</a>
Best regards,
Guru.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.