How To Fix ESH_ENG_CDSVAL_ES003 - Annotation &1 is obsolete; use &2


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 003

  • Message text: Annotation &1 is obsolete; use &2

  • Show details Hide details
  • What causes this issue?

    Meanwhile, the semantics formerly expressed by annotation &V1& of domain
    @EnterpriseSearch is available in a general, non-proprietary way as
    annotation &V2&. The first one is now obsolete; the latter is to be
    used.

    System Response

    The obsolete annotation is nevertheless evaluated and works as wont.
    There is no immediate impact on the use of the view in form of an
    Enterprise Search connector.

    How to fix this error?

    Replace the obsolete annotation by &V2&.

    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_ES003 - Annotation &1 is obsolete; use &2 ?

    The SAP error message ESH_ENG_CDSVAL_ES003 indicates that a certain annotation in your Core Data Services (CDS) view is obsolete and suggests using an alternative annotation instead. This typically occurs when SAP has updated its data model or annotations, and the older ones are no longer supported.

    Cause:

    1. Obsolete Annotation: The annotation you are using in your CDS view has been marked as obsolete in the latest version of SAP.
    2. Version Mismatch: You may be using an older version of a CDS view or an outdated annotation that has been replaced in newer releases.
    3. SAP Notes: Sometimes, SAP releases notes that deprecate certain features or annotations, which can lead to this error if you are still using them.

    Solution:

    1. Update the Annotation: Replace the obsolete annotation with the recommended one as indicated in the error message. The message will specify the old annotation (&1) and the new one (&2) that you should use.
    2. Check Documentation: Refer to the latest SAP documentation or release notes for the specific CDS view you are working with. This will provide insights into the changes made and the correct annotations to use.
    3. Adjust Your CDS View: Modify your CDS view definition to remove the obsolete annotation and include the new one. This may involve changing the syntax or structure of your CDS view.
    4. Test the Changes: After making the changes, activate the CDS view and test it to ensure that it works as expected without any errors.

    Related Information:

    • SAP Help Portal: Check the SAP Help Portal for detailed documentation on CDS views and annotations.
    • SAP Notes: Look for relevant SAP Notes that might provide additional context or solutions related to the obsolete annotation.
    • Community Forums: Engage with the SAP Community or forums where other developers may have encountered similar issues and can provide insights or solutions.
    • Version Control: Keep track of the version of SAP you are using and ensure that your development aligns with the latest updates and best practices.

    By following these steps, you should be able to resolve the error and update your CDS view accordingly.

    • 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