<?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 BDC -MIGO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619987#M601590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a requirment i need to create a bdc for  the transcation migo&lt;/P&gt;&lt;P&gt;All i need to do is go in and select a po that has already been created  and tick  all the line items ok and then   save so that the GR gets created .&lt;/P&gt;&lt;P&gt;When i record the transaction in shdb it also extracts the values that are in the line items  when the po is selected  eg the quantity etc &lt;/P&gt;&lt;P&gt;Will i need to pass all the values in thru again thru the bdc or can i only go and select the sequence of ticking and only pass those values .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 04:52:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-30T04:52:51Z</dc:date>
    <item>
      <title>BDC -MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619987#M601590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a requirment i need to create a bdc for  the transcation migo&lt;/P&gt;&lt;P&gt;All i need to do is go in and select a po that has already been created  and tick  all the line items ok and then   save so that the GR gets created .&lt;/P&gt;&lt;P&gt;When i record the transaction in shdb it also extracts the values that are in the line items  when the po is selected  eg the quantity etc &lt;/P&gt;&lt;P&gt;Will i need to pass all the values in thru again thru the bdc or can i only go and select the sequence of ticking and only pass those values .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 04:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619987#M601590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T04:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: BDC -MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619988#M601591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer this site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="344399"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="471058"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 05:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619988#M601591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T05:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: BDC -MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619989#M601592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of writing BDC for MIGO use BAPI - BAPI_GOODSMVT_CREATE .&lt;/P&gt;&lt;P&gt;Refer link for sample -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2960545"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 05:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619989#M601592</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-07-30T05:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: BDC -MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619990#M601593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   You are not supposed to use BDC for MIGO. Please see OSS Note #381630. Look for a BAPI instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You really don't want to do a BDC over the MIGO transaction. Reason for this is because MIGO uses a lot of frontend gui controls. You should use MB11 or the BAPI BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: return, retmatdoc. refresh return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Setup BAPI header data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;gdsmt_header-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;gdsmt_header-doc_date = sy-datum.&lt;/P&gt;&lt;P&gt;gdsmt_code-gm_code = '06'. " MB11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write 262 movement to table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;clear gdsmt_item.&lt;/P&gt;&lt;P&gt;move '262' to gdsmt_item-move_type .&lt;/P&gt;&lt;P&gt;move i_resb-matnr to gdsmt_item-material.&lt;/P&gt;&lt;P&gt;move p_bdmng to gdsmt_item-entry_qnt.&lt;/P&gt;&lt;P&gt;move i_resb-meins to gdsmt_item-entry_uom.&lt;/P&gt;&lt;P&gt;move i_resb-werks to gdsmt_item-plant.&lt;/P&gt;&lt;P&gt;move i_resb-lgort to gdsmt_item-stge_loc.&lt;/P&gt;&lt;P&gt;move i_afko-aufnr to gdsmt_item-orderid.&lt;/P&gt;&lt;P&gt;append gdsmt_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write 551 movement to table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;clear gdsmt_item.&lt;/P&gt;&lt;P&gt;move '551' to gdsmt_item-move_type .&lt;/P&gt;&lt;P&gt;move i_resb-matnr to gdsmt_item-material.&lt;/P&gt;&lt;P&gt;move p_bdmng to gdsmt_item-entry_qnt.&lt;/P&gt;&lt;P&gt;move i_resb-meins to gdsmt_item-entry_uom.&lt;/P&gt;&lt;P&gt;move i_resb-werks to gdsmt_item-plant.&lt;/P&gt;&lt;P&gt;move i_resb-lgort to gdsmt_item-stge_loc.&lt;/P&gt;&lt;P&gt;move p_grund to gdsmt_item-move_reas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Determine cost center per plant&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if i_resb-werks = '0004'.&lt;/P&gt;&lt;P&gt;move '0000041430' to gdsmt_item-costcenter.&lt;/P&gt;&lt;P&gt;elseif i_resb-werks = '0006'.&lt;/P&gt;&lt;P&gt;move '0000041630' to gdsmt_item-costcenter.&lt;/P&gt;&lt;P&gt;elseif i_resb-werks = '0007'.&lt;/P&gt;&lt;P&gt;move '0000041730' to gdsmt_item-costcenter.&lt;/P&gt;&lt;P&gt;elseif i_resb-werks = '0008'.&lt;/P&gt;&lt;P&gt;move '0000041830' to gdsmt_item-costcenter.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append gdsmt_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call goods movement BAPI&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'BAPI_GOODSMVT_CREATE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;goodsmvt_header = gdsmt_header&lt;/P&gt;&lt;P&gt;goodsmvt_code = gdsmt_code&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;goodsmvt_headret = gdsmt_headret&lt;/P&gt;&lt;P&gt;materialdocument = retmatdoc&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;goodsmvt_item = gdsmt_item&lt;/P&gt;&lt;P&gt;return = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not retmatdoc is initial.&lt;/P&gt;&lt;P&gt;wait up to 5 seconds.&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;message i013.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 07:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-migo/m-p/2619990#M601593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T07:16:14Z</dc:date>
    </item>
  </channel>
</rss>

