SAP Knowledge Base Article - Public

3445887 - Error Message "Error for validity periods of address usages" For Business Partner Replication to C4C

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

  1. Go to the Administrator work center.
  2. Go to the General Setting work center view.
  3. Open the Web Service Message Monitoring under System Administration.
  4. Select query Erroneous.
  5. 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

Integration Guide SAP Cloud for Customer

Prepackaged Integration with SAP S/4HANA

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

Product

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