Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 015
Message text: &1: 'usageMode #AUTO_FACET' cannot be used with data type &2
Annotation @EnterpriseSearch.usageMode: #AUTO_FACET cannot be used with
elements of data type STRING.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Remove the annotation.
Theoretically, the underlying data type could be changed so that facets
can be built for the element.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES015
- &1: 'usageMode #AUTO_FACET' cannot be used with data type &2 ?The SAP error message ESH_ENG_CDSVAL_ES015 typically occurs in the context of SAP's Enterprise Search or the SAP HANA database when there is an issue with the configuration of a Core Data Services (CDS) view or a search model. The error message indicates that a specific usage mode (#AUTO_FACET) cannot be used with the specified data type.
Cause: The error is caused by a mismatch between the usage mode specified in the CDS view or search model and the data type of the field being used. The #AUTO_FACET usage mode is intended for fields that can be used as facets in search results, but not all data types are compatible with this mode. For example, certain complex data types or unsupported types may trigger this error.
Solution: To resolve this error, you can take the following steps: Check Data Type: Review the data type of the field that is causing the error. Ensure that it is
Get instant SAP help. Sign up for our Free Essentials Plan.
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 ...
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_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_ES017
'defaultValueSuggestElement' without '@Search.defaultSearchElement' (&1)
What causes this issue? The system issues an error message and will not allow you to continue with this transaction until the error is resolved. Syst...
Click on this link to search all SAP messages.