SAP Knowledge Base Article - Public

3360546 - Error when replicating GeographicalCoordinates to C4C

Symptom

You replicate GeographicalCoordinates information under service interface BusinessPartnerReplicationIn and you encounter error message "The value '‫XX.XXXXX‬' is not within the value range of the XML schema type 'decimal' or it goes against a limitation" in C4C.

Environment

  • SAP Cloud for Customer 

Reproducing the Issue

  1. Trigger replication from external system
  2. Find the LatitudeMeasure and/or LongitudeMeasure field(s) filled in the payload in Admin -> Webservice Message Monitoring
  3. Find the error message "The value '‫XX.XXXXXX‬' is not within the value range of the XML schema type 'decimal' or it goes against a limitation"

Cause

The GeographicalLocation is not provided in standard. However, the causes could be one of the following or both:

  1. The field XX.XXXXXX contains non-decimal characters. As the XSD data type for this field is Decimal, it is crucial to ensure that the correct format is used in your custom mapping. 
  2. The field XX.XXXXXX contains extra comma like 'XXX,XXX.XX'.

Resolution

Resolution to causes:

  1. Remove non-decimal character and send XX.XXXXXX as accepted units in C4C. Please have a look into note 2748269.
  2. Remove extra comma. Please have a look into note 3225204.

See Also

  • 2748269 - Values in Replicated Business Partner Payload Not Showing in Longitude and Latitude Fields
  • 3225204 - Special Character Rejected During Replication To C4C

Keywords

LatitudeMeasure, LongitudeMeasure, GeographicalLocation, GeographicalCoordinates, BusinessPartnerReplicationIn  , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , Problem

Product

SAP Cloud for Customer core applications all versions