<?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_SALESORDER_CHANGE Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/848403#M45694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that you need to give the scheudule line number as well.  How else would it know which schedule line to update.  There can be multiple schedule lines to a line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;es_bapischdl_2-SCHED_LINE = '0001'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2005 17:31:05 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-06-14T17:31:05Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CHANGE Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/848402#M45693</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'm having a problem with this BAPI, the problem is that I'm trying to change the quantity of the materials, and the bapi returns the following message: "Missing item number when you changed the schedule line". And I don't know why because as you can see on my code the item number is present in both structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                es_bapisdh1x-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;                APPEND es_bapisdh1x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                es_bapischdl_2-itm_number = ti_vbap-posnr.&lt;/P&gt;&lt;P&gt;                es_bapischdl_2-req_qty    = ti_pos_pedido-cant_vend.&lt;/P&gt;&lt;P&gt;                APPEND es_bapischdl_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                es_bapischdlx-itm_number = ti_vbap-posnr.&lt;/P&gt;&lt;P&gt;                es_bapischdlx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;                es_bapischdlx-req_qty    = 'X'.&lt;/P&gt;&lt;P&gt;                APPEND es_bapischdlx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                salesdocument    = vbeln&lt;/P&gt;&lt;P&gt;                order_header_inx = es_bapisdh1x&lt;/P&gt;&lt;P&gt;              TABLES&lt;/P&gt;&lt;P&gt;                return           = es_bapiret2_2&lt;/P&gt;&lt;P&gt;                schedule_lines   = es_bapischdl_2&lt;/P&gt;&lt;P&gt;                schedule_linesx  = es_bapischdlx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope any of you knows whats happening..&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 16:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/848402#M45693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T16:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/848403#M45694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that you need to give the scheudule line number as well.  How else would it know which schedule line to update.  There can be multiple schedule lines to a line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;es_bapischdl_2-SCHED_LINE = '0001'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 17:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/848403#M45694</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-06-14T17:31:05Z</dc:date>
    </item>
  </channel>
</rss>

