Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to pass decimal data to Netweaver OData service from JSON input


I have a POST service and I am trying to send some some data to the webservice using JSON format. In my input, only the decimal fields are not getting passed to the service. The Edm type of those fields is Decimal (13,3).

My JSON input is as follows:

"Item":[{"Field1":"xxxxx",    "Field2":"yyyy",   "DecimalField1":"1.000",         "DecimalField2":"2.000""DecimalField3":"3.000"}]

Please tell me whether I need to change the format of the decimal fields in the input.


Helpful Answer

Not what you were looking for? View more on this topic or Ask a question