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: 019
Message text: At least 1 'presentationMode' TITLE required
@EnterpriseSearch.presentationMode defines how a search result is
displayed in a generic search UI. Without this annotation, a
presentation is not possible. The most elementary value thereof is
#TITLE, which is hence mandatory.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Add a @EnterpriseSearch.presentationMode at some element, or change the
value of such an annotation (if existing) to #TITLE.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES019
- At least 1 'presentationMode' TITLE required ?The SAP error message ESH_ENG_CDSVAL_ES019 indicates that there is a requirement for at least one 'presentationMode' TITLE in your Core Data Services (CDS) view or entity. This error typically arises when you are working with SAP HANA and trying to define a CDS view that is expected to have a specific presentation mode defined, but it is missing.
Cause:
The error occurs because the CDS view or entity you are trying to create or activate does not have a defined presentation mode that includes a title. The presentation mode is essential for how the data is displayed in the user interface, and it is expected to have at least one title defined for proper rendering.
Solution:
To resolve this error, you need to ensure that your CDS view includes a presentation mode with a title. Here’s how you can do that:
Open the CDS View Definition: Access the CDS view in the ABAP Development Tools (ADT) or the relevant development environment.
Define Presentation Mode: Add a presentation mode to your CDS view. You can do this by using the
@UI
annotation. Here’s an example of how to define a presentation mode with a title:@AbapCatalog.sqlViewName: 'Z_MY_CDS_VIEW' @AbapCatalog.compiler.compareFilter: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label: 'My CDS View' define view Z_MY_CDS_VIEW as select from my_table { key field1, field2, field3 } @UI.presentationMode: #TABLE @UI.lineItem: [ { position: 10, label: 'Field 1', type: #FOR_SELECTION }, { position: 20, label: 'Field 2', type: #FOR_SELECTION } ] @UI.selectionField: [{ position: 10, label: 'Field 1' }]
Activate the CDS View: After making the necessary changes, activate the CDS view again.
Check for Other Annotations: Ensure that all required annotations are correctly defined in your CDS view. Sometimes, other missing annotations can also lead to similar errors.
Related Information:
By ensuring that your CDS view has the required presentation mode with a title, you should be able to resolve the error and successfully activate your view.
Get instant SAP help. Start your 7-day free trial now.
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_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...
ESH_ENG_CDSVAL_ES020
'presentationMode' HIDDEN cannot be combined with others (&1)
What causes this issue? While the other presentation modes - like #TITLE, #SUMMARY - can be used at the same time, presentation mode #HIDDEN is mutua...
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...
Click on this link to search all SAP messages.