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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ESH_ENG_CDSVAL_ES058 - 'hidden' must be annotated at view level ?
    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.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author