How To Fix ESH_SQL_SEARCH052 - CDS entity &1 not enabled for enterprise search, check the DDL


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ESH_SQL_SEARCH - ESH SQL Search

  • Message number: 052

  • Message text: CDS entity &1 not enabled for enterprise search, check the DDL

  • Show details Hide details
  • What causes this issue?

    It looks like the corresponding DDL to the CDS entity contains the
    annotation '@EnterpriseSearch.enabled: false', or a MetaDataExtension
    (MDE) exists, which inactivates the CDS-connector for Enterprise Search,
    or the connector was inactivated in the Cockpit.
    The CDS-connector associated to the CDS-entity is not searchable.

    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?

    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_SQL_SEARCH052 - CDS entity &1 not enabled for enterprise search, check the DDL ?
    The SAP error message ESH_SQL_SEARCH052 indicates that a Core Data Services (CDS) entity is not enabled for Enterprise Search. This typically occurs when the CDS view you are trying to use for search functionality has not been properly configured to be searchable in the Enterprise Search framework.
    
    Cause: CDS Entity Not Configured for Search: The CDS entity may not have the necessary annotations that enable it for Enterprise Search. Missing DDL: The Data Definition Language (DDL) for the CDS view may not include the required annotations for search. Search
    Configuration Issues: The Enterprise Search configuration may not be set up correctly to recognize the CDS entity. Transport Issues: If the CDS view was recently transported, it may not have been activated in the target system.
    Solution: Check Annotations: Ensure that the CDS entity has the appropriate annotations for Enterprise Search. You should look for the @Search.searchable annotation in the CDS definition. For example: @Search.searchable: true define view Z_MY_CDS_VIEW as

    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
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