Semantic key element &1 is unknown or hidden.
Message type: E = Error
Message class: SADL_GW_DT_CDS - Messages CDS Checks
Message number: 012
Message text: Semantic key element &1 is unknown or hidden.
What causes this issue?
The element used in the semantic key annotation is invalid. Only
elements that are exposed in the CDS view and that are not annotated as
'@Consumption.hidden' can be used as semantic key.
System Response
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
How to fix this error?
Use a valid element at the semantic key annotation in the CDS view.
Procedure for System Administrators
Contact the corresponding developer of the CDS view to correct the
error.
Error message extract from SAP system. Copyright SAP SE.
Related Error Messages
SADL_GW_DT_CDS011 Annotation '@ObjectModel.semanticKey' is required for UUID-based models.
SADL_GW_DT_CDS010 Do not use annotation &1 on subnode.
SADL_GW_DT_CDS013 The syntax of the semantic key is invalid.
SADL_GW_DT_CDS014 Transient field &1 requires the annotation '@ObjectModel.readOnly'.