Symptom
If a contact is deleted using the Obsolete Contact Deletion process, all Sales Order Party Roles in the sales orders will get anonymized.
Environment
SAP Cloud for Customer.
Reproducing the Issue
- Go to the Data Protection and Privacy work center
- Go to the Personal Data Removal view
- Change the filter to Contact
- Search for Contact ABC (Where ABC refers to the Contact Name. The Contact is also obsolete and in a Sales Order 123)
- Select Remove Data
- Check Sales Order 123.
Result: It appears as XXXXX. All the relevant party roles also become anonymous (but not deleted), and the document status becomes 'AN'.
Cause
Expected behavior of the system.
Contacts are handled like a party they are assigned to. This means, if a contact to be destroyed is linked to a veto relevant party also all the relevant party roles will be made anonymous, and the document gets status 'AN'.
Example:
- Individual accounts A1 with contact C1
- A transactional document D1 has account and bill-to A1, Employee E1 and account's A1 contact C1.
- Data destruction for C1 at timepoint t1 will have the following result:
- C1 party ID and address snapshot are made anonymous ('XXXXXXXXXX')
- A1 party ID and address snapshot are made anonymous ('XXXXXXXXXX') for roles account, bill-to, etc.
- E1 party ID and address snapshot for role employee are also made anonymous ('XXXXXXXXXX')
- Description, texts, change documents, etc. in D1 are destroyed
- D1 gets lifecycle status 'AN' (made anonymous)
- C1 incl. address are destroyed in master data
- A1 is NOT destroyed in master data
- E1 is NOT destroyed in master data
If in the given example transactional document contact C1 is assigned to employee E1 and not to account A1, only the employee's contact instance will be made anonymous. All other data (parties, descriptions, etc.) will not be touched and D1 does NOT get lifecycle status 'AN' (made anonymous).
Resolution
If the feature/functionality is required urgently, please refer to KBA 3475641 - Functionality Currently not Available.
An alternative option may be to check the corresponding SAP Customer Influence Site to submit an idea:
Keywords
obsolete contact, remove data, personal data removal, XXXXXXXXXX, anonymous , KBA , LOD-LE-RC-PAP , Party Processing , Problem
SAP Knowledge Base Article - Public