<?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: Background Tasks and Commit Work and Wait in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917735#M381551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2007 13:24:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-02T13:24:31Z</dc:date>
    <item>
      <title>Background Tasks and Commit Work and Wait</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917730#M381546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a custom FM which is called in background task, which is refusing to honour the commit work and wait commands. The FM intermittently fails if the DB updates are slow and the FM tries to read from the DB tables before the data has been committed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling function BAPI_SHIPMENT_CREATE, followed by BAPI_TRANSACTION_COMMIT with the WAIT parameter set. I've even tried an explicit commit work and wait. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might this have something to do with the fact that the background task is executed asynchronously?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 10:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917730#M381546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T10:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Background Tasks and Commit Work and Wait</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917731#M381547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;  Try calling your FM in UPDATE TASK.&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>Thu, 01 Mar 2007 10:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917731#M381547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T10:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Background Tasks and Commit Work and Wait</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917732#M381548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I guess if you give the Commit work command instead of Commit work and wait between the two FMs, your problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 10:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917732#M381548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T10:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Background Tasks and Commit Work and Wait</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917733#M381549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should have mentioned that the FM is called as part of a user dialog, so I don't think UPDATE TASK is viable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that COMMIT WORK AND WAIT is behaving like COMMIT WORK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 11:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917733#M381549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T11:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Background Tasks and Commit Work and Wait</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917734#M381550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 13:47:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917734#M381550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T13:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Background Tasks and Commit Work and Wait</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917735#M381551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 13:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-tasks-and-commit-work-and-wait/m-p/1917735#M381551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T13:24:31Z</dc:date>
    </item>
  </channel>
</rss>

