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: 020
Message text: 'presentationMode' HIDDEN cannot be combined with others (&1)
While the other presentation modes - like #TITLE, #SUMMARY - can be used
at the same time, presentation mode #HIDDEN is mutually exclusive with
all other presentation modes. Its meaning is to push the attribute to
the client, but to hide it from being displayed at the UI.
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 attribute to be displayed, remove presentation mode
#HIDDEN.
If you want the attribute not to be displayed, remove the other
presentation modes annotated at the respective element.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES020
- 'presentationMode' HIDDEN cannot be combined with others (&1) ?The SAP error message ESH_ENG_CDSVAL_ES020 typically occurs in the context of SAP's Enterprise Search or when working with Core Data Services (CDS) views. This error indicates that there is a conflict in the presentation mode settings of the CDS view, specifically that the
HIDDEN
presentation mode cannot be combined with other modes.Cause:
The error arises when you attempt to define a field in a CDS view with the
HIDDEN
presentation mode while also trying to use other presentation modes (likeDEFAULT
,FILTER
, etc.) for the same field or in the same context. TheHIDDEN
mode is intended to make a field invisible in the user interface, and it cannot coexist with other modes that imply visibility or interaction.Solution:
To resolve this error, you should review the definition of your CDS view and the presentation modes assigned to the fields. Here are steps you can take:
Check Field Definitions: Look at the fields in your CDS view and identify which ones are set to
HIDDEN
. Ensure that no other presentation modes are being applied to the same fields.Modify Presentation Modes: If you need a field to be
HIDDEN
, ensure that it is not combined with other presentation modes. If you need the field to be visible or interactive, consider removing theHIDDEN
mode.Review Annotations: If you are using annotations to define presentation modes, ensure that they are correctly specified and do not conflict with each other.
Test Changes: After making the necessary adjustments, activate the CDS view and test it to ensure that the error is resolved.
Related Information:
DEFAULT
, FILTER
, HIDDEN
, etc.If you continue to experience issues after following these steps, consider reaching out to your SAP support team or consulting the SAP Community for further assistance.
Get instant SAP help. Start your 7-day free trial now.
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, ...
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_ES021
'@EnterpriseSearch' requires '@Search'
What causes this issue? @EnterpriseSearch is an extension to domain @Search; all the annotations defined there are relevant for Enterprise Search. Cu...
ESH_ENG_CDSVAL_ES022
'usageMode' should be annotated at some element
What causes this issue? @Saerch.defaultSearchElement defines that an element participates in the free-style search. @EnterpriseSearch.usageMode offer...
Click on this link to search all SAP messages.