Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Rounding off the value with only logic script

$
0
0

Hi BPC experts,

 

I would like to round off the values to 2 decimals when running a currency translation or consolidation (which also requires a currency translation).

 

My logic script is the following :

 

for currency translation :

 

script currency.JPG

 

for consolidation (the screenshot only displays the currency translation part) :

script conso curr.JPG

 

These logic scripts work as for having only 2 decimals but it does not always round off the values in the right way :

 

For instance, I have 723337,19207 euros without the rounding process. Once it is rounded, it shows 723337,20 euros.

 

Normally, it should round to 723337,19 euros.

 

A second example is 164744,739327 euros but when rounded, it displays 164744,73 euros. Normally, it should display 164744,74 euros.

 

 

Therefore, is there something to add to this logic script ? Or is there another solution for rounding off the values ?

 

I also tried the BADI in the How to Guide but it did not work at all. I ran /CPMB/DEFAULT_FORMULAS and linked this package to the logic script defined in the guide but there was 0 record.

 

Please, help me out.

 

Thank in you in advance,

 

Dat


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>