<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455332#M1553380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a conversion routine ( Function Module) for UOM field, which is avaliable in the domain of the the field (Ex. MEINS), i.e BMS  is stored as ST in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use these conversion routine ( Function Module) before updating it or assinging it . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Dec 2010 07:36:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-08T07:36:51Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455328#M1553376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;I have a problem. I m using the BAPI_GOODSMVT_CREATE bapi but it is not working. What may be the problem?&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  = gs_goodsmvt_header&lt;/P&gt;&lt;P&gt;        goodsmvt_code    = gs_goodsmvt_code&lt;/P&gt;&lt;P&gt;      importing&lt;/P&gt;&lt;P&gt;        goodsmvt_headret = gs_goodsmvt_headret&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        goodsmvt_item    = gt_goodsmvt_item&lt;/P&gt;&lt;P&gt;        return           = gt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear : lv_hata.&lt;/P&gt;&lt;P&gt;    loop at gt_return into gv_return.&lt;/P&gt;&lt;P&gt;      if gv_return-type eq 'E'.&lt;/P&gt;&lt;P&gt;        lv_hata = 'X'.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if lv_hata is initial.&lt;/P&gt;&lt;P&gt;      call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          wait   = 'X'&lt;/P&gt;&lt;P&gt;        importing&lt;/P&gt;&lt;P&gt;          return = bapi_return2.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;My codes like this. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 06:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455328#M1553376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T06:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455329#M1553377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the return table gets filled with for the BAPI??? That is required to analyse the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 06:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455329#M1553377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T06:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455330#M1553378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It contains one row data.&lt;/P&gt;&lt;P&gt;The error message is "Unit of measure BSM is not convertible to stockkeeping unit ST"&lt;/P&gt;&lt;P&gt;What should ı do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455330#M1553378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455331#M1553379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now, ıt doenst contain any row but a short dump occurs.&lt;/P&gt;&lt;P&gt;UNEXPEXTED COMMIT WORK. I m using a bapi. I have to use commit work. thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455331#M1553379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455332#M1553380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a conversion routine ( Function Module) for UOM field, which is avaliable in the domain of the the field (Ex. MEINS), i.e BMS  is stored as ST in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use these conversion routine ( Function Module) before updating it or assinging it . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455332#M1553380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455333#M1553381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the name of the function module. How to find it. SOrry, Im new to ABAP:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455333#M1553381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455334#M1553382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There should be conversion routines available for your fields.&lt;/P&gt;&lt;P&gt;I am not sure what are you using , i used the below F.M and code to convert the UOM to SAP format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first convert the quantity in the same unit ( like in you case BMS to ST ) by using FM : MD_CONVERT_MATERIAL_UNIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_matnr                    = matnr&lt;/P&gt;&lt;P&gt;      i_in_me                    = entry_uom (BMS)&lt;/P&gt;&lt;P&gt;      i_out_me                   = out_uom &lt;/P&gt;&lt;P&gt;      i_menge                    = quantity &lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     E_MENGE                     = fp_l_v_quant&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     ERROR_IN_APPLICATION       = 1&lt;/P&gt;&lt;P&gt;     ERROR                      = 2&lt;/P&gt;&lt;P&gt;     OTHERS                     = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc  0.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;          give error message here&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455334#M1553382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455335#M1553383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly, thanks for your very helpful answer. Now I got that error. I mean my return table is empty. However, I get short dump.&lt;/P&gt;&lt;P&gt;İt says you cannot use BAPI_TRANSACTION_COMMIT it is unexpected. What may be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: OSMANBIYIK on Dec 8, 2010 8:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455335#M1553383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455336#M1553384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paste your dump here!!&lt;/P&gt;&lt;P&gt;You are surely passing something wrong!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also are you doing this commit work twice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455336#M1553384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455337#M1553385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNEXPECTED COMMIT WORK&lt;/P&gt;&lt;P&gt;THERE SHOULD BE NO COMMIT WORK in order processing before&lt;/P&gt;&lt;P&gt;fm CO_ZV_ORDER_POST was executeed, since this might lead to inconsitencies!!&lt;/P&gt;&lt;P&gt;MESSAGE ID C2 type lv_msg_type number 295.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No ım not commiting work twice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 08:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455337#M1553385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T08:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455338#M1553386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem here is that you might be using F.M CO_ZV_ORDER_POST somewhere which has exporting para commit_flag now,&lt;/P&gt;&lt;P&gt;when you process your BAPI before this commit work is called.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 08:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455338#M1553386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T08:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455339#M1553387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this- I mean ı m not using that fm still nothing&lt;/P&gt;&lt;P&gt;any further ideas?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: OSMANBIYIK on Dec 8, 2010 9:41 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 08:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create/m-p/7455339#M1553387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T08:37:36Z</dc:date>
    </item>
  </channel>
</rss>

