Error will be seen while saving a custom CDS View: "Define one key field as representative key field"
SAP S/4HANA Cloud
Reproducing the Issue
- Create a new custom CDS view
- Define this to be Analytics (Dimension)
- At this point you will see the error: "Define one key field as representative key field"
For an analytic dimension CDS view, one representative key field must be defined
- Pick one of the fileds, of field type "Field" and change it to be field type "Representative Key"
- There is a known issue where the field type automatically returns to type "Field", which is under investigation
Automatic Automatically Dimension Analytics Analytical , KBA , no representative key , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem