Do you have any question about this error?
Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 010
Message text: 'usageMode' '&2' unknown (&1)
An invalid value is used for annotation @EnterpriseSearch.usageMode.
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 correct the input, using one of the
valid values: #ADVANCED_SEARCH, #AUTO_FACET, #SUGGESTION.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES010
- 'usageMode' '&2' unknown (&1) ?The SAP error message ESH_ENG_CDSVAL_ES010 typically indicates that there is an issue with the usage mode specified in a CDS (Core Data Services) view or a related configuration. This error can occur in various scenarios, particularly when working with SAP HANA or SAP BW/4HANA environments.
Cause:
- Invalid Usage Mode: The error suggests that the specified usage mode (
&2
) is not recognized or is invalid. This could be due to a typo, an unsupported mode, or a mode that has not been defined in the system.- Configuration Issues: There may be issues with the configuration of the CDS view or the associated data model that leads to the usage mode not being recognized.
- Version Mismatch: If you are using a version of SAP that does not support certain usage modes, this error may occur.
- Transport Issues: If the CDS view or its dependencies were transported from another system, there may be inconsistencies in the configuration.
Solution:
- Check Usage Mode: Verify the usage mode specified in your CDS view or query. Ensure that it is correctly spelled and is a valid mode supported by your version of SAP.
- Review Documentation: Consult the SAP documentation for the specific version you are using to understand the valid usage modes and their implications.
- Adjust Configuration: If the usage mode is indeed invalid, you may need to adjust the configuration of the CDS view or the associated data model to use a valid mode.
- Transport Consistency: If the issue arose after a transport, check the transport logs and ensure that all necessary objects and configurations were transported correctly.
- System Update: Ensure that your SAP system is up to date with the latest patches and updates, as this may resolve compatibility issues with usage modes.
Related Information:
If the problem persists after trying the above solutions, it may be beneficial to reach out to SAP support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
ESH_ENG_CDSVAL_ES009
'commonAttributes' must be annotated at an element
What causes this issue? @EnterpriseSearch.commonAttributes can be annotated at a view element only.System Response The system issues an error messag...
ESH_ENG_CDSVAL_ES008
'presentationMode' must be annotated at an element
What causes this issue? @EnterpriseSearch.presentationMode can be annotated at a view element only.System Response The system issues an error messag...
ESH_ENG_CDSVAL_ES011
'presentationMode' '&2' unknown (&1)
What causes this issue? An invalid value is used for annotation @EnterpriseSearch.presentationMode.System Response The system issues an error messag...
ESH_ENG_CDSVAL_ES012
@EnterpriseSearch-annotations require 'enabled' for the view
What causes this issue? There is some annotation of domain @EnterpriseSearch, but the view itself does not carry the annotation @EnterpriseSearch.ena...
Click on this link to search all SAP messages.