Symptom
Unable to remove a key field from CDS view.
Environment
SAP S/4HANA Cloud Public Edition 1905
Reproducing the Issue
-
Using Custrom CDS tile application, create a CDS view
- Data Source use any CDS view
- Key fields are added automatically
- Unable to remove key field
Cause
This is expected behavior.
Resolution
When a Custom CDS View is in use by other objects e.g. by analytical query, the key of custom CDS View cannot be changed anymore. Otherwise it would be an incompatible change. Custom CDS View must have at least one key field.
Keywords
Incompatible change, key field CDS views , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem
Product
SAP S/4HANA Cloud 1905