<?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 using BAPI_SALESORDER_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069839#M1355381</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;  Fill tables parameter ORDER_ITEM_IN and ORDER_ITEM_INX for the line item you want to update the quantity for the field would be TARGET_QTY and TARGET_QU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the ORDER_ITEM_INX have ITM_NUMBER = '30  the update indicator equal to 'X' and TARGET_QTY = 'X'and  TARGET_QU eq 'X' and that should do it.&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;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2009 06:30:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-01T06:30:36Z</dc:date>
    <item>
      <title>problem using BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069837#M1355379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am inserting the Item in Sales order by using BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose there are 2 line item in sales i.e. 10 and 20 .&lt;/P&gt;&lt;P&gt;now i want to insert line item i.e. 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the problem is that when i am trying to insert line item 30 it is getting inserted. &lt;/P&gt;&lt;P&gt;but i want to update the quantity for line item 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to update the quantity of line item 30?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody have the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 06:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069837#M1355379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T06:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem using BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069838#M1355380</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;i mthank this is use full to you to update quantity &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;passed it in SCHEDULE_LINES table &lt;/P&gt;&lt;P&gt;data  : T_SCHED TYPE BAPISCHDL OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;          T_SCHEDX TYPE BAPISCHDLX OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCHEDULE_LINES-REQ_QTY = '30'.&lt;/P&gt;&lt;P&gt;SCHEDULE_LINESx-REQ_QTY = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 06:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069838#M1355380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T06:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem using BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069839#M1355381</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;  Fill tables parameter ORDER_ITEM_IN and ORDER_ITEM_INX for the line item you want to update the quantity for the field would be TARGET_QTY and TARGET_QU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the ORDER_ITEM_INX have ITM_NUMBER = '30  the update indicator equal to 'X' and TARGET_QTY = 'X'and  TARGET_QU eq 'X' and that should do it.&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;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 06:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069839#M1355381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T06:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem using BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069840#M1355382</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;You need to use 'U'flag for updation and 'X' flag for insertion. in ordersX and scheduleX structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update quantity , You need to pass the quantity in the ORDERS and SCHEDULE structures as both are mandatory to update qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TC&lt;/P&gt;&lt;P&gt;Sajimon Chandran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 06:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-bapi-salesorder-change/m-p/6069840#M1355382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T06:47:33Z</dc:date>
    </item>
  </channel>
</rss>

