<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Handling rollback after using bapi_transaction_commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-rollback-after-using-bapi-transaction-commit/m-p/7427847#M1550081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to dismantle an equipment from its current function module and install in a new function module. After successful installation i have to update the order and notification. If installation was not successfull I have to rollback the changes I have made to the equipment . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A snapshot of my code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

Call function module BAPI_EQUI_DISMANTLE

Bapi_transactio_commit (For the above thing to commit i have to use this compulsorily because unless until the equipment is
dismantled i cannot install it to a new loation in the next step )

Call function module BAPI_EQUI_INSTALL

if not successfull

Rollback.. Here I have to rollback the changes that I have done by using commit for dismantling. 

endif. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me a best way to handle this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Oct 2010 13:40:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-28T13:40:31Z</dc:date>
    <item>
      <title>Handling rollback after using bapi_transaction_commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-rollback-after-using-bapi-transaction-commit/m-p/7427847#M1550081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to dismantle an equipment from its current function module and install in a new function module. After successful installation i have to update the order and notification. If installation was not successfull I have to rollback the changes I have made to the equipment . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A snapshot of my code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

Call function module BAPI_EQUI_DISMANTLE

Bapi_transactio_commit (For the above thing to commit i have to use this compulsorily because unless until the equipment is
dismantled i cannot install it to a new loation in the next step )

Call function module BAPI_EQUI_INSTALL

if not successfull

Rollback.. Here I have to rollback the changes that I have done by using commit for dismantling. 

endif. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me a best way to handle this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 13:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-rollback-after-using-bapi-transaction-commit/m-p/7427847#M1550081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T13:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Handling rollback after using bapi_transaction_commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-rollback-after-using-bapi-transaction-commit/m-p/7427848#M1550082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The moment you commit the dismantling, you can't rollback the dismantling. Looks like you have to re-install.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 13:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-rollback-after-using-bapi-transaction-commit/m-p/7427848#M1550082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T13:44:37Z</dc:date>
    </item>
  </channel>
</rss>

