<?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 Re: Transaction rollback in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346199#M174347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tejal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they are independent transactions, so Roll back won't work, it is not possible to control also if you use Call transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 May 2006 06:15:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-29T06:15:15Z</dc:date>
    <item>
      <title>Transaction rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346197#M174345</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 am using 'Call transaction...' statements for transactions VAP2 and XD02. If something goes wrong with XD02, changes made thru VAP2 should be rolled back.&lt;/P&gt;&lt;P&gt;   Please advise me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Tejal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 05:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346197#M174345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T05:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346198#M174346</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;Each call transaction will be committed immediately and I don't think you can rollback that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably you might want to look at calling BAPI's so that you can control commit and rollback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 05:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346198#M174346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T05:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346199#M174347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tejal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they are independent transactions, so Roll back won't work, it is not possible to control also if you use Call transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 06:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346199#M174347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T06:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346200#M174348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vijay and Ravi both!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 06:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346200#M174348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T06:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346201#M174349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it, but not through the rollback process. Before you change the contact information, keep everything that was changed in an internal table. If there's a problem with the customer, you can then call XD02 again and change the contact information back the way it was.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done this for a different process and it works quite well. The logic for you would be something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM call_vab2
  TABLES new_contact_data.
IF...   "the call to VAP2 is ok
  PERFORM call_xd02
    TABLES customer_data.
  IF...   "the call to xd02 didn't work.
    PERFORM call_vab2
      TABLES old_contact_data.
  ENDIF.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 13:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346201#M174349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T13:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346202#M174350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In calling the transaction, fill in the parameter RACOMMIT in CTU_PARAMS as 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_ctuparams-DISMODE = 'N'.&lt;/P&gt;&lt;P&gt;x_ctuparams-UPDMODE = 'A'.&lt;/P&gt;&lt;P&gt;x_ctuparams-DEFSIZE = 'X' .&lt;/P&gt;&lt;P&gt;x_ctuparams-RACOMMIT = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction &amp;lt;TCODE&amp;gt; using it_bdcdata options from x_ctuparams.&lt;/P&gt;&lt;P&gt;This wouldn't commit the transaction by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;call transaction &amp;lt;TCODE1&amp;gt; using it_bdcdata options from x_ctuparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction &amp;lt;TCODE2&amp;gt; using it_bdcdata options from x_ctuparams.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;ROLLBACK WORK. &lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 14:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-rollback/m-p/1346202#M174350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T14:03:42Z</dc:date>
    </item>
  </channel>
</rss>

