<?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 Alternative formula for condition base value, for value scale condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-formula-for-condition-base-value-for-value-scale-condition/m-p/1746286#M323777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear reader,&lt;/P&gt;&lt;P&gt;I have included a custom made condition in a purchasing calculation schema, this condition is assigned to a custom made formula for determining the base value, sadly all this is not working. What am I doing wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The configuration details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The condition is of the class &amp;#147;discount of surcharge&amp;#148; and of the calculation type &amp;#147;percentage&amp;#148;. The condition has a scale basis based on value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The formula for the base value is returning a value in field xkwert that should be used for selecting the correct value scale for the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The condition is not determined. Note that if I delete the routine for the base value out of the purchasing calculation schema a value for the condition is determined &amp;#150; although in this instance the base value is wrong, seems this to prove that the configuration of the condition is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I got lost in debugging, but can it be that the system expects that the routine returns more then just a value for xkwert? And if so, which fields are of relevance (xkomv...)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking forward to a positive reaction,&lt;/P&gt;&lt;P&gt;Alwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2006 08:41:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-21T08:41:52Z</dc:date>
    <item>
      <title>Alternative formula for condition base value, for value scale condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-formula-for-condition-base-value-for-value-scale-condition/m-p/1746286#M323777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear reader,&lt;/P&gt;&lt;P&gt;I have included a custom made condition in a purchasing calculation schema, this condition is assigned to a custom made formula for determining the base value, sadly all this is not working. What am I doing wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The configuration details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The condition is of the class &amp;#147;discount of surcharge&amp;#148; and of the calculation type &amp;#147;percentage&amp;#148;. The condition has a scale basis based on value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The formula for the base value is returning a value in field xkwert that should be used for selecting the correct value scale for the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The condition is not determined. Note that if I delete the routine for the base value out of the purchasing calculation schema a value for the condition is determined &amp;#150; although in this instance the base value is wrong, seems this to prove that the configuration of the condition is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I got lost in debugging, but can it be that the system expects that the routine returns more then just a value for xkwert? And if so, which fields are of relevance (xkomv...)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking forward to a positive reaction,&lt;/P&gt;&lt;P&gt;Alwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 08:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-formula-for-condition-base-value-for-value-scale-condition/m-p/1746286#M323777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T08:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative formula for condition base value, for value scale condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-formula-for-condition-base-value-for-value-scale-condition/m-p/1746287#M323778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alwin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you the value of SY-SUBRC when you the control comes out of the routine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can check do the following:&lt;/P&gt;&lt;P&gt;1. Click on the Analysis button below the condition in the condition tab.&lt;/P&gt;&lt;P&gt;2. Check the details corresponding to the condition type. &lt;/P&gt;&lt;P&gt;Maybe this can lead to some clues...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-formula-for-condition-base-value-for-value-scale-condition/m-p/1746287#M323778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T09:29:06Z</dc:date>
    </item>
  </channel>
</rss>

