Skip to Content
0
Oct 20, 2005 at 03:40 AM

How to wrap many BAPI calls within a transaction?

434 Views

Hi friends, I have a program for install and dismantle equipments, i use bapis like BAPI_EQUI_INSTALL, BAPI_EQUI_DISMANTLE and BAPI_EQUI_CHANGE, i need to wrap this bapi calls within a transaction, thats mean, if this is my execution sequence:

Step 1: BAPI_EQUI_DISMANTLE

Step 2: BAPI_EQUI_INSTALL

Step 3: BAPI_EQUI_CHANGE

If any error happen in any step then i need to rollback all steps. If no errors happens i need to commit all steps. How can i handle this situation?

thank you for your help.