Message type: E = Error
Message class: ESH_ENG_CDSVAL_SRCH - ES-CDS/ABAP: Validation of domain @Search
Message number: 001
Message text: At least one element has to be set as 'defaultSearchElement'
The view is defined as searchable by annotation @Search.searchable, but
none of its elements is annotated as relevant for a free-style search.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If you want the view to be searchable, add annotation
@Search.defaultSearchElement for a few elements that are to be
considered in a free-style search.
If you do not want the view to be searchable, remove all annotations of
domain @Search.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_SRCH001
- At least one element has to be set as 'defaultSearchElement' ?The SAP error message ESH_ENG_CDSVAL_SRCH001 indicates that in the context of the SAP Enterprise Search (SAP ESH), at least one element must be designated as the 'defaultSearchElement' in the configuration of the search model. This is a common issue when setting up or modifying search models in SAP ESH.
Cause: The error occurs when: You have defined a search model but have not specified which element should be treated as the default search element. The configuration of the search model is incomplete or incorrect, leading to the system not knowing which field to prioritize for search queries.
Solution: To resolve this error, you need to ensure that at least one element in your search model is set as the 'defaultSearchElement'. Here are the steps to do this: Access the Search Model Configuration: Go to the SAP system and navigate to the relevant transaction for managing search models (e.g., transaction code EHS_SEARCH or through the SAP Fiori Launchpad). Edit the
Get instant SAP help. Sign up for our Free Essentials Plan.
ESH_ENG_CDSVAL_SRCH000
CDS-domain @Search
What causes this issue? CDS: Checks on annotations of domain @SearchSystem Response The system issues an error message and will not allow you to con...
ESH_ENG_CDSVAL_ES066
DDIC-type of element &1 does not fit to ConfigurationSet IDSEARCH
What causes this issue? The configuration set IDSEARCH - annotated via @EnterpriseSearch.configurationSet at element &V1& - can be used only ...
ESH_ENG_CDSVAL_SRCH002
'ranking' should be set somewhere as 'HIGH'
What causes this issue? None of the view's elements is defined as relevant for ranking via attribute weights, or none of the elements is defined...
ESH_ENG_CDSVAL_SRCH003
'fuzzinessThreshold' less than &2 is questionable (&1)
What causes this issue? For a fuzzy search, the threshold has to be defined. A threshold of 1 equals an exact search, a threshold of 0 finds simply e...
Click on this link to search all SAP messages.