<?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, change  ordered quantity in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763751#M37252</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;Call function BAPI_TRANSACTION_COMMIT after your function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colin. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Oct 2004 12:14:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-10-18T12:14:16Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763749#M37250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Reader,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI_SALESORDER_CHANGE is not changing the ordered quantity when giving the field ITEM-TARGET_QTY a new value. &lt;/P&gt;&lt;P&gt;Another field (reason of rejection ITEM-REASON_REJ)in the same program but in a different occasion is changing definately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here by the source:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       w_headerx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;       w_itemx-ITM_NUMBER   = p_posnr.&lt;/P&gt;&lt;P&gt;       w_itemx-updateflag   = 'U'.&lt;/P&gt;&lt;P&gt;       w_itemx-TARGET_QTY   = 'X'.&lt;/P&gt;&lt;P&gt;       append w_itemx to t_itemx.&lt;/P&gt;&lt;P&gt;       w_item-ITM_NUMBER    = p_posnr.&lt;/P&gt;&lt;P&gt;       w_item-TARGET_QTY    = w_vbap1-kwmeng.&lt;/P&gt;&lt;P&gt;       move w_vbap1-kwmeng to        w_item-TARGET_QTY.&lt;/P&gt;&lt;P&gt;       append w_item to t_item.&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    = p_vbeln&lt;/P&gt;&lt;P&gt;              ORDER_HEADER_INX = w_headerx&lt;/P&gt;&lt;P&gt;              SIMULATION       = ' '&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              RETURN           = t_return&lt;/P&gt;&lt;P&gt;              ORDER_ITEM_IN    = t_item&lt;/P&gt;&lt;P&gt;              ORDER_ITEM_INX   = t_itemx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your support and advise.&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;Adriaan Knappert&lt;/P&gt;&lt;P&gt;06-14337908&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2004 11:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763749#M37250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-18T11:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763750#M37251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;may be you forgot the commit work?&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2004 11:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763750#M37251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-18T11:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763751#M37252</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;Call function BAPI_TRANSACTION_COMMIT after your function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colin. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2004 12:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763751#M37252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-18T12:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763752#M37253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I've the call function BAPI_TRANSACTION_COMMIT after my function. So this is not the solution.&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;Adriaan Knappert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2004 12:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763752#M37253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-18T12:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763753#M37254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Siggi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I've the call function BAPI_TRANSACTION_COMMIT after my function. So this is not the solution.&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;Adriaan Knappert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2004 12:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763753#M37254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-18T12:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763754#M37255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Adriaan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried also adding the schedule line information for the related order line as well into the BAPI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2004 13:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763754#M37255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-18T13:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763755#M37256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your further interest. I've added three fields according the schedule lines but still the amount has been unchanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       w_schedulex-ITM_NUMBER = p_posnr.&lt;/P&gt;&lt;P&gt;        w_schedulex-REQ_QTY = 'X'.&lt;/P&gt;&lt;P&gt;        w_schedulex-updateflag = 'U'.   "ins AAK&lt;/P&gt;&lt;P&gt;        w_schedulex-SCHED_LINE = 'X'.&lt;/P&gt;&lt;P&gt;        append w_schedulex to t_schedulex.&lt;/P&gt;&lt;P&gt;        w_schedule-ITM_NUMBER = p_posnr.&lt;/P&gt;&lt;P&gt;        w_schedule-SCHED_LINE = '0001'.&lt;/P&gt;&lt;P&gt;        move w_vbap1-kwmeng to w_schedule-req_qty.&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;Adriaan Knappert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2004 15:02:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763755#M37256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-18T15:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE, change  ordered quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763756#M37257</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 your code you do not seem to append W_SCHEDULE to anything. Is it appended to SCHEDULE_LINES ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, are you getting anything returned in the RETURN table when you execute the function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colin &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2004 07:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-change-ordered-quantity/m-p/763756#M37257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-19T07:52:47Z</dc:date>
    </item>
  </channel>
</rss>

