SAP Knowledge Base Article - Public

3095949 - No option to edit elements from Custom CDS view - SAP S/4HANA Cloud Public Edition

Symptom

Trying to edit a Custom CDS View (like deleting an element/editing a Join Condition/adding a parameter), but the edit buttons (such as Add, Apply and Delete) are greyed out.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to "Custom CDS View" app
  2. Open the CDS View to be edited
  3. The Add/Delete/Apply buttons are greyed out

Cause

The CDS View is being used by an object such as a Custom Communication Scenario, Custom Analytical Query or other Custom CDS Views and it's not allowed to change the elements in a CDS View when it is being used by another object. 

Resolution

  1. In the Extensibility Inventory app search for the affected CDS view
  2. In the dependency tree look for any objects which are using the view
  3. Remove the dependencies 
  4. Delete the fields from the CDS view
  5. (Optional) Re-add the view to the objects

See Also

2997519 - Not possible to delete elements inside a Custom CDS View - SAP S/4HANA Cloud Public Edition - SAP for Me

Keywords

delete field element custom cds view grey gray disabled communication scenario dependency used by can't delete element unable to remove dimension  , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud Public Edition all versions