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

Script Logic rounding small values (below 0.5) to 0 automatically

$
0
0

Hello folks,

 

I hope you are doing fine.

I have a problem that is plaguing a planning application I'm developing.

The issue is the following:

I am using the SAP BPC 10 NW version.

I have one account named Acc1. I have also another account named Acc2. The first account gets data from an input schedule and the kind of data that resides in this account is percentage values. So all the data is below 1 and can be anything from 0.01 to 0.999 to 1.

I have a default logic that does the following:

 

*WHEN ACCOUNT

*IS Acc1

    *WHEN UOM

    *IS Percentage

        *REC(EXPRESSION = %VALUE%, MINING_ACCOUNT = Acc2)

    *ENDWHEN

*ENDWHEN

 

The issue is that whenever the value of Acc1 is greater than 0.5, then Acc2 is containing the same value. If the value of Acc1 is less than 0.5, then Acc2 is getting filled with 0.

 

How can I remedy this? I have tried to see if there is a setting or a certain rounding function to solve it with no luck, so I'm turning to you

 

Thank you in advance!


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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