<?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: BAPI_GOODSMVT_CREATE Async call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296753#M501529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, that it works!&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 12:26:35 GMT</pubDate>
    <dc:creator>Peter_Inotai</dc:creator>
    <dc:date>2007-05-14T12:26:35Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE Async call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296750#M501526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I am calling BAPI_GOODSMVT_CREATE to post 2 goods movements one after the other (501 and 541). I am using BAPI_TRANSACTION_COMMIT, with the wait option after both the movements. (This is not being called in an update task, which might be evident from the call to BAPI_TRANSACTION_COMMIT).&lt;/P&gt;&lt;P&gt;The problem is that immediately after the 501 movement, if I try and post the 541 movement, the call to the BAPI fails. The error is that the data is locked with my user ID. Now if I put a WAIT UP TO n SECONDS, statement, the program works fine. My reasoning is that the control is returned to the program while there is some processing happening at the backend. &lt;/P&gt;&lt;P&gt;The program is working fine now, but using a WAIT UP TO.. doesn't seem an elegant approach. Could anyone suggest anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 11:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296750#M501526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T11:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Async call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296751#M501527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try 'SET UPDATE TASK LOCAL. ' before your BAPI call. It should work as it will stay in the user context as far as I remember.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 11:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296751#M501527</guid>
      <dc:creator>Peter_Inotai</dc:creator>
      <dc:date>2007-05-14T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Async call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296752#M501528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks mate!!!&lt;/P&gt;&lt;P&gt;Right on the money you were!&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 11:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296752#M501528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T11:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Async call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296753#M501529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, that it works!&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 12:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-async-call/m-p/2296753#M501529</guid>
      <dc:creator>Peter_Inotai</dc:creator>
      <dc:date>2007-05-14T12:26:35Z</dc:date>
    </item>
  </channel>
</rss>

