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
- Go to "Custom CDS View" app
- Open the CDS View to be edited
- 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
- In the Extensibility Inventory app search for the affected CDS view
- In the dependency tree look for any objects which are using the view
- Remove the dependencies
- Delete the fields from the CDS view
- (Optional) Re-add the view to the objects
See Also
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