<?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 Calling commit/rollback work inside FM  'IN BACKGROUND TASK' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142576#M1367218</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;I have function module which I call with 'IN BACKGROUND TASK' addition.&lt;/P&gt;&lt;P&gt;Is it correct to have commit work/rollback work operators in this module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not then what can be done co allow some logic with commit/rollback operators inside such FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2009 12:40:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-08T12:40:25Z</dc:date>
    <item>
      <title>Calling commit/rollback work inside FM  'IN BACKGROUND TASK'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142576#M1367218</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;I have function module which I call with 'IN BACKGROUND TASK' addition.&lt;/P&gt;&lt;P&gt;Is it correct to have commit work/rollback work operators in this module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not then what can be done co allow some logic with commit/rollback operators inside such FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 12:40:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142576#M1367218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T12:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calling commit/rollback work inside FM  'IN BACKGROUND TASK'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142577#M1367219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you can use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just from SAP help manual for this--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;In the transactional call, the name of the called function, together with the name of the destination and the actual 
parameters transferred in parameter_list for the current SAP-LUW are registered in the database tables ARFCSSTATE and 
ARFCSDATA of the current SAP system under the unique transaction ID (abbreviation TID, stored in a structure of type 
ARFCTID from the ABAP Dictionary, viewed using transaction SM58). After registration, the calling program is continued 
following the statement CALL FUNCTION. 

When the COMMIT WORK statement is executed, the function modules registered for the current SAP-LUW are started in the 
order in which they were registered. ROLLBACK WORK deletes all previous registrations for the current SAP-LUW.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 12:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142577#M1367219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T12:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling commit/rollback work inside FM  'IN BACKGROUND TASK'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142578#M1367220</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;After succesfully calling your FM of BAPI you van use BAPI_TRANSACTION_COMMIT to commit your update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Succes,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 13:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142578#M1367220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T13:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calling commit/rollback work inside FM  'IN BACKGROUND TASK'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142579#M1367221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Soumyaprakash, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not mentioned in your quote if commit/rollback can be called &lt;U&gt;inside&lt;/U&gt; the transactional function module.&lt;/P&gt;&lt;P&gt;Could you explain the difference of 'IN BACKGROUND TASK' from 'IN UPDATE TASK' which makes it possible to use these operators. Because it is restricted to use them within 'IN UPDATE TASK' modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 18:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-commit-rollback-work-inside-fm-in-background-task/m-p/6142579#M1367221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T18:05:08Z</dc:date>
    </item>
  </channel>
</rss>

