Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 042
Message text: '@Metadata.allowExtensions: true' is missing
'@Metadata.allowExtensions' should be annotated at the view.
Without this annotation, a customer cannot refine settings like the
rendering (@UI) or the ranking definition (@Consumption.ranking) on view
level.
Add the annotation on header level of the view.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_ES042
- '@Metadata.allowExtensions: true' is missing ?The SAP error message ESH_ENG_CDSVAL_ES042 '@Metadata.allowExtensions: true' is missing typically occurs in the context of Core Data Services (CDS) views in SAP systems, particularly when working with the SAP HANA database. This error indicates that a specific annotation, @Metadata.allowExtensions, is not defined in the CDS view definition, which is required for certain functionalities, such as allowing extensions to the CDS view.
Cause: The error is caused by the absence of the @Metadata.allowExtensions: true annotation in the CDS view definition. This annotation is necessary when you want to allow the extension of the CDS view, which is often required in scenarios where custom fields or additional logic need to be added to the existing view.
Solution: To resolve this error, you need to modify the CDS view definition to include the required annotation. Here’s how you can do it: Open the CDS View Definition: Access the CDS view in the ABAP Development Tools (ADT) or the
Get instant SAP help. Sign up for our Free Essentials Plan.
ESH_ENG_CDSVAL_ES041
Test: &1&2&3&4
What causes this issue? The error message results from a test search on the CDS-view. There are many critical view constructions that cannot be detec...
ESH_ENG_CDSVAL_ES040
'fieldGroupForSearchQuery.elements': 1-element-group does not make sense
What causes this issue? The group defined by @EnterpriseSaerch.fieldGroupForSearchQuery contains a single element only. This is no group in the stric...
ESH_ENG_CDSVAL_ES043
'enabled' set to 'false' - ES-Connector will not be activated
What causes this issue? Annotation @EnterpriseSearch.enabled is set to 'false'.System Response The system still validates the @EnterpriseS...
ESH_ENG_CDSVAL_ES044
'filteringAttribute.displayPosition': Duplicate value &2 (&1)
What causes this issue? Value &V1& is defined several times for @EnterpriseSearch.filteringAttribute.displayPosition; or, the same value is u...
Click on this link to search all SAP messages.