<?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: Dump while updating contract in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675167#M1099530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;Note: While updating the contract, I am getting a warning &amp;gt;saying "Error transferring ExtensionIn data for enhancement &amp;gt;CI_EKKODB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are getting the error then The commit work code will never trigger. why because you might be calling the commit work function only if it is success. since there is error the lock on the contract still exists. to avoid that first release(DEQUE) the lock and then try. If there is any error locks will not be released automatically. unless we do something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 14:15:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-20T14:15:05Z</dc:date>
    <item>
      <title>Dump while updating contract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675164#M1099527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update contract (providing new price by creating new condition validity periods) and then I need to display the details of the Purchase Order of that contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I am using &lt;STRONG&gt;BAPI_CONTRACT_CHANGE&lt;/STRONG&gt; first and then &lt;STRONG&gt;BAPI_PO_GETDETAIL1&lt;/STRONG&gt;. But I am getting a dump saying "Access via NULL object reference not possible" in the method if_purchase_out_header~is_contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use these Bapis (I am calling it in a function module) separately, both works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; While updating the contract, I am getting a warning saying "Error transferring ExtensionIn data for enhancement CI_EKKODB" but the contract is updated as required. Is the dump related to this..? please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 13:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675164#M1099527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while updating contract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675165#M1099528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you validated the change via a COMMIT_WORK or BAPI_TRANSACTION_COMMIT with WAIT option between the two calls. There may also be some delay due to database update delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 13:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675165#M1099528</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-10-20T13:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while updating contract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675166#M1099529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used BAPI_TRANSACTION_COMMIT after update. I also tried with the statement "WAIT UP TO 10 second". But still I got the dump..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 14:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675166#M1099529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T14:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while updating contract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675167#M1099530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;Note: While updating the contract, I am getting a warning &amp;gt;saying "Error transferring ExtensionIn data for enhancement &amp;gt;CI_EKKODB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are getting the error then The commit work code will never trigger. why because you might be calling the commit work function only if it is success. since there is error the lock on the contract still exists. to avoid that first release(DEQUE) the lock and then try. If there is any error locks will not be released automatically. unless we do something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 14:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675167#M1099530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T14:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while updating contract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675168#M1099531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe there are OSS note to implement, like [Note 1156334 - Customer Fields are not updated from EXTENSIONIN|https://service.sap.com/sap/support/notes/1156334]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also did you analyze the return table for an error (type Error or Abend) i supposed yes, cause you mentioned a Warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also execute a DO/ENDDO trying to lock the purchase order EMEKKOE, before calling the second BAPI. if the do/enddo last too long, look at SM13 or via transaction ME23N for updating of the order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 14:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675168#M1099531</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-10-20T14:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while updating contract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675169#M1099532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the sequence of calling the function modules. Then it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First we need to update the contract (using BAPI_CONTRACT_CHANGE) and then we can make change in the PO (using BAPI_PO_GETDETAIL1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: This applies only when we use the above two function modules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 04:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-updating-contract/m-p/4675169#M1099532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T04:23:01Z</dc:date>
    </item>
  </channel>
</rss>

