Do you have any question about this error?
Message type: E = Error
Message class: ESH_ENG_CDSVAL_SRCH - ES-CDS/ABAP: Validation of domain @Search
Message number: 012
Message text: 'rankingWeight' '&2' unknown (&1)
Value &V1& indicated for @Search.ranking is not valid.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Check for typographical errors, and use one of the allowed values:
#HIGH, #MEDIUM, #LOW.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_SRCH012
- 'rankingWeight' '&2' unknown (&1) ?The SAP error message ESH_ENG_CDSVAL_SRCH012 typically indicates an issue related to the ranking weight in a search scenario, particularly when using the SAP Enterprise Search or SAP HANA Search functionalities. This error suggests that the system encountered an unknown ranking weight value during a search operation.
Cause:
- Invalid Ranking Weight: The ranking weight specified in the search configuration or query is not recognized by the system. This could be due to a typo, a misconfiguration, or an outdated reference.
- Missing Configuration: The ranking weight may not be defined in the relevant search configuration or may have been deleted or modified without proper updates to the search settings.
- Data Model Changes: Changes in the underlying data model or search configuration that affect how ranking weights are defined or used.
Solution:
- Check Configuration: Review the search configuration settings in the SAP system. Ensure that the ranking weight specified in the error message is correctly defined and exists in the system.
- Update Search Settings: If the ranking weight is missing or incorrect, update the search settings to include the correct ranking weight. This may involve modifying the search model or the associated CDS views.
- Rebuild Index: If changes have been made to the search configuration, consider rebuilding the search index to ensure that all changes are reflected in the search results.
- Consult Documentation: Refer to the SAP documentation for Enterprise Search or the specific module you are working with to understand how ranking weights are defined and used.
- Check for Updates: Ensure that your SAP system is up to date with the latest patches and updates, as this may resolve known issues related to search functionalities.
Related Information:
By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
ESH_ENG_CDSVAL_SRCH011
Unknown annotation '&1'
What causes this issue? Annotation &V1& is not defined in domain @Search.System Response The system issues an error message and will not all...
ESH_ENG_CDSVAL_SRCH010
'termMappingListID' must be annotated at elements
What causes this issue? @Search.termMappingListID can be annotated at a view element only. This implies that the element is an atomic one; not an ass...
ESH_ENG_CDSVAL_SRCH013
Error reading DDIC data of view
What causes this issue? There are problems accessing the DDIC-view corresponding to the CDS-view. This situation should not occur.System Response So...
ESH_ENG_CDSVAL_SRCH014
'defaultSearchElement' requires fulltext index for this data type (&1)
What causes this issue? @Search.defaultSearchElement is annotated at &V1&, an element of string- or binary data type (RSTR, STRG). For these ...
Click on this link to search all SAP messages.