Hi BPC experts,
I got an issue with rounding off the data to 2 decimals.
I used a classic logic script of CTA with Math.round such as explained in http://scn.sap.com/docs/DOC-32411 :
*FOR %TIME%=%TIME_SET%
*RUN_PROGRAM CURR_CONVERSION
CATEGORY=%CATEGORY_SET%
CURRENCY=%RPTCURRENCY_SET%
TID_RA=%TIME%
RATEENTITY=GLOBAL
*ENDRUN_PROGRAM
*WHEN RPTCURRENCY
*IS EUR
*REC(EXPRESSION=Math.round(%VALUE%*100)/100)
*ENDWHEN
When applying this script with a currency translation, I have a 0,01 difference in the account balance. When I remove this script and run again a currency translation, the account balance is 0.
Therefore I have several questions about this situation :
1) Is there anyone who had this situation ? If yes, what did you do ?
I was thinking that we can adjust with a manual journal entry but a non-balanced journal entry is not that great... I would like to know what is the best practice if possible. Besides, if there is a rounding difference for each period, a manual entry is not the right answer.
I checked all the data in the cube or reports but nothing relevant came up... except the fact that a sum of non-rounded values can easily have a difference with rounded values.
2) Is it possible for a logic script to do the following : it would firstly check the account balance if it equals 0 and secondly it will record this rounding difference (if there is one) in a specific account ?
In this case, the logic script would check and find there is 0,01 difference.
Thank you in advance,
Dat