on 08-18-2017 9:15 AM
Hi,
I'm just starting my first project with oData services and SAPUI5, after creating the first entity typs I'm facing a problem concerning decimal values.
I have created an entity type with edm.decimal core types. They are nullable, having prec. 8 and scale of 2 or 7 and 3 . The corresponding ABAP data types are 'CURR' oder 'QUAN'.
If I test the service for getting the single entity I receive the following error:
"Unable to interpret 0,01 as a number".
After changing the decimal separator of my user in the SU01 to '.' everything works fine. But in my opinion there must be a better way. I can't believe that I have to change every user in a company working in, for example germany to decimal separator '.'.
Do you have another solution for this problem?
Thank you for your help
Thomas
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
7 | |
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.