<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change/m-p/3403553#M817296</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;Checking sy-subrc may not be always reliable as it can return values like .001 even if the transaction is successful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best way to check this is to check for the success message in the message table.&lt;/P&gt;&lt;P&gt;      All transactions give a success message if the transaction is successful. SAP guarantees that these message numbers wont change in any release of SAP.  &lt;/P&gt;&lt;P&gt;     First get the message number, id etc of the success message of the transaction you are trying to call, then check this message number and id in the message table that the call transaction returns.  If you find the entry in the message table, the call transaction is successful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2008 13:19:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-18T13:19:21Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change/m-p/3403552#M817295</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;Is there any other BAPI /Function module to update the Service contracts other than BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because there is no document type in this BAPI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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;Jayashree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 13:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change/m-p/3403552#M817295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T13:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change/m-p/3403553#M817296</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;Checking sy-subrc may not be always reliable as it can return values like .001 even if the transaction is successful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best way to check this is to check for the success message in the message table.&lt;/P&gt;&lt;P&gt;      All transactions give a success message if the transaction is successful. SAP guarantees that these message numbers wont change in any release of SAP.  &lt;/P&gt;&lt;P&gt;     First get the message number, id etc of the success message of the transaction you are trying to call, then check this message number and id in the message table that the call transaction returns.  If you find the entry in the message table, the call transaction is successful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 13:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change/m-p/3403553#M817296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change/m-p/3403554#M817297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check FM: &lt;STRONG&gt;SD_SALESDOCUMENT_CHANGE&lt;/STRONG&gt; which is internally called in BAPI: BAPI_SALESORDER_CHANGE based on the business object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header structure is different in both FM's, apart from that you have the document type field which you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note Servive contracts can not be changed via BAPI_SALESORDER_CHANGE as the business object is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just FYI, the FM is not released and incase you are looking specific for contracts you might consider BAPI: &lt;STRONG&gt;BAPI_CUSTOMERCONTRACT_CHANGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 01:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-change/m-p/3403554#M817297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T01:58:34Z</dc:date>
    </item>
  </channel>
</rss>

