Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 017
Message text: 'defaultValueSuggestElement' without '@Search.defaultSearchElement' (&1)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
The element is annotated as
@EnterpriseSearch.defaultValueSuggestElement, but there is no annotation
@Search.defaultSearchElement at the same element. The
suggestion-relevant elements tend to be a subset of the elements used in
freestyle search.
Check whether @EnterpriseSearch.defaultValueSuggestElement should be
removed here, or whether @Search.defaultSearchElement should be added.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES017
- 'defaultValueSuggestElement' without '@Search.defaultSearchElement' (&1) ?The SAP error message ESH_ENG_CDSVAL_ES017 indicates that there is an issue with the configuration of a Core Data Services (CDS) view, specifically related to the default search element. This error typically arises in the context of SAP's Enterprise Search or SAP HANA when a CDS view is expected to have a default search element defined, but it is missing.
Cause: The error occurs when: A CDS view is defined for search purposes but does not have the @Search.defaultSearchElement annotation specified. The system is trying to suggest a default value for a search element that is not properly configured.
Solution: To resolve this error, you need to ensure that the CDS view has the appropriate annotations defined. Here are the steps to fix the issue: Check the CDS View Definition: Open the CDS view in the ABAP Development Tools (ADT) or the relevant development environment. Look for the annotations section in the CDS view definition. Add the Default Search Element Annotation: If
Get instant SAP help. Sign up for our Free Essentials Plan.
ESH_ENG_CDSVAL_ES016
Unknown annotation '&1'
What causes this issue? Annotation &V1& is not defined in domain @EnterpriseSearch.System Response The system issues an error message and wi...
ESH_ENG_CDSVAL_ES015
&1: 'usageMode #AUTO_FACET' cannot be used with data type &2
What causes this issue? Annotation @EnterpriseSearch.usageMode: #AUTO_FACET cannot be used with elements of data type STRING.System Response The sys...
ESH_ENG_CDSVAL_ES018
Use 'technicalDescription' with character-format only (&1)
What causes this issue? @EnterpriseSearch.technicalDescription denotes that the element contains descriptions, but of a kind that cannot be processed...
ESH_ENG_CDSVAL_ES019
At least 1 'presentationMode' TITLE required
What causes this issue? @EnterpriseSearch.presentationMode defines how a search result is displayed in a generic search UI. Without this annotation, ...
Click on this link to search all SAP messages.