SAP Knowledge Base Article - Preview

2689541 - Structure of Amount Field in OData Service

Symptom

You created a Custom OData Service PQR before 1708 release in system myxxxxxx.crm.ondemand.com Upon executing the OData query, the structure for any of the Amount field XYZ is as below and the data is not populating for the Amount fields.

Example:

<d:AmountReceived m:type="cust.Amount">
<d:currencyCode>USD</d:currencyCode>
<d:content>0.00000</d:content>
</d:AmountReceived>

You created the same Custom OData Service PQR after 1708 release in system myzzzzzz.crm.ondemand.com. Upon executing the OData query, the structure for any of the Amount field XYZ is as below and data appears for the Amount fields.

Example:

<d:AmountReceived>10000.50</d:AmountReceived>
<d:currencyCode>USD</d:currencyCode>

*PQR represents the Custom OData Service
myxxxxxx
and myzzzzzz represents the tenants
XYZ
and AmountReceived represents the Amount fields
USD
represents the currency code


Read more...

Environment

SAP Cloud for Customer

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions

Keywords

Complex Type, ComplexType, Amount, Odata Editor, OData Service Explorer , KBA , complex type , complextype , amount , amount, odata editor , odata service explorer , LOD-CRM-INT-DWB , Data Workbench , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.