<?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 SImulation for MIGO using BAPI_GOODSMVT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simulation-for-migo-using-bapi-goodsmvt-create/m-p/3339039#M800464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am using bapi BAPI_GOODSMVT_CREATE for posting GR for inbound deliveries.&lt;/P&gt;&lt;P&gt;I am trying to simulate transaction "migo" for Good receipts and inbound deliveries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to create a Goods Receipt against an Inbound Delivery ( movement type "101" ) using the BAPI BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In online the user is using MIGO transaction for the same. There he will choose the GOODS RECEIPT for INBOUND DELIVERY and enters the delivery number. The movement type "101" is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GM code, i am using is  01. Please let me know  required fields to be passed for the above scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through the example program in the link... &lt;/P&gt;&lt;P&gt;&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;but unable to find how to use this BAPI for simulating MIGO transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide possible solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 12:24:14 GMT</pubDate>
    <dc:creator>vivek_sharma7</dc:creator>
    <dc:date>2008-01-30T12:24:14Z</dc:date>
    <item>
      <title>SImulation for MIGO using BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simulation-for-migo-using-bapi-goodsmvt-create/m-p/3339039#M800464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am using bapi BAPI_GOODSMVT_CREATE for posting GR for inbound deliveries.&lt;/P&gt;&lt;P&gt;I am trying to simulate transaction "migo" for Good receipts and inbound deliveries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to create a Goods Receipt against an Inbound Delivery ( movement type "101" ) using the BAPI BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In online the user is using MIGO transaction for the same. There he will choose the GOODS RECEIPT for INBOUND DELIVERY and enters the delivery number. The movement type "101" is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GM code, i am using is  01. Please let me know  required fields to be passed for the above scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through the example program in the link... &lt;/P&gt;&lt;P&gt;&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;but unable to find how to use this BAPI for simulating MIGO transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide possible solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 12:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simulation-for-migo-using-bapi-goodsmvt-create/m-p/3339039#M800464</guid>
      <dc:creator>vivek_sharma7</dc:creator>
      <dc:date>2008-01-30T12:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: SImulation for MIGO using BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simulation-for-migo-using-bapi-goodsmvt-create/m-p/3339040#M800465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;REPORT ZRICH_0001 .&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;Structures for BAPI &lt;/P&gt;&lt;P&gt;DATA: GM_HEADER TYPE BAPI2017_GM_HEAD_01.&lt;/P&gt;&lt;P&gt;DATA: GM_CODE TYPE BAPI2017_GM_CODE.&lt;/P&gt;&lt;P&gt;DATA: GM_HEADRET TYPE BAPI2017_GM_HEAD_RET.&lt;/P&gt;&lt;P&gt;DATA: GM_ITEM TYPE TABLE OF&lt;/P&gt;&lt;P&gt;BAPI2017_GM_ITEM_CREATE WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: GM_RETURN TYPE BAPIRET2 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: GM_RETMTD TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setup BAPI header data. &lt;/P&gt;&lt;P&gt;GM_HEADER-PSTNG_DATE = SY-DATUM.&lt;/P&gt;&lt;P&gt;GM_HEADER-DOC_DATE = SY-DATUM.&lt;/P&gt;&lt;P&gt;GM_CODE-GM_CODE = '04'. " MB1A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write 971 movement to table &lt;/P&gt;&lt;P&gt;CLEAR GM_ITEM.&lt;/P&gt;&lt;P&gt;MOVE '412' TO GM_ITEM-MOVE_TYPE .&lt;/P&gt;&lt;P&gt;MOVE 'Q' TO GM_ITEM-SPEC_STOCK.&lt;/P&gt;&lt;P&gt;MOVE '3800533484' TO GM_ITEM-MATERIAL.&lt;/P&gt;&lt;P&gt;MOVE '1' TO GM_ITEM-ENTRY_QNT.&lt;/P&gt;&lt;P&gt;*MOVE 'PC' TO GM_ITEM-ENTRY_UOM.&lt;/P&gt;&lt;P&gt;MOVE '1060' TO GM_ITEM-PLANT.&lt;/P&gt;&lt;P&gt;MOVE '0007' TO GM_ITEM-STGE_LOC.&lt;/P&gt;&lt;P&gt;*MOVE '0901' TO GM_ITEM-MOVE_REAS.&lt;/P&gt;&lt;P&gt;MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.&lt;/P&gt;&lt;P&gt;MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND GM_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call goods movement BAPI &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 = GM_HEADER&lt;/P&gt;&lt;P&gt;GOODSMVT_CODE = GM_CODE&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;GOODSMVT_HEADRET = GM_HEADRET&lt;/P&gt;&lt;P&gt;MATERIALDOCUMENT = GM_RETMTD&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;GOODSMVT_ITEM = GM_ITEM&lt;/P&gt;&lt;P&gt;RETURN = GM_RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT GM_RETMTD IS INITIAL.&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE_ALL'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE_ALL'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ GM_RETMTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT GM_RETURN.&lt;/P&gt;&lt;P&gt;WRITE:/ GM_RETURN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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, 30 Jan 2008 13:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simulation-for-migo-using-bapi-goodsmvt-create/m-p/3339040#M800465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: SImulation for MIGO using BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simulation-for-migo-using-bapi-goodsmvt-create/m-p/3339041#M800466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am closing the thread as we dont need this requirement to be implemented.&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 12:21:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simulation-for-migo-using-bapi-goodsmvt-create/m-p/3339041#M800466</guid>
      <dc:creator>vivek_sharma7</dc:creator>
      <dc:date>2008-08-05T12:21:56Z</dc:date>
    </item>
  </channel>
</rss>

