SAP Knowledge Base Article - Public

3768836 - contact email update does not initiate contact root collection; only business partner relationship event is sent, sap cloud for customer

Symptom

  • During contact creation, both Contact Root Collection and Business Partner Relationship Collection are sent successfully.
  • When only the contact email is updated, the Contact Root Collection is not sent; only the Business Partner Relationship Collection is sent.
  • Downstream systems relying on the contact root do not receive the updated email via the expected contact API flow.

Environment

  • SAP Cloud for Customer
  • Event Notifications

Reproducing the Issue

  1. Create a new contact with an id in the C4C system.
  2. Open the OData monitor or the event notification monitor.
  3. Verify the outbound payload generated during contact creation.
  4. Update only the contact email.
  5. Check the outbound behavior in the OData monitor or event notification monitor again.
  6. Observe that only the BusinessPartnerRelationshipCollection event is sent; the ContactCollection root event is not sent.

Cause

  • Current limitation: event notifications do not publish updates for dependent objects as contact root updates.
  • The email address is maintained under the Business Partner relationship (dependent object), not at the contact root node; therefore, an email-only change results in a BusinessPartnerRelationship event, not a Contact root event.

Resolution

  1. Note the limitation: contact root event is not sent for email-only updates. Use the Business Partner relationship event to resolve the contact context.
  2. From the event notification payload of type BusinessPartnerRelationship.Root.Updated, copy the data.root-entity-id value.
  3. Query OData entity BusinessPartnerRelationshipCollection('') and read the SecondBusinessPartnerID.
  4. Query OData entity ContactCollection with filter ContactID eq '' to retrieve the contact.
  5. Validate the match by checking fields such as EntityLastChangedOn and confirming the updated email on the contact record.

Keywords

event notifications, contact root collection, business partner relationship, email update, dependent object , KBA , LOD-CRM-CMN-EVT , C4C: Event Notifications , Problem

Product

SAP Cloud for Customer core applications all versions