<?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: Problem with BAPI  &amp;quot;BAPI_GOODSMVT_CREATE&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009898#M78652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;logically thinking, you don't need to specify schedule line for posting "101" . Even when you post "101" in MIGO you don't specify that. I think you should try to debug the BAPI to see what is causing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2005 18:25:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-08T18:25:30Z</dc:date>
    <item>
      <title>Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009890#M78644</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;This is my Code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************&lt;/P&gt;&lt;P&gt;REPORT  ZFG_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gmove_header LIKE bapi2017_gm_head_01,&lt;/P&gt;&lt;P&gt;      gmove_code LIKE bapi2017_gm_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF gmove_line OCCURS 0.&lt;/P&gt;&lt;P&gt;      INCLUDE STRUCTURE bapi2017_gm_item_create.&lt;/P&gt;&lt;P&gt;DATA: END OF gmove_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: headret LIKE bapi2017_gm_head_ret,&lt;/P&gt;&lt;P&gt;      matdoc TYPE  bapi2017_gm_head_ret-mat_doc,&lt;/P&gt;&lt;P&gt;      docyear TYPE bapi2017_gm_head_ret-doc_year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF return OCCURS 0.&lt;/P&gt;&lt;P&gt;      INCLUDE STRUCTURE bapiret2.&lt;/P&gt;&lt;P&gt;DATA: END OF return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gmove_header-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;gmove_header-doc_date = sy-datum.&lt;/P&gt;&lt;P&gt;gmove_header-pr_uname = sy-uname.&lt;/P&gt;&lt;P&gt;***gmove_header-header_txt = 'Testing'.&lt;/P&gt;&lt;P&gt;***gmove_header-ref_doc_no = '4500000268'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gmove_code-gm_code = '01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gmove_line-move_type = '101'.&lt;/P&gt;&lt;P&gt;gmove_line-plant = '1000'.&lt;/P&gt;&lt;P&gt;gmove_line-mvt_ind = 'B'.&lt;/P&gt;&lt;P&gt;gmove_line-po_number = '4500000268'.&lt;/P&gt;&lt;P&gt;gmove_line-po_item = 1.&lt;/P&gt;&lt;P&gt;gmove_line-entry_qnt = 6.&lt;/P&gt;&lt;P&gt;gmove_line-entry_uom = 'M'.&lt;/P&gt;&lt;P&gt;gmove_line-batch = 'KK1'.&lt;/P&gt;&lt;P&gt;gmove_line-stge_loc = '40'.&lt;/P&gt;&lt;P&gt;***gmove_line-MATERIAL = '000000J6000102GREY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND gmove_line.&lt;/P&gt;&lt;P&gt;&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             = gmove_header&lt;/P&gt;&lt;P&gt;          GOODSMVT_CODE               = gmove_code&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         TESTRUN                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          GOODSMVT_HEADRET            = headret&lt;/P&gt;&lt;P&gt;          MATERIALDOCUMENT            = matdoc&lt;/P&gt;&lt;P&gt;          MATDOCUMENTYEAR             = docyear&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          GOODSMVT_ITEM               = gmove_line&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                      = return.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         AFS_GOODSMVT_SKU            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I check the "return" it say's "No goods receipt possible for purchase order 4500000268 00001".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using - AFS 5.0&lt;/P&gt;&lt;P&gt;The Material in PO is AFS item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me, please!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 10:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009890#M78644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T10:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009891#M78645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Check your item number, typically item numbers are 10,20,30 ... etc. not 1,2,3. Although it is possible to have item numbers as 1,2,3 etc but generally that is not the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 10:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009891#M78645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T10:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009892#M78646</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;Your code seems to be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check is it possible via MIGO transaction for 4500000268 00001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any prbs with this PO and Item no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 10:45:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009892#M78646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009893#M78647</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;Your Points Awarded!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks I corrected the PO Item;&lt;/P&gt;&lt;P&gt;gmove_line-po_item = 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now the following error is returned;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Entry 4500000268 00010 0000 not valid; correct entry"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 11:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009893#M78647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T11:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009894#M78648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know why it is saying that but I can tell you that it is thinking that the schedule line (EKET-ETENR) is 0000 (last four digits). As suggested by Sasi, you should first check whether your data is correct or not using Txn MIGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 11:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009894#M78648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T11:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009895#M78649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help. I put "gmove_line-SCHED_LINE = 1" this I got from the EKET-ETENR against the PO I am using.&lt;/P&gt;&lt;P&gt;But still this error follows. In MIGO I tested the PO it work perfectly. The error that comes from BAPI is "Entry 4500000268 00010 0000 not valid; correct entry".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 12:23:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009895#M78649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T12:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009896#M78650</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;Check whether schedule line is 0001 or 0010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 12:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009896#M78650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T12:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009897#M78651</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;In Migo note that what are the values you entered, the same kind of input you pass to this function module, it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 12:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009897#M78651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T12:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009898#M78652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;logically thinking, you don't need to specify schedule line for posting "101" . Even when you post "101" in MIGO you don't specify that. I think you should try to debug the BAPI to see what is causing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 18:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009898#M78652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T18:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI  "BAPI_GOODSMVT_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009899#M78653</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;SCHED_LINE - &amp;gt; Delivery schedule for sales order.&lt;/P&gt;&lt;P&gt;I guess you should not use it while calling BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 19:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-quot-bapi-goodsmvt-create-quot/m-p/1009899#M78653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T19:13:53Z</dc:date>
    </item>
  </channel>
</rss>

