<?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: Commit with call function starting new task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-with-call-function-starting-new-task/m-p/4580331#M1080581</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;The starting new task addition performs an asynchronous call of the function module, an explicit commit work is not required for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commit work command ends the logical unit of work and opens a new one. This will commit any database updates and start any function calls in the update or background tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 14:54:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-08T14:54:18Z</dc:date>
    <item>
      <title>Commit with call function starting new task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-with-call-function-starting-new-task/m-p/4580330#M1080580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this case:&lt;/P&gt;&lt;P&gt;Program are calling a function for transfer data from R/3 to SRM this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;   COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'Z_TRANSF_DATA' STARTING NEW TASK 'Z_TRANS_DATA'....&lt;/P&gt;&lt;P&gt;   WAIT UP TO 10 SECONDS.&lt;/P&gt;&lt;P&gt;   CLEAR itab.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: need i COMMIT WORK with CALL FUNCTION STARTING NEW TASK ?? This function execute somes database changes. Or commit isn´t necessary??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tank´s a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 13:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-with-call-function-starting-new-task/m-p/4580330#M1080580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T13:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Commit with call function starting new task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-with-call-function-starting-new-task/m-p/4580331#M1080581</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;The starting new task addition performs an asynchronous call of the function module, an explicit commit work is not required for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commit work command ends the logical unit of work and opens a new one. This will commit any database updates and start any function calls in the update or background tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 14:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-with-call-function-starting-new-task/m-p/4580331#M1080581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T14:54:18Z</dc:date>
    </item>
  </channel>
</rss>

