<?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>Question Re: Update control error - BAPI_GOODSMVT_CREATE in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251522#M533732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On your item(BAPI2017_GM_ITEM_CREATE) data did you pass 'B' to MVT_IND field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2006 16:27:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-21T16:27:02Z</dc:date>
    <item>
      <title>Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaq-p/1251516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;while trying to post a GR using BAPI_GOODSMVT_CREATE, i am getting an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E M7 226 Update control of movement type is incorrect (entry 101 X X)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone let me know why and whts the solution to post the GR using this bapi.&lt;/P&gt;&lt;P&gt;thanks a ton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 15:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaq-p/1251516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T15:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251517#M533727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at this link for sample code.&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;/P&gt;&lt;P&gt;The error is related to &amp;lt;b&amp;gt;Incorrect Movement Type&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;You can try this FM &amp;lt;b&amp;gt;MB_CONTROL_MOVETYPE_GET_SINGLE&amp;lt;/b&amp;gt; for testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 15:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251517#M533727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T15:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251518#M533728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this sample code for BAPI.&lt;/P&gt;&lt;P&gt;See if you are passing every informatino accordingly -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code for BAPI_GOODSMVT_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate header data&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Posting date&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;x_goodsmvt_hdr-pstng_date = &amp;lt;deldate&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Document date&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;x_goodsmvt_hdr-doc_date = &amp;lt;doc_date&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;User Name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;x_goodsmvt_hdr-pr_uname = &amp;lt;ernam&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;User Name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;x_goodsmvt_hdr-ref_doc_no = &amp;lt;PO/Delivery No).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Bill of lading&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;x_goodsmvt_hdr-bill_of_lading =&amp;lt;BOL&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate item data&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Purchase order number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-po_number = ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Line item number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-po_item = ebelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Plant&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-plant = werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Movement type&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-move_type =movtype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Movement indicator&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-mvt_ind = mvt_ind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;GR quantity&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if p_movtype = c_101.&lt;/P&gt;&lt;P&gt;i_goodsmvt_item-entry_qnt = menge.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;else.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;i_goodsmvt_item-entry_qnt = menge * -1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;GR UOM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-entry_uom = meins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Storage location&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-stge_loc = lgort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Production date&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-prod_date = doc_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Delivery completion indicator&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_goodsmvt_item-no_more_gr = c_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Movement Reason&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if p_movtype = c_122.&lt;/P&gt;&lt;P&gt;i_goodsmvt_item-move_reas = c_12.&lt;/P&gt;&lt;P&gt;endif.&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;For each PO create a GR document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if not i_goodsmvt_item[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'TRANSACTION_BEGIN'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;transaction_id = l_trans_id.&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 = x_goodsmvt_hdr&lt;/P&gt;&lt;P&gt;goodsmvt_code = x_mvt_code&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;materialdocument = l_mat_doc&lt;/P&gt;&lt;P&gt;matdocumentyear = l_mat_doc_year&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;goodsmvt_item = i_goodsmvt_item&lt;/P&gt;&lt;P&gt;return = i_bapireturn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 15:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251518#M533728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T15:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251519#M533729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The movement type which you are using might not be configured properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consult your funtional guy in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rajasekhar Dinavahi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 15:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251519#M533729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251520#M533730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks for the replies.&lt;/P&gt;&lt;P&gt;I am able to post GR using tcode MB01 with the same movement type (101). does this give more clues??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 16:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251520#M533730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T16:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251521#M533731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess somewhere some field values are not populated in parameters of BAPI. Populate same values in BAPI function which you have used in MB01 and try again.&lt;/P&gt;&lt;P&gt;Check once in debug mode. It will give clear idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 16:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251521#M533731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T16:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251522#M533732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On your item(BAPI2017_GM_ITEM_CREATE) data did you pass 'B' to MVT_IND field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 16:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251522#M533732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T16:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251523#M533733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK you all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESOLUTION : SOLVED -  THESE FIELDS NEED TO BE FILLED IN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSTNG_DATE                    DATE&lt;/P&gt;&lt;P&gt;DOC_DATE                      DATE&lt;/P&gt;&lt;P&gt;PR_UNAME                      CHARACTER       12&lt;/P&gt;&lt;P&gt;REF_DOC_NO                    CHARACTER       16&lt;/P&gt;&lt;P&gt;BILL_OF_LADING                CHARACTER       16&lt;/P&gt;&lt;P&gt;PO_NUMBER                      CHARACTER       10&lt;/P&gt;&lt;P&gt;PO_ITEM                        NUMC            5&lt;/P&gt;&lt;P&gt;PLANT                          CHARACTER       4&lt;/P&gt;&lt;P&gt;MOVE_TYPE                      CHARACTER       3&lt;/P&gt;&lt;P&gt;MVT_IND                        CHARACTER       1&lt;/P&gt;&lt;P&gt;ENTRY_QNT                      PACKED          7&lt;/P&gt;&lt;P&gt;ENTRY_UOM                      CHARACTER       3&lt;/P&gt;&lt;P&gt;STGE_LOC                       CHARACTER       4&lt;/P&gt;&lt;P&gt;PROD_DATE                      DAT&lt;/P&gt;&lt;P&gt;NO_MORE_GR                     CHARACTER       1&lt;/P&gt;&lt;P&gt;MOVE_REAS                      NUMC            4&lt;/P&gt;&lt;P&gt;*if not relavent to your case you can leave blank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 16:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251523#M533733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T16:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update control error - BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251524#M533734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. let me told you what was my problem and how i could resolved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was creating a good entry with the bapi BAPI_GOODSMVT_CREATE for a production order, and i could't leave for the error mesage M7 226 101 X X, the real problem was that i didn't input MVT_IND F in BAPI2017_GM_ITEM_CREATE. that was my error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 16:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-control-error-bapi-goodsmvt-create/qaa-p/1251524#M533734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-01T16:35:59Z</dc:date>
    </item>
  </channel>
</rss>

