<?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/1894104#M373837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds strange, because I checked MCH1 and was there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I asked the consultant for another material to test. I start to think there is nothing wrong with the way I'm using the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2007 16:43:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-31T16:43:45Z</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/1894102#M373835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a BAPI_GOODSMVT_CREATE and I got the following error in RETURN[]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Batch 85000007 RN02 3000 0000002024 does not exist"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR ITAB_ITEM_BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Itens&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  MOVE V_MATERIAL TO ITAB_ITEM_BAPI-material.   "85000007      &lt;/P&gt;&lt;P&gt;  MOVE V_WERKS TO ITAB_ITEM_BAPI-plant.           "RN02              &lt;/P&gt;&lt;P&gt;  MOVE V_DEP TO ITAB_ITEM_BAPI-stge_loc.           "3000&lt;/P&gt;&lt;P&gt;  MOVE CN_TIPO_MOV TO ITAB_ITEM_BAPI-move_type.  "261      &lt;/P&gt;&lt;P&gt;  MOVE V_PESO TO ITAB_ITEM_BAPI-entry_qnt.            &lt;/P&gt;&lt;P&gt;  MOVE P_AUFNR TO ITAB_ITEM_BAPI-orderid.           &lt;/P&gt;&lt;P&gt;  MOVE V_LOTE TO itab_item_bapi-batch.          "0000002024        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Translate itab_item_bapi-entry_uom to the logon language&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM BUSCA_UNIDADE_MEDIDA USING 'TN'&lt;/P&gt;&lt;P&gt;                              CHANGING itab_item_bapi-entry_uom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND ITAB_ITEM_BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONSTANTS: cl_gm_code TYPE bapi2017_gm_code VALUE '03'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  t_goodsmvt_header-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;  t_goodsmvt_header-doc_date = sy-datum.&lt;/P&gt;&lt;P&gt;  t_goodsmvt_header-pr_uname = sy-uname.&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  = t_goodsmvt_header&lt;/P&gt;&lt;P&gt;      goodsmvt_code    = cl_gm_code&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      materialdocument = vl_doc_material&lt;/P&gt;&lt;P&gt;      matdocumentyear  = vl_doc_ano&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      goodsmvt_item    = itab_item_bapi&lt;/P&gt;&lt;P&gt;      return           = t_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is error is happening just for one material. Most of materials I tried it worked fine!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Did anyone have the same problem or know how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 16:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/1894102#M373835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T16:32:41Z</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/1894103#M373836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raphael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check &amp;lt;b&amp;gt;MCH1&amp;lt;/b&amp;gt; table whether &amp;lt;b&amp;gt;Batch&amp;lt;/b&amp;gt; exist against that &amp;lt;b&amp;gt;material&amp;lt;/b&amp;gt; or not . &lt;/P&gt;&lt;P&gt;&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;Balavardhan.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 14:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/1894103#M373836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T14:49: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/1894104#M373837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds strange, because I checked MCH1 and was there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I asked the consultant for another material to test. I start to think there is nothing wrong with the way I'm using the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 16:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/1894104#M373837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T16:43:45Z</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/1894105#M373838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raphael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check &amp;lt;b&amp;gt;MCHB&amp;lt;/b&amp;gt; table , pass &amp;lt;b&amp;gt;Material, Plant, Storage Location and Batch.&amp;lt;/b&amp;gt; and see whether entry is there or not.&lt;/P&gt;&lt;P&gt;&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;Balavardhan.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 05:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/1894105#M373838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T05:45:22Z</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/1894106#M373839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You right Raphael. The code writen is perfectly fine. The problem is in data maintained. It is the Functional persons issue!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 05:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/1894106#M373839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T05:48:59Z</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/1894107#M373840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually it was a problem with the material. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With another one it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 13:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error/m-p/1894107#M373840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T13:18:31Z</dc:date>
    </item>
  </channel>
</rss>

