Hi Vadim,
I applied your method with input form and UJKT transaction.
1) I used an input form and put the amount in a empty base-level account. the *XDIM_MEMBERSET is set to scope this account.
2) Then, I separated the two logic scripts :
a) I firstly applied logic script with *REC(EXPRESSION=%VALUE%).
This leads to 723337,19 and not 723337,19207 in UJKT. The BADI from the How To Guide is still active although it is not supposed to work. Does this BADI only apply to data coming from input form ? Is it why it only displays 2 decimals ?
b) Secondly, the rounding logic script gives the expected result (with the right rounding). It does change the original amount to 2 decimals. the first logic script displays 2 decimals but still keeps the 5 original decimals when I refresh data.
3) Is there any way to copy-paste in SAP forums ?
Here is my logic script with rounding for consolidation :
*RUN_PROGRAM CURR_CONVERSION
CATEGORY = %CATEGORY_SET%
GROUP = %SCOPE_SET%
TID_RA=%TIME_SET%
RATEENTITY=GLOBAL
INCREMENTAL MODE=
*ENDRUN_PROGRAM
*RUN_PROGRAM CONSOLIDATION
CATEGORY=%CATEGORY_SET%
GROUP=%SCOPE_SET%
TID_RA=%TIME_SET%
*ENDRUN_PROGRAM
*WHEN RPTCURRENCY
*IS EUR
*REC(EXPRESSION=(1*(%VALUE%).toFixed(2)))
*ENDWHEN
Dat