on ‎2020 Nov 02 6:26 PM
Dear Experts,
in SAP Cloud for Customer I have built an OData query with report results (Opportunities), but there is an issue which I couldn't solve. The field "Expected Value" according to OData v2 metadata is type of "Edm.Decimal" which is displayed as JSON string. The point is how can I change this Edm.Decimal to be displayed as Integer ?


And here is my result of OData query. As you can see, it is in String format. I want it to be the type of Integer.

Thank you in advance for your feedback !
Regards,
Kacper
Request clarification before answering.
Hello Kacper,
The data type of each field in Odata is defined by design based on its usage in C4C.
Considering this, any change in the way the fileds are displayed would need to be made after the query with a custom converter.
Kind regards,
Leonardo
Support Consultant | SAP Product Support
Community:
SAP Business ByDesign: https://www.sap.com/community/topics/business-bydesign.html
SAP Cloud for Customer: https://www.sap.com/community/topics/cloud-for-customer.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.