<?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: Trigger rollback during update task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-rollback-during-update-task/m-p/7025156#M1498545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean I should not use routines in update task at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Creating subroutines is obsolete. If new subroutines are required for PERFORM subr ON COMMIT or PERFORM subr ON ROLLBACK, they should only be used as wrapping for a method call and must not contain any other functional coding.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jun 2010 14:27:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-18T14:27:24Z</dc:date>
    <item>
      <title>Trigger rollback during update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-rollback-during-update-task/m-p/7025154#M1498543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there ABAP'ers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am playing a bit with LUWs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prepared a test scenario where in update task I call two forms, each in separate screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end I trigger COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now I would like to have a small test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say that first form passes in update task correctly. Whilst the second one generates an error inside itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is how should I trigger a rollback that the whole transaction is rolled back? I tried to put ROLLBACK WORK inside second routine but it generates a dump (because it is not acceptable to call ROLLBACK inside form launched in update task)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be thankful for suggestions how to trigger this rollback when second routine fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 13:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-rollback-during-update-task/m-p/7025154#M1498543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T13:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger rollback during update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-rollback-during-update-task/m-p/7025155#M1498544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have your answer in SAP documentation itself : [http://help.sap.com/abapdocu_70/en/ABAPPERFORM_SUBR.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 14:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-rollback-during-update-task/m-p/7025155#M1498544</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-06-18T14:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger rollback during update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-rollback-during-update-task/m-p/7025156#M1498545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean I should not use routines in update task at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Creating subroutines is obsolete. If new subroutines are required for PERFORM subr ON COMMIT or PERFORM subr ON ROLLBACK, they should only be used as wrapping for a method call and must not contain any other functional coding.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 14:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-rollback-during-update-task/m-p/7025156#M1498545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T14:27:24Z</dc:date>
    </item>
  </channel>
</rss>

