SAP Knowledge Base Article - Public

2918666 - Mass Data Run deletion causes error - "The assigned custom business object does not exist"

Symptom

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"

Environment

  • 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.

  1. Log into the Cloud Application Studio 
  2. Open solution "Y123"
  3. Delete "ShadowBO"
  4. Right click on MDR file and delete 
  5. Dump occurs 
  6. Right click on MDR file and check 
  7. Error -  "The assigned custom business object does not exist"
  8. Activate the solution 
  9. Error - "MDRO Accessed Controlled BO inactive or does not exist"

Cause

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.

Resolution

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.

Keywords

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

Product

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