<?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: Error while using BAPI_GOODSMVT_CREATE wiht movement type 311. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-goodsmvt-create-wiht-movement-type-311/m-p/7622216#M1570382</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 dont see item number is entered in your code. Also is the data appended to internal table from the headerline GOODSMVT_ITEM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 06:16:39 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2011-02-23T06:16:39Z</dc:date>
    <item>
      <title>Error while using BAPI_GOODSMVT_CREATE wiht movement type 311.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-goodsmvt-create-wiht-movement-type-311/m-p/7622215#M1570381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am geting error msg, while using BAPI_GOODSMVT_CREATE wiht movement type 311.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error msg is " For reservation 0000443815 0000, no movements can be posted".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF I_ZMM_S_MBIB_LOT[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;*moving posting date and document date  to header&lt;/P&gt;&lt;P&gt;    GOODSMVT_HEADER-PSTNG_DATE = ZMM_S_MBIB_311-BUDAT.&lt;/P&gt;&lt;P&gt;    GOODSMVT_HEADER-DOC_DATE   =  ZMM_S_MBIB_311-BUDAT.&lt;/P&gt;&lt;P&gt;    LOOP AT I_ZMM_S_MBIB_LOT WHERE MENGE NE '0'.&lt;/P&gt;&lt;P&gt;      IF I_ZMM_S_MBIB_LOT-IND = 'X'.&lt;/P&gt;&lt;P&gt;*moving material and plant ,stge_loc,qty and movement type  to header&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-MATERIAL       = I_ZMM_S_MBIB_LOT-MATNR.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-PLANT          = I_ZMM_S_MBIB_LOT-WERKS.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-BATCH          =  I_ZMM_S_MBIB_LOT-CHARG.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-STGE_LOC       = I_ZMM_S_MBIB_LOT-SLGORT.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-MOVE_TYPE      = '311'.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-ENTRY_QNT      = I_ZMM_S_MBIB_LOT-MENGE.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-ENTRY_UOM      = I_ZMM_S_MBIB_LOT-MEINS.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-MOVE_MAT       = I_ZMM_S_MBIB_LOT-MATNR.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-MOVE_PLANT     = I_ZMM_S_MBIB_LOT-RWERKS.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-MOVE_BATCH     = I_ZMM_S_MBIB_LOT-UMCHA.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-MOVE_STLOC     = I_ZMM_S_MBIB_LOT-UMLGO.&lt;/P&gt;&lt;P&gt;        GOODSMVT_ITEM-RESERV_NO      = I_ZMM_S_MBIB_LOT-RSNUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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               = GOODSMVT_HEADER&lt;/P&gt;&lt;P&gt;          GOODSMVT_CODE                 = '04'&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      GOODSMVT_HEADRET              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          MATERIALDOCUMENT              = MATERIALDOCUMENT&lt;/P&gt;&lt;P&gt;          MATDOCUMENTYEAR               = MATDOCUMENTYEAR&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          GOODSMVT_ITEM                 = 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                        = 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;    ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: duplicate post locked.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Feb 23, 2011 11:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 05:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-goodsmvt-create-wiht-movement-type-311/m-p/7622215#M1570381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-23T05:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using BAPI_GOODSMVT_CREATE wiht movement type 311.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-goodsmvt-create-wiht-movement-type-311/m-p/7622216#M1570382</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 dont see item number is entered in your code. Also is the data appended to internal table from the headerline GOODSMVT_ITEM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 06:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-goodsmvt-create-wiht-movement-type-311/m-p/7622216#M1570382</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2011-02-23T06:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using BAPI_GOODSMVT_CREATE wiht movement type 311.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-goodsmvt-create-wiht-movement-type-311/m-p/7622217#M1570383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Pass the Item Number of Reservation to GOODSMVT_ITEM-RES_ITEM .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;DKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 06:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-goodsmvt-create-wiht-movement-type-311/m-p/7622217#M1570383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-23T06:27:03Z</dc:date>
    </item>
  </channel>
</rss>

