<?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 M7 036 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788982#M39879</link>
    <description>&lt;P&gt;From where come the input data, usually when the process is correct with SE37 and not in a program, you got a wrong formatting of data (SE37 test screen will convert input data from external format to correct internal format, when your program will execute a simple move, not always converting data) could you check in debug mode?&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 09:04:01 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2019-02-18T09:04:01Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE Error M7 036</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788978#M39875</link>
      <description>&lt;H1&gt;BAPI_GOODSMV M7 T_CREATE Error M7 036&lt;/H1&gt;
  &lt;P&gt;Hi, I didn´t found any solution with this problem, even with search function and in google ;).&lt;/P&gt;
  &lt;P&gt;I am using BAPI BAPI_GOODSMVT_CREATE for posting GR on PO and I always get the error: can´t post GR for purchasing order 5012134.&lt;/P&gt;
  &lt;P&gt;If I execute the BAPI with transaction SE37 it works. And if I GR with MB01 it also works but in program it doesn't.&lt;/P&gt;
  &lt;P&gt;Here is the code:&lt;/P&gt;
  &lt;P&gt;data:&lt;/P&gt;
  &lt;P&gt;L_HEAD LIKE BAPI2017_GM_HEAD_01,&lt;/P&gt;
  &lt;P&gt;L_CODE LIKE BAPI2017_GM_CODE,&lt;/P&gt;
  &lt;P&gt;L_TESTRUN LIKE BAPI2017_GM_GEN-TESTRUN,&lt;/P&gt;
  &lt;P&gt;L_MBLNR TYPE BAPI2017_GM_HEAD_RET-MAT_DOC,&lt;/P&gt;
  &lt;P&gt;L_MJAHR TYPE BAPI2017_GM_HEAD_RET-DOC_YEAR,&lt;/P&gt;
  &lt;P&gt;LT_ITEM TYPE TABLE OF BAPI2017_GM_ITEM_CREATE,&lt;/P&gt;
  &lt;P&gt;wa_item like line of LT_ITEM,&lt;/P&gt;
  &lt;P&gt;LT_RETURN TYPE TABLE OF BAPIRET2.&lt;/P&gt;
  &lt;P&gt;L_HEAD-PSTNG_DATE = sy-datum.&lt;/P&gt;
  &lt;P&gt;L_HEAD-DOC_DATE = sy-datum.&lt;/P&gt;
  &lt;P&gt;L_CODE-GM_CODE = '01'.&lt;/P&gt;
  &lt;P&gt;loop at itab.&lt;/P&gt;
  &lt;P&gt;wa_item-material = itab-matnr.&lt;/P&gt;
  &lt;P&gt;wa_item-plant = itab-werks.&lt;/P&gt;
  &lt;P&gt;wa_item-stge_loc = itab-lgort.&lt;/P&gt;
  &lt;P&gt;wa_item-move_type = '101'.&lt;/P&gt;
  &lt;P&gt;wa_item-po_number = itab-ebeln.&lt;/P&gt;
  &lt;P&gt;wa_item-po_item = itab-posnr.&lt;/P&gt;
  &lt;P&gt;wa_ITEM-MVT_IND = 'B'.&lt;/P&gt;
  &lt;P&gt;wa_ITEM-ENTRY_QNT = itab-MENGE.&lt;/P&gt;
  &lt;P&gt;append wa_item to lt_item.&lt;/P&gt;
  &lt;P&gt;endloop.&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_HEAD&lt;/P&gt;
  &lt;P&gt;GOODSMVT_CODE = L_CODE&lt;/P&gt;
  &lt;P&gt;TABLES&lt;/P&gt;
  &lt;P&gt;GOODSMVT_ITEM = LT_ITEM&lt;/P&gt;
  &lt;P&gt;RETURN = LT_RETURN.&lt;/P&gt;
  &lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 09:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788978#M39875</guid>
      <dc:creator>rohit_dutta2</dc:creator>
      <dc:date>2019-02-16T09:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Error M7 036</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788979#M39876</link>
      <description>&lt;P&gt;If it works with SE37, but not in your program, provided that you run them in the exact same context, don't you think you can find the issue by yourself by carefully comparing the parameters received by BAPI_GOODSMVT_CREATE via the debugger in both cases?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 10:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788979#M39876</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-02-16T10:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Error M7 036</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788980#M39877</link>
      <description>&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;I am passing exactly same content in both the cases. and i have debugged, there one structure is not filling (i.e xebefu). I will try one more time from my side.&lt;/P&gt;&lt;P&gt;i just want to add one more information, program and function module both are working fine in development system, and TR successfully moved to quality. So, in quality system i am facing this issue. do you think, this is something relate to configuration ? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 10:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788980#M39877</guid>
      <dc:creator>rohit_dutta2</dc:creator>
      <dc:date>2019-02-16T10:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Error M7 036</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788981#M39878</link>
      <description>&lt;P&gt;So, in fact, I understand that in the quality system, if you test via SE37 with the same parameters as those in your program, you'd also get the M7036 error. It would also happen with transaction code MB01, so ask the functional guys to investigate why there is this error.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 13:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788981#M39878</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-02-16T13:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Error M7 036</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788982#M39879</link>
      <description>&lt;P&gt;From where come the input data, usually when the process is correct with SE37 and not in a program, you got a wrong formatting of data (SE37 test screen will convert input data from external format to correct internal format, when your program will execute a simple move, not always converting data) could you check in debug mode?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 09:04:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788982#M39879</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-02-18T09:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Error M7 036</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788983#M39880</link>
      <description>&lt;P&gt;Have a look at OSS note 2736630&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 09:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788983#M39880</guid>
      <dc:creator>Lakshmipathi</dc:creator>
      <dc:date>2019-02-18T09:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE Error M7 036</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788984#M39881</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for all your help and sorry for the wrong information. Initially, I might have made some mistake, that is why FM and report were behaving differently. &lt;/P&gt;&lt;P&gt;Now, The FM and report both are giving the same error message( M7-036). This error message is coming because "GR-Bsd IV"(indicator of GR based invoice verification) checked box is checked.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohit &lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 18:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-error-m7-036/m-p/788984#M39881</guid>
      <dc:creator>rohit_dutta2</dc:creator>
      <dc:date>2019-02-21T18:25:50Z</dc:date>
    </item>
  </channel>
</rss>

