<?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 Problems with BAPI_GOODSMVT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-goodsmvt-create/m-p/364487#M7906</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a development that must create a Goods Movement 301 to transfer stock between special stock 'Q' WBS Elements.
If you create the 301 manually by MIGO you can have a WBS supplier (goodsmvt_item-VAL_WBS_ELEM) and a WBS destiny (goodsmvt_item-WBS_ELEM) and MIGO creates the document perfect, in table MSEG you can see two records (one for the supplier and one for the destiny) the field TCODE = 'MIGO_TR', it´s the only value i see different
If you try to replicate this with BAPI BAPI_GOODSMVT_CREATE you dont have the value to create a MIGO_TR, instead you create  with TCODE 'MB1B' (value 04), you specify goodsmvt_item-VAL_WBS_ELEM and goodsmvt_item-WBS_ELEM, if i activate the MIGO Badi the tables IT_MSEG and IS_MKPF are filled with my values but when it finishes to create the document WBS_ELEM and VAL_WBS_ELEM are equal, so there's no transfer at all.
How can i create a transfer with TCODE 'MIGO_TR', it's the only field that changes besides the WBS values (When manually create from MIGO WBS_ELM and VAL_WBS_ELEM are the ones defined, when i create this from the bapi it copies VAL_WBS_ELEM to WBS_ELEM).&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 06:58:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-02-10T06:58:19Z</dc:date>
    <item>
      <title>Problems with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-goodsmvt-create/m-p/364487#M7906</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a development that must create a Goods Movement 301 to transfer stock between special stock 'Q' WBS Elements.
If you create the 301 manually by MIGO you can have a WBS supplier (goodsmvt_item-VAL_WBS_ELEM) and a WBS destiny (goodsmvt_item-WBS_ELEM) and MIGO creates the document perfect, in table MSEG you can see two records (one for the supplier and one for the destiny) the field TCODE = 'MIGO_TR', it´s the only value i see different
If you try to replicate this with BAPI BAPI_GOODSMVT_CREATE you dont have the value to create a MIGO_TR, instead you create  with TCODE 'MB1B' (value 04), you specify goodsmvt_item-VAL_WBS_ELEM and goodsmvt_item-WBS_ELEM, if i activate the MIGO Badi the tables IT_MSEG and IS_MKPF are filled with my values but when it finishes to create the document WBS_ELEM and VAL_WBS_ELEM are equal, so there's no transfer at all.
How can i create a transfer with TCODE 'MIGO_TR', it's the only field that changes besides the WBS values (When manually create from MIGO WBS_ELM and VAL_WBS_ELEM are the ones defined, when i create this from the bapi it copies VAL_WBS_ELEM to WBS_ELEM).&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 06:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-goodsmvt-create/m-p/364487#M7906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-10T06:58:19Z</dc:date>
    </item>
  </channel>
</rss>

