<?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: Question about ROLL BACK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-roll-back/m-p/10197968#M1824543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shelwin,&lt;/P&gt;&lt;P&gt;If you call BAPI&amp;nbsp; BAPI_REQUISITION_DELETE as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_REQUISITION_DELETE' STARTING NEW TASK taskname&lt;/P&gt;&lt;P&gt;&amp;lt;parameters&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way you can process this bapi asynchronously &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 11:18:46 GMT</pubDate>
    <dc:creator>PankajJain777</dc:creator>
    <dc:date>2014-03-19T11:18:46Z</dc:date>
    <item>
      <title>Question about ROLL BACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-roll-back/m-p/10197967#M1824542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Backgroud:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to implement method POST( ) in BADI ME_PROCESS_PO_CUST, and in this mothod I will invoke BAPI_REQUISITION_DELETE. But if error occurs when calling BAPI_REQUISITION_DELETE, system will roll back inside BAPI_REQUISITION_DELETE, then no purchase order will be created, which is not what I expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I create a function module, in which I put BAPI_REQUISITION_DELETE, and call this FM inside POST( ), will purchase order still be created if error occurs when calling BAPI_REQUISITION_DELETE (roll back occures inside BAPI)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, if ROLL BACK occurs in the invoked function module, will the invoking program ROLL BACK too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shelwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 11:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-roll-back/m-p/10197967#M1824542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-19T11:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Question about ROLL BACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-roll-back/m-p/10197968#M1824543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shelwin,&lt;/P&gt;&lt;P&gt;If you call BAPI&amp;nbsp; BAPI_REQUISITION_DELETE as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_REQUISITION_DELETE' STARTING NEW TASK taskname&lt;/P&gt;&lt;P&gt;&amp;lt;parameters&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way you can process this bapi asynchronously &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 11:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-roll-back/m-p/10197968#M1824543</guid>
      <dc:creator>PankajJain777</dc:creator>
      <dc:date>2014-03-19T11:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question about ROLL BACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-roll-back/m-p/10197969#M1824544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a RFC enabled FM to wrap BAPI_REQUISITION_DELETE and BAPI_TRANSACTION_COMMIT/ROLLBACK and call it IN BACKGROUND TASK so it will trigger after update of purchase order is performed in database, and in another luw, you could even analyze error with transaction SM58 (If you decide to trigger an error if RETURN contains any error of course).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-roll-back/m-p/10197969#M1824544</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-03-19T12:12:51Z</dc:date>
    </item>
  </channel>
</rss>

