<?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 posting a document using  the  BAPI_GOODSMVT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759838#M1461522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when this happened to us, it was becuase we did not properly assign the item number to both the item and serial number entries. When the posting was attempted, the seril lnumber in the table was then not associated with the correct item and the message occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Break point the function module, and check the item number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 13:20:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-14T13:20:02Z</dc:date>
    <item>
      <title>Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759837#M1461521</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 was trying to post the Goods Receipt document ( Tcode MB1C) using the bapi  &lt;STRONG&gt;BAPI_GOODSMVT_CREATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am passing the item details and Serial number details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error triggered was &lt;STRONG&gt;Maintain Serial Numbers for Total Quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i am passing the quantity as 1 ( in item data) and passing one serial number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this error because of data problem or am i missing to pass the value to  some dependent parameter..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 12:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759837#M1461521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T12:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759838#M1461522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when this happened to us, it was becuase we did not properly assign the item number to both the item and serial number entries. When the posting was attempted, the seril lnumber in the table was then not associated with the correct item and the message occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Break point the function module, and check the item number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 13:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759838#M1461522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T13:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759839#M1461523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was tring to pass the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in item table we have we have four item details ( below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RES_ITEM&lt;/STRONG&gt; - Item Number of Reservation/Dependent Requirement&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDER_ITNO&lt;/STRONG&gt; - Order Item Number&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S_ORD_ITEM&lt;/STRONG&gt; - Item Number in Sales Order ( length mismatch with serial  item number)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PO_ITEM&lt;/STRONG&gt;  - Item Number of Purchasing Document ( length mismatch with serial  item number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;out 4 , 2 are ruled out because of length mismatch. and in the reaming two are &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RES_ITEM&lt;/STRONG&gt; - Item Number of Reservation/Dependent Requirement&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDER_ITNO&lt;/STRONG&gt; - Order Item Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a Goods receipt document, please let me know which field is required to map with item number in the above two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 13:28:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759839#M1461523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759840#M1461524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have checked my code, and it is none of these fields. it is the line number within the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, if you have 4 items, and the item with the serial number is in the internal table of items at position 3 (sy-tabix = 3), then the item number field in the serial number table is 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 14:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759840#M1461524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T14:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759841#M1461525</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;You need to send the ORDERID as well as ORDER_ITNO. If you are receivin against Reservations, you need to send the Reservation ID too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, are you sending the correct Movement Type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wenonah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 14:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759841#M1461525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T14:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759842#M1461526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaques ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using the correct movement type (561) and i am able to create manually .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is for Good Receipt , so i think i dont need to pass the order number and order id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 14:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759842#M1461526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759843#M1461527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide me the code which you have used..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 14:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759843#M1461527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T14:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759844#M1461528</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;If you are doing a receipt against an Order and sending the ORDER_ITNO, then you need to send the corresponding ORDERID too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wenonah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 15:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759844#M1461528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759845#M1461529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can, kind of... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: itemcount type i.

clear itemcount
* build the items table 
loop at something.
    add 1 to itemcount
    build item table values
    append to item table
    serial_table-matdoc_itm = itemcount.
    serial_table-serialno = wserial.
    append serial_table
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;essentially, you keep track of which tabix you are loading into the item table, and put that tabix into the serial number table. as tge matdoc_itm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry i could not be more specific. our code is embedded in a huge XML handler, and not easy to pull out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Knittle on Apr 14, 2010 11:12 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Knittle on Apr 14, 2010 11:16 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 15:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759845#M1461529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T15:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while posting a document using  the  BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759846#M1461530</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;Pass following data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOODSMVT_HEADER: PSTNG_DATE, DOC_DATE&lt;/P&gt;&lt;P&gt;GOODSMVT_CODE = '05'&lt;/P&gt;&lt;P&gt;TESTRUN= ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOODSMVT_ITEM&lt;/P&gt;&lt;P&gt;Material  :&lt;/P&gt;&lt;P&gt;Plant :&lt;/P&gt;&lt;P&gt;Stge_loc : (Storage Location)&lt;/P&gt;&lt;P&gt;moVE_type = 561&lt;/P&gt;&lt;P&gt;entry_qnt = (Quantity)&lt;/P&gt;&lt;P&gt;entry_uom = (uom)&lt;/P&gt;&lt;P&gt;entry_uom_iso = (uom)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI Worked with these parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 04:59:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-posting-a-document-using-the-bapi-goodsmvt-create/m-p/6759846#M1461530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-15T04:59:24Z</dc:date>
    </item>
  </channel>
</rss>

