Skip to Content
avatar image
Former Member

EDM.Decimal decimal separator problem


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


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers