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: 044
Message text: 'filteringAttribute.displayPosition': Duplicate value &2 (&1)
Value &V1& is defined several times for
@EnterpriseSearch.filteringAttribute.displayPosition; or, the same value
is used with @EnterpriseSearch.filteringFacet.displayPosition.
As the UI can display a mixed list of filtering means (facet and
attribute filter), the display positions can be interpreted overarching
across both annotations.
The display order of all elements with the duplicate position counter is
undefined.
The system will nevertheless activate and run the view for Enterprise
Search.
Check whether the position counter can be made unambiguous.
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_ES044
- 'filteringAttribute.displayPosition': Duplicate value &2 (&1) ?The SAP error message ESH_ENG_CDSVAL_ES044 indicates that there is a duplicate value in the context of a filtering attribute in a Core Data Services (CDS) view. This error typically arises when the same value is being assigned to multiple entries in a filtering attribute, which is not allowed.
Cause:
- Duplicate Values: The error is triggered when the same value is assigned to more than one entry in the filtering attribute's display position.
- Incorrect Data Model: The underlying data model may have duplicates that are not being handled correctly.
- Configuration Issues: There may be issues in the configuration of the CDS view or the associated annotations that lead to this duplication.
Solution:
Check for Duplicates: Review the data in the underlying tables or views to identify any duplicate entries that may be causing the issue. You can use SQL queries to find duplicates based on the filtering attribute.
Adjust Display Positions: If you are defining display positions for filtering attributes in your CDS view, ensure that each display position is unique. Modify the annotations to assign unique display positions to each entry.
Modify the CDS View: If the duplicates are legitimate and should be handled differently, consider modifying the CDS view to aggregate or filter the data appropriately to avoid duplicates.
Review Annotations: Check the annotations in your CDS view definition. Ensure that the annotations related to filtering attributes are correctly defined and do not lead to conflicts.
Testing: After making changes, test the CDS view to ensure that the error is resolved and that the filtering attributes behave as expected.
Related Information:
By following these steps, you should be able to resolve the ESH_ENG_CDSVAL_ES044 error and ensure that your CDS view functions correctly without duplicate filtering attributes.
Get instant SAP help. Start your 7-day free trial now.
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_ES042
'@Metadata.allowExtensions: true' is missing
What causes this issue? '@Metadata.allowExtensions' should be annotated at the view.System Response Without this annotation, a customer ca...
ESH_ENG_CDSVAL_ES045
'filteringAttribute': Empty object does not make sense (&1)
What causes this issue? Annotation object @EnterpriseSearch.filteringAttribute is defined without any further specification. This does not make sense...
ESH_ENG_CDSVAL_ES046
'filteringFacet' and 'filteringAttribute' are mutually exclusive (&1)
What causes this issue? The element is annotated as @EnterpriseSearch.filteringAttribute and as @EnterpriseSearch.filteringFacet. These annotations a...
Click on this link to search all SAP messages.