<?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 mb11 movement type no error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb11-movement-type-no-error/m-p/6604165#M1437733</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 need to commit the transacton using function module "BAPI_TRANSACTION_COMMIT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check it via SE37 ,enter function module name &amp;amp; go to menu: &lt;/P&gt;&lt;P&gt;Function Module-&amp;gt;Test-&amp;gt; Test Sequences&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter function module names:&lt;/P&gt;&lt;P&gt;BAPI_GOODSMVT_CREATE&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AftereExecuting first function module, system displays output of the functon module. &lt;/P&gt;&lt;P&gt;when you click on back button the system allows to you execte second funtion module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give WAIT = 'X". Execute it. The document will be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudhakar Rayala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 22:19:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-03T22:19:25Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE mb11 movement type no error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb11-movement-type-no-error/m-p/6604164#M1437732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to 201 movement. i know gm_code 06. (MB11 movement type) when i run the code there is  no error. &lt;/P&gt;&lt;P&gt;but gives me movement number. when i look at mb51 there is no data. so what could be the &lt;/P&gt;&lt;P&gt;reason. also i have manuely entered data to se37 with function BAPI_GOODSMVT_CREATE. same thing happen.&lt;/P&gt;&lt;P&gt;and of course at the continue of code there is commit and work bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data   i_tab TYPE TABLE OF ZPM_FUEL_EXT WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA : goodsmvt_header TYPE bapi2017_gm_head_01,&lt;/P&gt;&lt;P&gt;         goodsmvt_code   TYPE bapi2017_gm_code,&lt;/P&gt;&lt;P&gt;         goodsmvt_headret TYPE bapi2017_gm_head_ret,&lt;/P&gt;&lt;P&gt;         materialdocument TYPE bapi2017_gm_head_ret-mat_doc,&lt;/P&gt;&lt;P&gt;         matdocumentyear  TYPE bapi2017_gm_head_ret-doc_year,&lt;/P&gt;&lt;P&gt;         goodsmvt_item   TYPE TABLE OF bapi2017_gm_item_create WITH HEADER LINE ,&lt;/P&gt;&lt;P&gt;         return       TYPE TABLE OF bapiret2 WITH HEADER LINE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of gmcode.&lt;/P&gt;&lt;P&gt;include structure bapi2017_gm_code.&lt;/P&gt;&lt;P&gt;data: end of gmcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gmcode-gm_code = '06'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  goodsmvt_header-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;  goodsmvt_header-doc_date   = sy-datum.&lt;/P&gt;&lt;P&gt;  goodsmvt_header-pr_uname   = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * from ZPM_FUEL_EXT INTO i_tab where STATE = ''.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-material                 =  i_tab-matnr.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-mvt_ind                 =  ''.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-plant                      =  i_tab-werks.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-stge_loc                =  i_tab-lgort.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-move_type            =  i_tab-bwart = "   '201'.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-entry_qnt              =  i_tab-amount.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-entry_uom            =  i_tab-MEINS.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-COSTCENTER       =  i_tab-KOSTL.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-GL_ACCOUNT      =  i_tab-SAKNR.  "   '7300200001'.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-ORDERID              =  i_tab-AUFNR.  "    'A27BC307'.&lt;/P&gt;&lt;P&gt;    goodsmvt_item-PAR_COMPCO     =  i_tab-BUKRS.&lt;/P&gt;&lt;P&gt;    APPEND  goodsmvt_item.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&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     = goodsmvt_header&lt;/P&gt;&lt;P&gt;      goodsmvt_code        = gmcode&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      goodsmvt_headret    = goodsmvt_headret" testrun = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      goodsmvt_item          = goodsmvt_item&lt;/P&gt;&lt;P&gt;      return                         = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 09:02:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb11-movement-type-no-error/m-p/6604164#M1437732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T09:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE mb11 movement type no error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb11-movement-type-no-error/m-p/6604165#M1437733</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 need to commit the transacton using function module "BAPI_TRANSACTION_COMMIT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check it via SE37 ,enter function module name &amp;amp; go to menu: &lt;/P&gt;&lt;P&gt;Function Module-&amp;gt;Test-&amp;gt; Test Sequences&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter function module names:&lt;/P&gt;&lt;P&gt;BAPI_GOODSMVT_CREATE&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AftereExecuting first function module, system displays output of the functon module. &lt;/P&gt;&lt;P&gt;when you click on back button the system allows to you execte second funtion module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give WAIT = 'X". Execute it. The document will be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudhakar Rayala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 22:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb11-movement-type-no-error/m-p/6604165#M1437733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T22:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE mb11 movement type no error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb11-movement-type-no-error/m-p/6604166#M1437734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 06:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-mb11-movement-type-no-error/m-p/6604166#M1437734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T06:45:15Z</dc:date>
    </item>
  </channel>
</rss>

