<?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 - Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284119#M1634129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure this is an error? It looks like an information (or possibly a warning) message to me. Have you checked the long text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the goods movement created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 15:11:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-27T15:11:08Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284118#M1634128</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;I'm working arround BAPI_GOODSMVT_CREATE to create a 122 Movement ( Return to Vendor )&lt;/P&gt;&lt;P&gt;I was reading arround, a lot of people couldn't do it, but some of them claimed that they could find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here goes my coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_goodsmvt_header TYPE bapi2017_gm_head_01.&lt;/P&gt;&lt;P&gt;DATA: lt_mseg TYPE STANDARD TABLE OF mseg.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: -lfimg.&lt;/P&gt;&lt;P&gt;  ls_goodsmvt_item-mvt_ind = 'B'.&lt;/P&gt;&lt;P&gt;  APPEND ls_goodsmvt_item TO lt_goodsmvt_item.&lt;/P&gt;&lt;P&gt;  CLEAR ls_goodsmvt_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               MATERIAL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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               = l_goodsmvt_header&lt;/P&gt;&lt;P&gt;    goodsmvt_code                 = l_good_mvt_code&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TESTRUN                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_REF_EWM              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   goodsmvt_headret              = l_goodsmvt_headret&lt;/P&gt;&lt;P&gt;   materialdocument              = l_materialdocument&lt;/P&gt;&lt;P&gt;   matdocumentyear               = l_matdocumentyear&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    goodsmvt_item                 = lt_goodsmvt_item&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                        = lt_return&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_SERV_PART_DATA       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONIN                   =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It goes referenced on the head to the mblnr that made the Outbound for the costumer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything is ok, but for the items it returns this error code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID - M7&lt;/P&gt;&lt;P&gt;MSG - 21&lt;/P&gt;&lt;P&gt;LO Livre utilização não atingido em 1,889 T : 101 321F 0006 4B6343411&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guess ?&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 14:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284118#M1634128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-27T14:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284119#M1634129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure this is an error? It looks like an information (or possibly a warning) message to me. Have you checked the long text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the goods movement created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 15:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284119#M1634129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-27T15:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284120#M1634130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Message 021(M7) is "Deficit of &amp;amp; &amp;amp; &amp;amp; &amp;amp;". Check if you have deficit of the Material.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 15:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284120#M1634130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-27T15:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284121#M1634131</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;Post the same data  though the corresponding t-code(MIGO).You could easily figure out the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aromal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 15:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284121#M1634131</guid>
      <dc:creator>aromalr</dc:creator>
      <dc:date>2011-10-27T15:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284122#M1634132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document is not created. Its actually an error, something about there is no stock.&lt;/P&gt;&lt;P&gt;I'm referencing the header to another material document ( the one that goes to the customer ).&lt;/P&gt;&lt;P&gt;But the items, are referenced to a Request ( I'm not quite shure about the term in english, the system is portuguese. Number 45343379 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the error is something about charg(field) that has no stock, but this is a customer return.&lt;/P&gt;&lt;P&gt;And it let's the first item go through, but the rest comes back with that error.&lt;/P&gt;&lt;P&gt;I can do it without any problem on the transaction (migo).&lt;/P&gt;&lt;P&gt;I keep on tracking, but I can't see anything wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 17:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284122#M1634132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-27T17:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284123#M1634133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suman, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But no, its a return to the vendor movement(122).&lt;/P&gt;&lt;P&gt;I can do it without any problem on the transaction migo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 17:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284123#M1634133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-27T17:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284124#M1634134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aromal, thanks for the help, but unfortunately yes, I can do it on migo without any problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 17:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284124#M1634134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-27T17:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284125#M1634135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got through the error from ID - M7 and MSG - 21. But then I got another error that is very odd ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been reading on other forum posts that some people had the same odd behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It accepts the first item, but the rest it says the Quantity in EM ( Goods Inbound in english i think ) is not fulfill in 1,927 ( Strange number as weel.).&lt;/P&gt;&lt;P&gt;I gave him 2 items, they are both the same material number, the diference is the CHARG and the LFIMG.&lt;/P&gt;&lt;P&gt;Is it something about the same material ? Cause if i gave him one at each time, it does not have any problem .. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 09:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/8284125#M1634135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-28T09:20:19Z</dc:date>
    </item>
  </channel>
</rss>

