Symptom
You are replicating Business Partner to C4C and it is failing in the web service message monitoring tool with the error "Error for validity periods of address usages".
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration.
- Select query Erroneous.
- You will face web service messages failing with Detailed Text Error: "Error for validity periods of address usages".
Cause
Upon examining the incoming payload for BusinessPartnerReplicationIn in the C4C system, you will notice that the node AddressUsage is stored as:
<AddressUsage actionCode="04">
<AddressUsageCode>XXDEFAULT</AddressUsageCode>
<DefaultIndicator>true</DefaultIndicator>
</AddressUsage>
Nonetheless, within the standard mapping in the CPI, the ValidityPeriod is duly maintained. As it has not been transferred to C4C, resulting in operational failures there.
Therefore, since the ValidityPeriod data is missing, it results in failures in C4C.
Resolution
To resolve the issue, you need to modify the data sent to C4C. Ensure that the node ValidityPeriod is accurately populated under AddressUsage node, for BusinessPartnerReplicationIn service interface, during the replication process with a legitimate date range.
See Also
Keywords
ValidityPeriod; AddressUsage; C4C; Cloud for Customer; BusinessPartnerReplicationIn; "Error for validity periods of address usages"; , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , How To