<?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: no error return, but no document created! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481458#M1254862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use a BAPI_TRANSACTION_COMMIT to create the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nupur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2009 11:36:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-20T11:36:30Z</dc:date>
    <item>
      <title>bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481455#M1254859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have i weired problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the bapi_goodsmvt_create to create a goods receipt document for a standard order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simulation works fine, no error or warning return, the bapi_goodsmvt_create  without simulation flag works fine, bapi_transaction_commit returns no error as well, BUT: the document was not created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481455#M1254859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481456#M1254860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you simulating ?&lt;/P&gt;&lt;P&gt;using SE37?&lt;/P&gt;&lt;P&gt;If yes, you have to do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se37.&lt;/P&gt;&lt;P&gt;Chose from menu Function Module-&amp;gt;Test-&amp;gt;Test Sequences.&lt;/P&gt;&lt;P&gt;In the next screenm give the bapi name in line 1&lt;/P&gt;&lt;P&gt;Give the bapi_transaction_commit in line 2.&lt;/P&gt;&lt;P&gt;Press Enter.&lt;/P&gt;&lt;P&gt;GIve the test data for the bapi.&lt;/P&gt;&lt;P&gt;It would show the test reults.&lt;/P&gt;&lt;P&gt;Press back button.&lt;/P&gt;&lt;P&gt;GIve Input parameters for BAPI_TRANSACTION_COMMIT and execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481456#M1254860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481457#M1254861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using it in my abap program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i have to perform a BAPI_TRANSACTION_COMMIT  after the simulation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481457#M1254861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481458#M1254862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use a BAPI_TRANSACTION_COMMIT to create the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nupur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:36:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481458#M1254862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481459#M1254863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bapi_goodsmvt_create // Simulation&lt;/P&gt;&lt;P&gt;//check if errors were returned in the "return" structure&lt;/P&gt;&lt;P&gt;if &amp;lt;no errors&amp;gt;&lt;/P&gt;&lt;P&gt; Bapi_goodsmvt_create&lt;/P&gt;&lt;P&gt; if &amp;lt;no errors&amp;gt;&lt;/P&gt;&lt;P&gt;    bapi_transaction_commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, on the Testsystem it works, on the Quality system it doesn't. Maybe there is a problem with the order document or whatever, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just curious that there is no error or warning message provided&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481459#M1254863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481460#M1254864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commit the work ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code might help u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
      goodsmvt_header       = wa_header
      goodsmvt_code         = wa_gm_code
    IMPORTING
      goodsmvt_headret      = tbl_export
      materialdocument      = matdoc
      matdocumentyear       = year
    TABLES
      goodsmvt_item         = tbl_item
      goodsmvt_serialnumber = tbl_serial
      return                = return.

  WRITE AT 10 'STATUS OF BAPI UPLOAD' COLOR 2 INTENSIFIED ON .
  SKIP 2.


  LOOP AT return ASSIGNING &amp;lt;fs_return&amp;gt;.
    IF &amp;lt;fs_return&amp;gt;-type EQ 'E'.
      WRITE AT 10 'Error in function:' COLOR 6 INTENSIFIED OFF.
      WRITE AT 28 &amp;lt;fs_return&amp;gt;-message .
      SKIP 1.
      err_flag = 'X'.
    ELSE.
      WRITE AT 10 &amp;lt;fs_return&amp;gt;-message .
      SKIP 1.
    ENDIF.
  ENDLOOP.

  IF err_flag IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    IF sy-subrc NE 0.
      WRITE:/ 'Error in updating'.
      EXIT.
    ELSE.
      WRITE:/
'Number of Material Document created through BAPI:',tbl_export-mat_doc.
      WRITE:/ 'Material Document Year':, tbl_export-doc_year.
    ENDIF.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481460#M1254864</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-04-20T11:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481461#M1254865</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;Use BAPI_TRANSACTION_COMMIT  after goods mvt create.&lt;/P&gt;&lt;P&gt;Let me know if prblem still not solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Swatantra Pathak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swatantra  Pathak on Apr 20, 2009 1:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481461#M1254865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481462#M1254866</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;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
     EXPORTING WAIT = 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481462#M1254866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481463#M1254867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; Commit the work ..&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; This code might help u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used bapi_transaction_commit to commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use nearly exactly the same code that you provided, (except that i try to simulate before)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, no errors, and no GR document &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Roithmeier on Apr 20, 2009 1:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481463#M1254867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481464#M1254868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please paste u r code.&lt;/P&gt;&lt;P&gt;so that  i can understand the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 12:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481464#M1254868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T12:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481465#M1254869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, now i have a new situation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bapi returned a valid materialdocument and year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this document is not "connected" to the document flow (if i go VA03 --&amp;gt; select a Position --&amp;gt; view document flow; there i see the order document but not the goods receipt document)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why i didn't find it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Roithmeier on Apr 20, 2009 2:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 12:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481465#M1254869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T12:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481466#M1254870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please cross check whether the document is updating in MSEG or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 12:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481466#M1254870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T12:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481467#M1254871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked MSEG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document is in this table and the  KDAUF and KDPOS numbers of the SD document is correctly inserted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but there is no entry in VBFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Roithmeier on Apr 20, 2009 2:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 12:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481467#M1254871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T12:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_goodsmvt_create: no error return, but no document created!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481468#M1254872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Are you able to create a Goods movement document manually(Using MIGO)?&lt;/P&gt;&lt;P&gt;If yes, are you able to find it in the document flow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 09:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-no-error-return-but-no-document-created/m-p/5481468#M1254872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T09:48:58Z</dc:date>
    </item>
  </channel>
</rss>

