You have tried to delete the MDR resulting in the error - "The assigned custom business object does not exist"
You have activated the solution, resulting in the error - "MDRO Accessed Controlled BO inactive or does not exist"
- SAP Cloud Application Studio
- SAP Cloud For Customer
Reproducing the Issue
Prerequisite: You have created a custom solution "Y123" and a custom business object "ShadowBO". You have added a Mass Data Run (MDR) to the business object.
- Log into the Cloud Application Studio
- Open solution "Y123"
- Delete "ShadowBO"
- Right click on MDR file and delete
- Dump occurs
- Right click on MDR file and check
- Error - "The assigned custom business object does not exist"
- Activate the solution
- Error - "MDRO Accessed Controlled BO inactive or does not exist"
The MDR throws an error because the "assigned custom business object does not exist".
In other words because the Business Object was removed before the MDR file (which has a dependency to the business object) trying to delete the file then results in an error due the dependency that is now missing.
To avoid this issue, you must ensure to delete the MDR before deleting the "ShadowBO".
The MDR file is now in an inconsistent state, due to the deletion of its referenced objects (business object and query). Development Colleagues will have to "clean up" the inconsistency and remove the MDR file manually in the back end.
Mass Data Run, delete, The assigned custom business object does not exist, SDK, PDI, MDRO Accessed Controlled BO inactive or does not exist , KBA , AP-RC-BDS-MDR , ByDesign Studio Mass Data Run , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , Problem