<?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>Question Re: Mathematical Function ABS() not working in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029346#M4056381</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;if you use the ABS funciton it will remove the -ve vlaues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one sales keyfigure and which is having +ve -ve values, but I need all values in +ve only so I use&amp;nbsp; Absolute Value, ABS ( 'Sale').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Mar 2015 09:59:41 GMT</pubDate>
    <dc:creator>KodandaPani_KV</dc:creator>
    <dc:date>2015-03-29T09:59:41Z</dc:date>
    <item>
      <title>Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaq-p/11029344</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;The ABS Function is not working for the formulae created in the report. The values is getting subtracted, but '-' value is not getting removed from the final output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest how to proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 09:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaq-p/11029344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-27T09:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029345#M4056380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share the formula you have written ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 09:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029345#M4056380</guid>
      <dc:creator>anshu_lilhori</dc:creator>
      <dc:date>2015-03-29T09:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029346#M4056381</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;if you use the ABS funciton it will remove the -ve vlaues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one sales keyfigure and which is having +ve -ve values, but I need all values in +ve only so I use&amp;nbsp; Absolute Value, ABS ( 'Sale').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 09:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029346#M4056381</guid>
      <dc:creator>KodandaPani_KV</dc:creator>
      <dc:date>2015-03-29T09:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029347#M4056382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ABS formula is not working, let's just do your own ABS formula..Let's call the keyfigure you are using as ZKF_TEST:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a formula, let's call it ZFORMULA_KF and enter this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;( ZKF_TEST &amp;lt; 0 ) * ( ZKF_TEST * (-1) ) + ZKF_TEST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Loed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 08:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029347#M4056382</guid>
      <dc:creator>Loed</dc:creator>
      <dc:date>2015-03-30T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029348#M4056383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While checking the error i noticed that the formula doesnot get saved in the backend instantaneously, it takes some time to save the formulae after which it will start giving the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sometimes even after changing the formulae, old formulae values were appearing in the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest how can i check it ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;NitRam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 11:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029348#M4056383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-20T11:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029349#M4056384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you re-generate the report in RSRT and see if you are still getting the old values.&lt;/P&gt;&lt;P&gt;Also try clear cache memory with the help of basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vengal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 11:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029349#M4056384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-20T11:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029350#M4056385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vengal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried regenerating the report and creating the formulae, but still the values are not working fine .. &lt;/P&gt;&lt;P&gt;Whenever i try using mathematical function the foumulae doesnot create/save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without using simple calculations using +,-,*,/ the report works fine and output is displayed properly ... &lt;/P&gt;&lt;P&gt;But the problem occurs when using mathematical function, data function.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 12:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029350#M4056385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-20T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029351#M4056386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about creating your own ABS formula? Error still occurs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;( ZKF_TEST &amp;lt; 0 ) * ( ZKF_TEST * (-1) ) + ZKF_TEST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using analyzer for queries, you may logout then login again to refresh the query being used in analyzer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Loed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 08:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029351#M4056386</guid>
      <dc:creator>Loed</dc:creator>
      <dc:date>2015-04-21T08:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029352#M4056387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi loed, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to analyze why this function is allowing the formulae to work at report level..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On further analyzing the issue i found that, using NODIM function in the formulae the values are coming right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formulae : ABS('a'-'b')&amp;nbsp;&amp;nbsp; - is not working fine.&lt;/P&gt;&lt;P&gt;Formuale : ABS(NODIM('A')-NODIM('B')) is working fine.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be because the Base unit of keyfigures are different and which would lead to this error while calculating values on the fly from the infoprovider .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 12:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029352#M4056387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-22T12:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029353#M4056388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hi Phani,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;On further analyzing the issue i found that, using NODIM function in the formulae the values are coming right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;so ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Formulae : ABS('a'-'b')&amp;nbsp;&amp;nbsp; - is not working fine.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Formuale : ABS(NODIM('A')-NODIM('B')) is working fine....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Can this be because the Base unit of keyfigures are different and which would lead to this error while calculating values on the fly from the infoprovider .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 12:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029353#M4056388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-22T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029354#M4056389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes,i think that would be the reason. When you try without NODIM function, it was not able to interpret both A and B are of similar type(due to different base units).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vengal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 13:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029354#M4056389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-22T13:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029355#M4056390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Vengal said, you Query Designer does not allow us calculate values having different units since it doesn't make sense..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like, adding 10 KG with 10 KL..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Loed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 02:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029355#M4056390</guid>
      <dc:creator>Loed</dc:creator>
      <dc:date>2015-04-23T02:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029356#M4056391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loed, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I having this problem at web report level .. &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;NitinRamola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 08:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029356#M4056391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-23T08:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Function ABS() not working</title>
      <link>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029357#M4056392</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;We can solve this way:&lt;/P&gt;&lt;P&gt;DATA: valor TYPE i,&lt;BR /&gt;           zval TYPE i.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;zval = '-111.1'.&lt;BR /&gt;PERFORM abs USING zval CHANGING valor.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;WRITE valor.&lt;BR /&gt;FORM abs USING p_zval&lt;BR /&gt;          CHANGING p_valor.&lt;BR /&gt;&lt;BR /&gt; IF p_zval LE 0.&lt;BR /&gt;  p_valor = p_zval * -1.&lt;BR /&gt; ELSE.&lt;BR /&gt;  p_valor = p_zval.&lt;BR /&gt; ENDIF.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 15:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mathematical-function-abs-not-working/qaa-p/11029357#M4056392</guid>
      <dc:creator>henrique_costa</dc:creator>
      <dc:date>2021-03-19T15:08:40Z</dc:date>
    </item>
  </channel>
</rss>

