Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix ESH_ENG_CDSVAL_ES058 - 'hidden' must be annotated at view level


ESH_ENG_CDSVAL_ES058 - Overview

  • Message type: E = Error

  • Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch

  • Message number: 058

  • Message text: 'hidden' must be annotated at view level

  • Show details Hide details
  • What causes this issue?

    @EnterpriseSearch.hidden can be annotated at view level only.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Remove the annotation except for the view level.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


ESH_ENG_CDSVAL_ES058 - Details

  • The SAP error message ESH_ENG_CDSVAL_ES058 indicates that a field in a Core Data Services (CDS) view is marked as 'hidden', but this annotation is not properly defined at the view level. This error typically arises when you are trying to use a field that is intended to be hidden in a way that requires it to be explicitly annotated.
    
    Cause: The error occurs when: A field in the CDS view is marked as 'hidden' but lacks the necessary annotation at the view level. The CDS view is being used in a context (like a query or an OData service) where the hidden field is expected to be defined.
    Solution: To resolve this error, you need to ensure that the 'hidden' annotation is correctly defined at the view level. Here are the steps to do that: Open the CDS View: Access the CDS view in the ABAP Development Tools (ADT) or the relevant development environment. Add the Annotation: Ensure

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


ESH_ENG_CDSVAL_ES058 - Related SAP Errors

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant