Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 001
Message text: 'enabled' must be annotated at a view
@EnterpriseSearch.enabled can be annotated at view level 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 except for the view level.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES001
- 'enabled' must be annotated at a view ?The SAP error message ESH_ENG_CDSVAL_ES001 indicates that a certain view in your Core Data Services (CDS) definition is missing the required annotation for the enabled property. This error typically arises when you are working with CDS views in the context of SAP's Enterprise Search or other applications that rely on CDS views for data retrieval.
Cause: The error occurs because the CDS view you are trying to use does not have the @Search.enabled annotation defined. This annotation is necessary to indicate that the view is intended to be used in search scenarios, and it must be explicitly set to true to enable the view for search functionalities.
Solution: To resolve this error, you need to add the @Search.enabled annotation to your CDS view definition. Here’s how you can do it: Open the CDS View: Locate the CDS view in your ABAP Development Tools (ADT) or in the relevant development environment. Add the Annotation: At the top
Get instant SAP help. Sign up for our Free Essentials Plan.
ESH_ENG_CDSVAL_ES000
CDS-Domain @EnterpriseSearch
What causes this issue? CDS: Checks on annotations of domain @EnterpriseSearchSystem Response Views annotated with this domain result in search conn...
ESH_ENG_CCMS006
&1&2&3&4
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ESH_ENG_CDSVAL_ES002
Parameter &1: No fitting @Environment.systemField-annotation
What causes this issue? It does not make sense to use view parameters in general with search views; they are used in a generic application which cann...
ESH_ENG_CDSVAL_ES003
Annotation &1 is obsolete; use &2
What causes this issue? Meanwhile, the semantics formerly expressed by annotation &V1& of domain @EnterpriseSearch is available in a general,...
Click on this link to search all SAP messages.