<?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 Function Module 'BAPI_SALESORDER_CHANGE' not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-salesorder-change-not-working/m-p/2284200#M497590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Respective to one sales order we need to block its delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have used the function module 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;In this we are sending the following in its exporting parameters:---&lt;/P&gt;&lt;P&gt;1.) SALESDOCUMENT----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;salesdocument Number&lt;/P&gt;&lt;P&gt;2.) ORDER_HEADER_IN------workarea of type BAPISDH1 and in its "dlv_block" field, the value of delivery block is passed.&lt;/P&gt;&lt;P&gt;3.) ORDER_HEADER_INX-----workarea of type BAPISDH1X and in its "updateflag" field the value 'U' is passed and in its "dlv_block" field the value 'X' is passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the function module executes successfully (i.e. sy-subrc = 0) but on checking the sales document it is found that its &amp;lt;u&amp;gt;delivery has not been blocked&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the function module returns the following messages in its "return parameter"&lt;/P&gt;&lt;P&gt;1.) ORDER_HEADER_IN has been processed successfully&lt;/P&gt;&lt;P&gt;2.) Purchase order number in document number: 351 already exists&lt;/P&gt;&lt;P&gt;3.) Standard Order 351 has been saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where 351 is our salesdocument Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where did we go wrong.Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 13:30:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T13:30:11Z</dc:date>
    <item>
      <title>Function Module 'BAPI_SALESORDER_CHANGE' not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-salesorder-change-not-working/m-p/2284200#M497590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Respective to one sales order we need to block its delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have used the function module 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;In this we are sending the following in its exporting parameters:---&lt;/P&gt;&lt;P&gt;1.) SALESDOCUMENT----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;salesdocument Number&lt;/P&gt;&lt;P&gt;2.) ORDER_HEADER_IN------workarea of type BAPISDH1 and in its "dlv_block" field, the value of delivery block is passed.&lt;/P&gt;&lt;P&gt;3.) ORDER_HEADER_INX-----workarea of type BAPISDH1X and in its "updateflag" field the value 'U' is passed and in its "dlv_block" field the value 'X' is passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the function module executes successfully (i.e. sy-subrc = 0) but on checking the sales document it is found that its &amp;lt;u&amp;gt;delivery has not been blocked&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the function module returns the following messages in its "return parameter"&lt;/P&gt;&lt;P&gt;1.) ORDER_HEADER_IN has been processed successfully&lt;/P&gt;&lt;P&gt;2.) Purchase order number in document number: 351 already exists&lt;/P&gt;&lt;P&gt;3.) Standard Order 351 has been saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where 351 is our salesdocument Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where did we go wrong.Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 13:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-salesorder-change-not-working/m-p/2284200#M497590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T13:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module 'BAPI_SALESORDER_CHANGE' not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-salesorder-change-not-working/m-p/2284201#M497591</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;From the FM documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 13:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-salesorder-change-not-working/m-p/2284201#M497591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T13:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module 'BAPI_SALESORDER_CHANGE' not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-salesorder-change-not-working/m-p/2284202#M497592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have already used the bapi 'BAPI_TRANSACTION_COMMIT' for commit purpose but still the delivery doenot get blocked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 04:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-salesorder-change-not-working/m-p/2284202#M497592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T04:31:41Z</dc:date>
    </item>
  </channel>
</rss>

