Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 012
Message text: @EnterpriseSearch-annotations require 'enabled' for the view
There is some annotation of domain @EnterpriseSearch, but the view
itself does not carry the annotation @EnterpriseSearch.enabled.
The system ignores all element-level annotations of @EnterpriseSearch;
they are not even validated. No Enterprise Search connector is activated
from this view.
If you want the view to be consumable by Enterprise Search, then add
annotation @EnterpriseSearch.enabled on the view-level.
If you do not want the view to be consumable by Enterprise Search, then
remove all annotations of domain @EnterpriseSearch or annotate the view
explicitly with @EnterpriseSearch.enabled: false.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES012
- @EnterpriseSearch-annotations require 'enabled' for the view ?The SAP error message ESH_ENG_CDSVAL_ES012 indicates that the Enterprise Search annotations are not enabled for a specific Core Data Service (CDS) view. This error typically arises when you are trying to use a CDS view in the context of Enterprise Search, but the necessary annotations that allow the view to be searchable are not properly configured.
Cause: The error occurs because the CDS view lacks the required annotations that enable it for Enterprise Search. Specifically, the annotation @Search.searchable or similar annotations that indicate the view is intended for search purposes are missing or not set to 'enabled'.
Solution: To resolve this error, you need to ensure that the CDS view is properly annotated for Enterprise Search. Here are the steps to do this: Open the CDS View: Use the ABAP Development Tools (ADT) in Eclipse or the SAP GUI to access the CDS view that is causing the error. Add Annotations: Ensure that the following annotations
Get instant SAP help. Sign up for our Free Essentials Plan.
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...
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_ES013
Key field &1 is not from table &2, as the others
What causes this issue? The search engine needs all key fields to come from the same data base table; including the client field. This is not the cas...
ESH_ENG_CDSVAL_ES014
'@ObjectModel.semanticKey': Unknown element &1
What causes this issue? Annotation @ObjectModel.semanticKey lists the view's elements that form the key from a semantic perspective. Enterprise ...
Click on this link to search all SAP messages.