on 07-23-2015 12:33 PM
Hi everyone,
Recently we've updated our test SAP B1 to PL07... and of course all addons crashed right away (SAP - I love you so )! The reason - "Cannot convert from Net.Decimal". I looked in Hana Studio and got horrified - all the DECIMAL values (including system fields) had a fixed precision: DECIMAL(21,6). (A bunch of unprintable words here ...) So here is the question - is it any way to return the good old-time floating point DECIMAL.
Regards, Evgeny.
thank you very much evgeny for sharing this with us.
we are using PL 06, and it's really good to know this in advance.
may i ask you if it was in some way announced in the changelog / new features list of the upgrade?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Yesterday I searched for any hints of this new "surprise" feature in sap notes, forums ..., and found nothing. Looks like SAP just forgot to warn the developers of this "negligible" modification)) In my case, I just ALTERed columns' defenition back to the floating point in all UDO-tables, the addons started working again. Rude, but I had no choise - it's hard to rewrite thousands lines of well tested code)) Moreover, I used decimal to gain a high precision of arithmetic operations on finance fields, taking in account that we needed to convert prices and amounts between several currencies. Floating point DECIMAL was the best choise for such opperations until PL07, which cut away any precision))
Regards, Evgeny.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.