<?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: issue with BAPI_GOODSMVT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404266#M195285</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 your BAPI call...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if not it_return[] is initial.

loop at it_return where TYPE = 'S'.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

endloop.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2006 13:35:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-10T13:35:32Z</dc:date>
    <item>
      <title>issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404261#M195280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using BAPI_GOODSMVT_CREATE to post goods receipt. I donot have PO number but the inbound delivery number.So I am filling the data as below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOODSMVT_HEADER &lt;/P&gt;&lt;P&gt; PSTNG_DATE=sy-datum or current date &lt;/P&gt;&lt;P&gt; DOC_DATE=LIKP-LFDAT &lt;/P&gt;&lt;P&gt; REF_DOC_NO=LIPS-VGBEL &lt;/P&gt;&lt;P&gt;GOODSMVT_CODE &lt;/P&gt;&lt;P&gt; GM_CODE= '01' &lt;/P&gt;&lt;P&gt;GOODSMVT_ITEM &lt;/P&gt;&lt;P&gt; MATERIAL=LIPS-MATNR &lt;/P&gt;&lt;P&gt; PLANT=LIPS-WERKS &lt;/P&gt;&lt;P&gt; STGE_LOC=LIPS-LGORT &lt;/P&gt;&lt;P&gt; DELIV_NUMB_TO_SEARCH=LIKP-VBELN &lt;/P&gt;&lt;P&gt; DELIV_ITEM_TO_SEARCH=LIPS-POSNR &lt;/P&gt;&lt;P&gt; ENTRY_UOM=LIPS-VRKME &lt;/P&gt;&lt;P&gt; ENTRY_QNT= LIPS-LFIMG &lt;/P&gt;&lt;P&gt; MVT_IND = 'B' &lt;/P&gt;&lt;P&gt; MOVE_TYPE = '101' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI runs fine and returns the material document number. But when u check the inbound delivery in transaction vl33n, under the tab "Goods Movement Data" field TotalGdsMvtStat is not updated to 'B' or 'C'.it either remains blank or 'A". Am i missing out on something? plz help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Shweta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 13:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404261#M195280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T13:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404262#M195281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you calling the BAPI, BAPI_TRANSACTION_COMMIT after the goods movement BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 13:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404262#M195281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404263#M195282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the BAPI Run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have u used COMMIT WORK AND WAIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgeards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 13:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404263#M195282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T13:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404264#M195283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you given BAPI_COMMIT after the func module call ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not,give it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 13:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404264#M195283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404265#M195284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i m calling bapi_transaction_commit and thats why i can view the material doc no in transaction MB03.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 13:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404265#M195284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404266#M195285</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 your BAPI call...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if not it_return[] is initial.

loop at it_return where TYPE = 'S'.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

endloop.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 13:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404266#M195285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404267#M195286</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;Then U check for the where used list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can find a list of program where this BAPI is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be ur developers used this BAPI which is similar to ur requirement. From that do the same in ur report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful fro u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgeards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 14:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404267#M195286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T14:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404268#M195287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Document flow is not update using BAPI_GOODSMVT_CREATE and that is why you will not see that reflected on the delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try a couple of things. Pass the delivery and item number to DELIV_NUMB and DELIV_ITEM fields also. Another thing to check is to get the PO and PO item numbers from LIPS-VGBEL and LIPS-VGPOS. Pass that to the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 18:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404268#M195287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T18:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404269#M195288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for confirming that document flow status is not updated by this BAPI. I tried sending the PO number and item but it didnt help.When i am filling DELIV_NUMB and DELIV_ITEM fields with del no  &amp;amp; item no. the FM MB_POST_GOODS_MOVEMENT is throwing a error of type X, message class VL and message no 143.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you suggest me some other function module to do a GR against an inbound delivery..I dont want to use a BDC to do this posting.Is there a FM to update doc flow status which i can call after calling this BAPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 08:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404269#M195288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T08:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: issue with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404270#M195289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to resolve this. I have the same issue. Please let me know how you handled this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 17:39:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-goodsmvt-create/m-p/1404270#M195289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T17:39:42Z</dc:date>
    </item>
  </channel>
</rss>

