Symptom
Event notification is not initiated for changes on the Contact business object when updating phone number or email address fields.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Work Center "Administrator"
- Open Work Center View "General Settings".
- Open "Event Notification".
- Create an event for the business object “Contact”, include all nodes and enable the “UPDATED” flag.
- Go to Work Center Customers
- Open Work Center View "Contacts"
- Change the phone number, email address, or the name of any contact.
- Go to Work Center "Administrator"
- Open Work Center View "General Settings"
- Open "Event Monitoring" and observe that an event is generated for name changes, but not for phone or email updates.
Cause
Subscriptions are based on business object models. The address /communication attributes (phone, email) for a contact belong to the BUSINESS_PARTNER_RELATIONSHIP business object, not to CONTACT business object.
Therefore, when only address /communication data is changed, subscriptions registered solely on CONTACT updates do not apply, so no event is raised.
Resolution
Extend the subscription to include updates on BUSINESS_PARTNER_RELATIONSHIP:
- Node: Contact Person
- Node: Contact Person Workplace Address Information
Be aware that events raised from these nodes provide the root node id of BUSINESS_PARTNER_RELATIONSHIP in the payload (not the CONTACT id).
If contact data is required, retrieve it using the OData service "CorporateAccountHasContactPerson" with the provided id.
See Also
- KBA 3476107 - Workflow for Contact Business Object is Not Initiated When Updating Phone, Mobile or E-mail Field
- KBA 2921971 - Unable To Select Standard Fields for Event Notification
- KBA 3031710 - Required fields are not visible in Event Notification
- KBA 3386325 - Event notification is not initiated when creating objects via Data Workbench
Keywords
contact, event notification, updated, update, phone number, email address, communication data, business partner relationship, contact person, workplace address, event monitoring, subscription, node, odata, CorporateAccountHasContactPerson , KBA , LOD-CRM-CMN-EVT , C4C: Event Notifications , Problem
SAP Knowledge Base Article - Public