SAP Knowledge Base Article - Public

3384170 - Error message "Custom CDS View XXX is currently in use and therefore cannot be deleted" when trying to delete a Custom CDS View - SAP S/4HANA Cloud

Symptom

When trying to delete a Custom CDS View, error "Custom CDS View XXX is currently in use and therefore cannot be deleted" occurs.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Go to Custom CDS Views app.
  2. Select the Custom CDS View which needs to be deleted.
  3. Click on "Delete" button.
  4. Error message is triggered.

Cause

The Custom CDS View has dependencies that need to be handled before deleting the view.

Resolution

Remove the dependencies of the Custom CDS View before deleting it.

See Also

KBA 2997519 - Not possible to delete elements inside a Custom CDS View

Editing Custom CDS Views

Keywords

custom CDS views, delete, remove, used, dependencies, dependent, items, views , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions