<?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: no material document created with BAPI_GOODSMVT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328936#M168054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I have done so a lot of times - with no problems....&lt;/P&gt;&lt;P&gt;Could yoe please post the code in with the parameters are set and the BAPI is called ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2006 03:56:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-01T03:56:29Z</dc:date>
    <item>
      <title>no material document created with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328934#M168052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to perform an IM transfer with 323 movement from BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;It works with IM to IM storage location.&lt;/P&gt;&lt;P&gt;It doesn't work when IM target storage location is connected to WM warehouse number and schould create an inbound delivery :&lt;/P&gt;&lt;P&gt;the return code from the bapi is 0, there is no message in return table and no document number generated.&lt;/P&gt;&lt;P&gt;(same data in MB1B works witout any problem)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 21:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328934#M168052</guid>
      <dc:creator>eric_colas</dc:creator>
      <dc:date>2006-05-31T21:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: no material document created with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328935#M168053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you look at OSS notes?&lt;/P&gt;&lt;P&gt;&lt;A href="https://websmp103.sap-ag.de/notes" target="test_blank"&gt;https://websmp103.sap-ag.de/notes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 22:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328935#M168053</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-05-31T22:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: no material document created with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328936#M168054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I have done so a lot of times - with no problems....&lt;/P&gt;&lt;P&gt;Could yoe please post the code in with the parameters are set and the BAPI is called ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 03:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328936#M168054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T03:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: no material document created with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328937#M168055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your answers !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already try to find an OSS note (213 notes about this BAPI)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the call to the bapi is not performed directly, i use an intermediate storage in a table "ZGOODSMVT" which i use for other movements without any problem (same fields than BAPI parameters).&lt;/P&gt;&lt;P&gt;(the 323 works when IM destination storage location is not connected to WM warehouse number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;here is the code from first prog :&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;form mvt_323.&lt;BR /&gt; clear zgoodsmvt.&lt;BR /&gt; zgoodsmvt-ref_doc_yr = mkpf-budat(4).&lt;BR /&gt; zgoodsmvt-ref_doc = mkpf-mblnr.&lt;BR /&gt; zgoodsmvt-ref_doc_it = mseg-zeile.&lt;BR /&gt; zgoodsmvt-nseq = 0.&lt;BR /&gt; zgoodsmvt-pstng_date = mkpf-budat.&lt;BR /&gt; zgoodsmvt-doc_date = mkpf-budat.&lt;BR /&gt; zgoodsmvt-ref_doc_no = mkpf-mblnr.&lt;BR /&gt; zgoodsmvt-header_txt = 'Transfert automatique'.&lt;BR /&gt; zgoodsmvt-gm_code = '04'. " Transfert&lt;BR /&gt; zgoodsmvt-material = mseg-matnr.&lt;BR /&gt; zgoodsmvt-plant = mseg-werks.&lt;BR /&gt; zgoodsmvt-stge_loc = mseg-lgort.&lt;BR /&gt; zgoodsmvt-batch = mseg-charg.&lt;BR /&gt; zgoodsmvt-move_type = '323'.&lt;BR /&gt; zgoodsmvt-entry_qnt = mseg-erfmg.&lt;BR /&gt; zgoodsmvt-entry_uom = mseg-erfme.&lt;BR /&gt; zgoodsmvt-item_text = 'Transfert automatique'.&lt;BR /&gt; zgoodsmvt-move_plant = mseg-werks.&lt;BR /&gt; zgoodsmvt-move_stloc = 'BVSG'.&lt;BR /&gt; zgoodsmvt-batch = mseg-charg.&lt;BR /&gt; zgoodsmvt-udate = sy-datum.&lt;BR /&gt; zgoodsmvt-uname = sy-uname.&lt;BR /&gt; zgoodsmvt-utime = sy-uzeit.&lt;BR /&gt; INSERT zgoodsmvt.&lt;BR /&gt;&lt;BR /&gt; IF sy-subrc ne 0.&lt;BR /&gt; retco = sy-subrc.&lt;BR /&gt; EXIT.&lt;BR /&gt; ENDIF.&lt;BR /&gt;endform.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;here is the code from second prog :&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM zgoodsmvt APPENDING CORRESPONDING FIELDS OF TABLE t&lt;/P&gt;&lt;P&gt;                          WHERE type NE 'S'.&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  LOOP AT t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR  : ti, tr, ir.&lt;/P&gt;&lt;P&gt;    REFRESH: ti, tr.&lt;/P&gt;&lt;P&gt;    FREE   : ti, tr.&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING: t TO w_goodsmvt_header, t TO w_goodsmvt_code.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING: t TO ti, t TO ir.&lt;/P&gt;&lt;P&gt;    APPEND ti. " item&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             = w_goodsmvt_header&lt;/P&gt;&lt;P&gt;        goodsmvt_code               = w_goodsmvt_code&lt;/P&gt;&lt;P&gt;        testrun                     = ptestrun&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        GOODSMVT_HEADRET            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        materialdocument            = w_materialdocument&lt;/P&gt;&lt;P&gt;        matdocumentyear             = w_matdocumentyear&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        goodsmvt_item               = ti&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        GOODSMVT_SERIALNUMBER       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        return                      = tr.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0. " tjr à 0, les erreurs sont ds TR&lt;/P&gt;&lt;P&gt;      WRITE:/ text-250, sy-subrc.&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;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 08:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328937#M168055</guid>
      <dc:creator>eric_colas</dc:creator>
      <dc:date>2006-06-01T08:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: no material document created with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328938#M168056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;zgoodsmvt-gm_code = '06'  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(change 04 to 06)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be sure that ptestrun is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try a COMMIT WORK after the &lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'.&lt;/P&gt;&lt;P&gt;The Bapi starts working if the application does a COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you get back any value in w_materialdocument ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 08:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328938#M168056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T08:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: no material document created with BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328939#M168057</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;06 doesn't work (not for transfer mvt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ptestrun is initial and commit is ok (It works with IM to IM storage location)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have no value in w_materialdocument...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help Rainer !&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 13:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-material-document-created-with-bapi-goodsmvt-create/m-p/1328939#M168057</guid>
      <dc:creator>eric_colas</dc:creator>
      <dc:date>2006-06-02T13:41:45Z</dc:date>
    </item>
  </channel>
</rss>

