How To Fix ESH_SQL_SEARCH068 - Search with &1 is working on CDS entity &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ESH_SQL_SEARCH - ESH SQL Search

  • Message number: 068

  • Message text: Search with &1 is working on CDS entity &2

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ESH_SQL_SEARCH068 - Search with &1 is working on CDS entity &2 ?

    The SAP error message ESH_SQL_SEARCH068 typically indicates that there is an issue with a search operation being performed on a Core Data Services (CDS) entity. This error can arise in the context of SAP's Enterprise Search or when using the SAP HANA database.

    Cause:

    The error message "Search with &1 is working on CDS entity &2" suggests that the search operation is not functioning as expected due to one of the following reasons:

    1. Invalid Search Criteria: The search term or criteria specified may not be valid for the CDS entity being queried.
    2. CDS Entity Configuration: The CDS entity may not be properly configured to support the search operation. This could include missing annotations or incorrect definitions.
    3. Data Availability: There may be no data available in the CDS entity that matches the search criteria.
    4. Authorization Issues: The user may not have the necessary authorizations to access the CDS entity or perform the search.
    5. Technical Issues: There could be underlying technical issues with the SAP system or the database that are affecting the search functionality.

    Solution:

    To resolve the ESH_SQL_SEARCH068 error, you can take the following steps:

    1. Check Search Criteria: Review the search criteria you are using to ensure it is valid and correctly formatted for the CDS entity.
    2. Review CDS Entity Configuration: Ensure that the CDS entity is properly defined and configured. Check for necessary annotations that enable search functionality, such as @Search.searchable or @Search.defaultSearch.
    3. Data Verification: Verify that there is data in the CDS entity that matches the search criteria. You can do this by executing a direct query on the CDS entity.
    4. Authorization Check: Ensure that the user executing the search has the appropriate authorizations to access the CDS entity and perform the search operation.
    5. System Logs: Check the system logs for any additional error messages or warnings that may provide more context about the issue.
    6. Consult Documentation: Refer to SAP documentation or help resources for specific guidance on the CDS entity and search functionality.
    7. Contact Support: If the issue persists, consider reaching out to SAP support for further assistance.

    Related Information:

    • CDS Views: Core Data Services (CDS) is a framework for defining semantically rich data models in SAP systems. Understanding how to create and configure CDS views is essential for troubleshooting related issues.
    • SAP HANA: If you are using SAP HANA as your database, familiarize yourself with its search capabilities and how they integrate with CDS entities.
    • Enterprise Search: If the error is occurring in the context of Enterprise Search, review the configuration of the search service and ensure that it is properly set up to index and search CDS entities.

    By following these steps, you should be able to identify and resolve the underlying cause of the ESH_SQL_SEARCH068 error.

    • 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