How To Fix ESH_ENG_CDSVAL_ES061 - Sucessor &1 lacks @EnterpriseSearch-annotations


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 061

  • Message text: Sucessor &1 lacks @EnterpriseSearch-annotations

  • Show details Hide details
  • What causes this issue?

    You have set a CDS-entity on API-state "deprecated" which carries an
    @EnterpriseSearch.enabled-annotation. This CDS-entity does also have
    successors. Successor &V1& does not have annotation
    @EnterpriseSearch.enabled.

    System Response

    A CDS-entity which is not enabled for Enterprise Search cannot be a
    semantically comparable successor of a CDS-entity which is enabled for
    Enterprise Search. Hence, this successor is not possible.

    How to fix this error?

    Either the successor lacks the @EnterpriseSearch-annotations, or the
    intended successor is not suitable at all.

    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_ES061 - Sucessor &1 lacks @EnterpriseSearch-annotations ?

    The SAP error message ESH_ENG_CDSVAL_ES061 indicates that a successor entity in a Core Data Services (CDS) view lacks the necessary @EnterpriseSearch annotations. This error typically arises in the context of SAP Enterprise Search, where the system expects certain annotations to be present for the entities involved in the search.

    Cause:

    The error occurs when:

    1. A CDS view or entity that is expected to be part of the Enterprise Search configuration does not have the required annotations.
    2. The annotations are necessary for the system to understand how to index and search the data properly.

    Solution:

    To resolve this error, you need to ensure that the successor entity has the appropriate @EnterpriseSearch annotations. Here are the steps to do this:

    1. Identify the Successor Entity: Determine which entity is being referenced in the error message (the &1 placeholder will be replaced with the actual entity name).

    2. Add Annotations: Open the CDS view definition in the ABAP Development Tools (ADT) or the relevant development environment. Add the necessary @EnterpriseSearch annotations to the successor entity. Common annotations include:

      • @Search.searchable: Marks the field as searchable.
      • @Search.defaultSearch: Indicates the default search field.
      • @Search.result: Specifies how the field should be displayed in search results.

      Example:

      define view ZMy_CDS_View
      as select from my_table
      {
          key field1,
          field2,
          @Search.searchable: true
          field3
      }
    3. Activate the CDS View: After adding the annotations, activate the CDS view to ensure that the changes take effect.

    4. Re-index the Search: If necessary, re-index the search to ensure that the changes are reflected in the search results.

    5. Test the Search: After making the changes, test the Enterprise Search functionality to confirm that the error has been resolved.

    Related Information:

    • Documentation: Refer to the SAP Help Portal for detailed information on Enterprise Search and CDS annotations.
    • SAP Notes: Check for any relevant SAP Notes that might provide additional insights or solutions related to this error.
    • Community Forums: Engage with the SAP Community or forums for discussions and solutions shared by other users who may have encountered similar issues.

    By following these steps, you should be able to resolve the ESH_ENG_CDSVAL_ES061 error and ensure that your CDS views are properly configured for Enterprise Search.

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