on 10-20-2010 9:44 PM
Hello All,
I am using the SUM function in my mapping and summation happens as expected for normal small amounts.
If i provide big digits and cents,Some times i dont know why it is giving wrong sum, difference in cents
Is there any thing to do with that?
Regards
Is there any thing to do with that?
If you are in XI3.0 then yes there is an issue that Arithmetic and Statistical Functions does not work properly.
Basically you need to create below string in your exchangeProfile.
com.sap.aii.mappingtool.flib3.bigdecimalarithmetic = true
for more information have a look into this blog.. /people/thorsten.nordholmsbirk/blog/2006/08/25/new-arithmetic-and-statistical-functions-in-message-mappings-in-sp18
I had faced the same problem and solved it by configuring the above string.
Note: You have to re-start the JAVA Server after doing above configuration.
Other temporary solution is to use UDF with BigDecimal method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its the java math error . Convert the numbers to BigDecimal . Also scale up or down the decimal if you want .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.