SAP Knowledge Base Article - Public

2852852 - Fields Are Removed when Contact Relationships Is Deleted from Account

Symptom

You notice that some fields on Contact header got deleted when the Contact Relationship from Account was deleted, also that changes were not reflected to the field Changed On on Contact header.

Then, you want to know which fields will be delete when the Contact Relationship is removed from account and why this changes are not reflected to the field Changed On.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Customers work center.
  2. Go to the Accounts view.
  3. Open the account where the contact ABC is maintained as Contact Person on Relationship facet (ABC represents the Contact ID).
  4. Go to the Relationships facet.
  5. Delete the contact ABC from relationships.

Cause

As soon as the root instance of a relationship is deleted, all the workplace details belonging to this relationship are also deleted. And if you had extension fields added to the Root node of BusinessPartnerRelationship they would also be removed.

Also, the Changed On timestamp was not updated when the relationship was deleted because with the deletion of the relationship the contact data changed. The relationship data is stored in an own business-object called "BusinessPartnerRelationship" having an own change-date which is not shown in the header of the contact-TI.

Resolution

This is the expected system behavior.

The list of fields deleted is:

Building, Floor, Room, JobTitle, Function, Department, VIPContact, Phone, Mobile, Fax, Email.

In the Contact-Quick Create you can see this behavior a bit more transparent. Since the relationship is the link between Account and Contact the relationship fields stay read-only until you enter an Account. The relationship can only  exist if Account and contact are provided. This illustrates which fields belong to the relationship.

See Also

2848855 - Some records are displayed in the Contacts Changes facet when no changes where applied to these fields

Keywords

Contact Relationships , KBA , LOD-CRM-CON , Contact , How To

Product

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