<?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: Running BAPI_GOODSMVT_CREATE twice in a program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622212#M1088810</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;Did you call BAPI_TRANSACTION_COMMIT after the call of first BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2008 10:46:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-22T10:46:22Z</dc:date>
    <item>
      <title>Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622210#M1088808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I have to do material issue using BAPI_GOODSMVT_CREATE&lt;/P&gt;&lt;P&gt;once for Movement type 923 and 924 in the same program serially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I am trying to create a material  doc for 923 mvmt type and When I am trying to create the second material doc with mvmt type 924  ,It was showing an error like "Function module MB_CREATE_GOODS_MOVEMENT cannot be Executed"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried in a different way like first creating for 924 and then  923,it was able to create for the first one and it is again  faling for the second time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why it was failing?&lt;/P&gt;&lt;P&gt;Should we not use the same BAPI for two defferent materila movemtns in the same program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest the possible approach...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi Prasanna Gandham...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622210#M1088808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T10:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622211#M1088809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BAPI_TRANSACTION_COMMIT after calling first BAPI.&lt;/P&gt;&lt;P&gt;Wait for Commit to happen and then procceed .. You can use parameter WAIT = 'X' for this purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mohaiyuddin Soniwala on Oct 22, 2008 4:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622211#M1088809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622212#M1088810</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;Did you call BAPI_TRANSACTION_COMMIT after the call of first BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622212#M1088810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T10:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622213#M1088811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        wait = 'X'.&lt;/P&gt;&lt;P&gt;    WAIT UP TO 1 SECONDS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622213#M1088811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T10:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622214#M1088812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lakshmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the BAPI may lock the material master data. Please try to call the FM BAPI_TRANSACTION_COMMIT with the parameter "wait = 'X'" after each call of the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the problem&lt;/P&gt;&lt;P&gt;Uwe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grrr, was too slow &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:48:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622214#M1088812</guid>
      <dc:creator>UweFetzer_se38</dc:creator>
      <dc:date>2008-10-22T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622215#M1088813</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;Try to use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING wait = 'X'. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;after each call 'BAPI_GOODSMVT_CREATE'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622215#M1088813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T10:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622216#M1088814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am commiting the BAPI still it is runnig only for the first movement type only.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622216#M1088814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T10:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622217#M1088815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try increasing the wait time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAIT UP TO 8 SECONDS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 10:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622217#M1088815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T10:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622218#M1088816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have cleared all the tables before you call the BAPI the 2nd time (e.g. the RETURN table) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 11:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622218#M1088816</guid>
      <dc:creator>UweFetzer_se38</dc:creator>
      <dc:date>2008-10-22T11:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Running BAPI_GOODSMVT_CREATE twice in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622219#M1088817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is solved by running the BAPI in another program and calling the program each time ,&lt;/P&gt;&lt;P&gt;whenever the BAPI has to be executed....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 06:56:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-bapi-goodsmvt-create-twice-in-a-program/m-p/4622219#M1088817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T06:56:01Z</dc:date>
    </item>
  </channel>
</rss>

