Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 009
Message text: 'commonAttributes' must be annotated at an element
@EnterpriseSearch.commonAttributes can be annotated at a view element
only.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Remove the annotation wherever it does not relate to a view element.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES009
- 'commonAttributes' must be annotated at an element ?The SAP error message ESH_ENG_CDSVAL_ES009 indicates that there is a problem with the definition of a Core Data Services (CDS) view in your SAP system. Specifically, it suggests that the commonAttributes annotation is missing from an element in your CDS view definition.
Cause: The error typically arises when you are defining a CDS view and you have not properly annotated an element that is expected to have the commonAttributes annotation. This annotation is used to define common attributes for fields in the CDS view, which can be important for various functionalities, such as search and analytics.
Solution: To resolve this error, you need to ensure that the relevant elements in your CDS view are properly annotated with the commonAttributes annotation. Here are the steps you can take: Identify the Element: Review the CDS view definition to identify which element is missing the commonAttributes annotation. Add the Annotation: Modify the CDS view definition to include the commonAttributes
Get instant SAP help. Sign up for our Free Essentials Plan.
ESH_ENG_CDSVAL_ES008
'presentationMode' must be annotated at an element
What causes this issue? @EnterpriseSearch.presentationMode can be annotated at a view element only.System Response The system issues an error messag...
ESH_ENG_CDSVAL_ES007
'usageMode' must be annotated at an element
What causes this issue? @EnterpriseSearch.usageMode can be annotated at a view element only.System Response The system issues an error message and w...
ESH_ENG_CDSVAL_ES010
'usageMode' '&2' unknown (&1)
What causes this issue? An invalid value is used for annotation @EnterpriseSearch.usageMode.System Response The system issues an error message and w...
ESH_ENG_CDSVAL_ES011
'presentationMode' '&2' unknown (&1)
What causes this issue? An invalid value is used for annotation @EnterpriseSearch.presentationMode.System Response The system issues an error messag...
Click on this link to search all SAP messages.