<?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/4842513#M1132775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whats the return value you are getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2008 01:22:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-19T01:22:46Z</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/4842512#M1132774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iam trying to update the customer purchase order number field in the sales order VBKD-BSTKD...Iam using 'BAPI_SALESORDER_CHANGE'  for this...but when I execute the program iam seeing that its clearing the purchase order number in the order instead of updating with the new purchase order number...I have pasted the code extract iam using...can anyone tell me what might be the issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ireturn TYPE bapiret2 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       iorder_hdr_in TYPE bapisdh1,&lt;/P&gt;&lt;P&gt;       iorder_hdr_inx TYPE bapisdh1x,&lt;/P&gt;&lt;P&gt;       iorder_number LIKE bapivbeln-vbeln.&lt;/P&gt;&lt;P&gt;MOVE 'newtest' TO iorder_hdr_in-purch_no_c.&lt;/P&gt;&lt;P&gt;MOVE 'U' TO iorder_hdr_inx-updateflag.&lt;/P&gt;&lt;P&gt;MOVE 'X' TO iorder_hdr_inx-purch_no_c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iorder_number = '0000591574'.&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         = iorder_number&lt;/P&gt;&lt;P&gt;          order_hdr_in          = iorder_hdr_in&lt;/P&gt;&lt;P&gt;          order_header_inx      = iorder_hdr_inx&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          return                = ireturn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;           CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;               wait = 'x'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 01:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/4842512#M1132774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T01:19:22Z</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/4842513#M1132775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whats the return value you are getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 01:22:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/4842513#M1132775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T01:22:46Z</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/4842514#M1132776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update...Its working now...Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 02:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change-problem/m-p/4842514#M1132776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T02:30:16Z</dc:date>
    </item>
  </channel>
</rss>

