How To Fix ESH_ENG_CDSVAL_ES057 - 'hidden': no ES-Connector will be generated!


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 057

  • Message text: 'hidden': no ES-Connector will be generated!

  • Show details Hide details
  • What causes this issue?

    @EnterpriseSearch.hidden means that the data source must be hidden from
    the generic search UI of Enterprise Search but still be processed by the
    API of Enterprise Search.

    System Response

    No Enterprise Search connector is derived for this view, because
    connectors are meant for search UI of Enterprise Search. Also, the view
    is not added to the Enterprise Search runtime load, which itself has its
    purpose in the search UI of Enterprise Search.

    How to fix this error?

    For searching this view, the Enterprise Search API (class
    CL_ESH_IF_SEARCH_REQUEST) can be used (given the validation succeeded).
    The search scope must be set via method ADD_SEARCH_SCOPE_CDS( ).

    Procedure for System Administrators

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ESH_ENG_CDSVAL_ES057 - 'hidden': no ES-Connector will be generated! ?

    The SAP error message ESH_ENG_CDSVAL_ES057 indicates that there is an issue with the generation of an Enterprise Search (ES) connector in the context of Core Data Services (CDS) views. This error typically arises when the system is unable to generate a connector for a specific CDS view due to certain conditions not being met.

    Cause:

    1. Hidden Fields: The error message specifically mentions "hidden," which suggests that there are fields in the CDS view that are marked as hidden. Hidden fields cannot be used in the ES connector generation process.
    2. Incompatible Data Types: If the CDS view contains fields with data types that are not supported for ES connectors, this can also lead to the error.
    3. Missing Annotations: The required annotations for the CDS view might be missing. Annotations are essential for defining how the data should be treated in the context of Enterprise Search.
    4. Technical Issues: There could be underlying technical issues with the CDS view or the system configuration that prevent the connector from being generated.

    Solution:

    1. Review the CDS View: Check the definition of the CDS view for any fields that are marked as hidden. If these fields are not necessary for the ES connector, consider removing or modifying them.
    2. Check Data Types: Ensure that all fields in the CDS view have compatible data types that can be used in the ES connector.
    3. Add Required Annotations: Make sure that the necessary annotations for Enterprise Search are included in the CDS view. This may include annotations like @Search.searchable or @Search.defaultSearch.
    4. Test the CDS View: Execute the CDS view in the ABAP environment to ensure it is functioning correctly and returning the expected results.
    5. Re-generate the ES Connector: After making the necessary changes, attempt to regenerate the ES connector for the CDS view.

    Related Information:

    • SAP Documentation: Refer to the official SAP documentation for Enterprise Search and Core Data Services for detailed guidelines on creating and managing CDS views and ES connectors.
    • SAP Notes: Check for any relevant SAP Notes that might address known issues or provide additional troubleshooting steps related to this error message.
    • Community Forums: Engage with the SAP Community or forums where other users may have encountered similar issues and can provide insights or solutions.

    If the problem persists after following these steps, consider reaching out to SAP support for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker