Symptom
You are unable to delete some business partners, even though both requirements: status Obsolete and a change date that is older than 6 days are met.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Administrator work center
- Click on Background Jobs
- Select All Failed Jobs
- Click on View Job Log
- Watch out for MDRO: ILM_OBSOLETE_BUPA_DELETION_RUN with the following error message: Action EXECUTE not possible; action is disabled, MDRO executed with error(s), Job cancelled after system exception ERROR_MESSAGE Job log for run ZZZ (where ZZZ is the job name)
- Take note of Run ID
- Go to Data Protection and Privacy work center
- Click on Common Tasks
- Click on Administer Data Removal Runs
- Search for Run ID
- Note: Removal Failed is set to Yes
- Select the entry
- Click on Application Log ID
- Go to tab Results
- Click on the arrow next to the description to see the full error message
- Locking object not possible: COD_PTF_FEED_SOURCE / ROOT / UUID ZZZ
Cause
The lock error is occurring due to multiple business partners being deleted at the same time, as this process occurs in parallel. During the parallel removal, it may occur that two or more runs try to acquire edit lock on some commonly used business documents. In such cases, only one of the runs can get into edit lock, while all other runs that try to acquire lock will fail with the error message Locking object not possible. So, if two business partners at any time use the same business documents, it will fail.
Resolution
The suggestion for this scenario is to remove the business partners which are failing in a sequential mode. This means that you have to trigger a removal for these business partners one at a time.
Keywords
Delete accounts, delete contacts, delete individual customers , KBA , AP-RC-ILM-RET , Retention Management , Problem