<?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 -- MB31 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060668#M724968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kiran Sure,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   I was auctually follow the reference code to develop, but i've still got the problem and that's why i'm trying to raise my problem here. Thanks for your help anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2007 06:24:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-30T06:24:34Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE -- MB31</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060666#M724966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Expert, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to use BAPI_GOODSMVT_CREATE function to handle the mass GR for production order. Pls help the following problem regarding about "BAPI_GOODSMVT_CREATE". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I've used for some parameters, and pls navigate me if I had done a mistake. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gmcode-gm_code = '02'. "02 - MB31 - Goods Receipts for Prod Order &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at pcitab. &lt;/P&gt;&lt;P&gt;itab-move_type = pcitab-mvt_type. &lt;/P&gt;&lt;P&gt;itab-mvt_ind = 'F'. &lt;/P&gt;&lt;P&gt;itab-plant = pcitab-plant. &lt;/P&gt;&lt;P&gt;itab-orderid = pcitab-prod_doc. &lt;/P&gt;&lt;P&gt;itab-entry_qnt = pcitab-qty. &lt;/P&gt;&lt;P&gt;itab-move_batch = pcitab-batch. &lt;/P&gt;&lt;P&gt;itab-move_stloc = pcitab-stge_loc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab. &lt;/P&gt;&lt;P&gt;endloop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_GOODSMVT_CREATE' &lt;/P&gt;&lt;P&gt;exporting &lt;/P&gt;&lt;P&gt;goodsmvt_header = gmhead &lt;/P&gt;&lt;P&gt;goodsmvt_code = gmcode &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TESTRUN = ' ' &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;goodsmvt_headret = mthead &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MATERIALDOCUMENT = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MATDOCUMENTYEAR = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;tables &lt;/P&gt;&lt;P&gt;goodsmvt_item = itab &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;GOODSMVT_SERIALNUMBER = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;return = errmsg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above parameters, I've got the following message: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in function &lt;/P&gt;&lt;P&gt;Order 100000841 not found or not permitted for goods movement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One the other hand, I'd used the same data to simulate MB31 transaction and it was OK and return a material doc. number. Pls tell me what wrong with my code. With many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 06:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060666#M724966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T06:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE -- MB31</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060667#M724967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at this links for sample coding of BAPI_GOODSMVT_CREATE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.4ap.de/abap/bapi_goodsmvt_create.php" target="test_blank"&gt;http://www.4ap.de/abap/bapi_goodsmvt_create.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 06:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060667#M724967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T06:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE -- MB31</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060668#M724968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kiran Sure,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   I was auctually follow the reference code to develop, but i've still got the problem and that's why i'm trying to raise my problem here. Thanks for your help anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 06:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060668#M724968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T06:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE -- MB31</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060669#M724969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried another test for the BAPI_GOODSMVT_CREATE function itself. I passed the same parameters into the function, and I got it pass and returned a material doc. It really made me more confuse on that. Pls help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 10:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb31/m-p/3060669#M724969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T10:00:16Z</dc:date>
    </item>
  </channel>
</rss>

