Do you have any question about this error?
Message type: E = Error
Message class: ESH_ENG_CDSVAL_ES - ES-CDS/ABAP: Validation of domain @EnterpriseSearch
Message number: 062
Message text: DDL w/o @EnterpriseSearch must not be succeeded by one with this anno
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.
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.
ESH_ENG_CDSVAL_ES062
- DDL w/o @EnterpriseSearch must not be succeeded by one with this anno ?The SAP error message ESH_ENG_CDSVAL_ES062 indicates that there is an issue with the definition of a Core Data Services (CDS) view in the context of Enterprise Search. Specifically, the error states that a Data Definition Language (DDL) operation without the
@EnterpriseSearch
annotation must not be followed by one that includes this annotation.Cause:
This error typically arises when:
- A CDS view is defined without the
@EnterpriseSearch
annotation, which is required for views that are intended to be used in the context of Enterprise Search.- There is an inconsistency in the annotations of the CDS views, where one part of the definition does not align with the requirements for Enterprise Search.
Solution:
To resolve this error, you can take the following steps:
Check the Annotations: Review the CDS view definition to ensure that the annotations are correctly applied. If the view is intended to be used for Enterprise Search, it should include the
@EnterpriseSearch
annotation.Modify the CDS View:
- If the view is not meant for Enterprise Search, ensure that no subsequent DDL operations are trying to apply the
@EnterpriseSearch
annotation.- If the view is meant for Enterprise Search, add the
@EnterpriseSearch
annotation to the view definition.Example of adding the annotation:
@AbapCatalog.sqlViewName: 'Z_MY_CDS_VIEW' @AbapCatalog.compiler.compareFilter: true @EnterpriseSearch: true define view Z_My_CDS_View as select from my_table { key field1, field2 }
Re-activate the CDS View: After making the necessary changes, re-activate the CDS view to ensure that the changes take effect.
Check Dependencies: If the CDS view is dependent on other views or tables, ensure that those dependencies are also correctly defined and do not conflict with the Enterprise Search requirements.
Consult Documentation: Refer to the SAP documentation for Core Data Services and Enterprise Search for more detailed information on the correct usage of annotations.
Related Information:
By following these steps, you should be able to resolve the error and ensure that your CDS views are correctly configured for use with Enterprise Search.
Get instant SAP help. Start your 7-day free trial now.
ESH_ENG_CDSVAL_ES061
Sucessor &1 lacks @EnterpriseSearch-annotations
What causes this issue? You have set a CDS-entity on API-state "deprecated" which carries an @EnterpriseSearch.enabled-annotation. This CDS...
ESH_ENG_CDSVAL_ES060
View is deprecated: no ES-Connector will be generated!
What causes this issue? The view has been set as deprecated.System Response While the view still can be used as a Transient Connector, i.e. the sear...
ESH_ENG_CDSVAL_ES063
Fatal DDIC-inconsistency
What causes this issue? The DDL with the definition of the CDS-entity contains elements which are not present in the SQL-view generated from this CDS...
ESH_ENG_CDSVAL_ES064
&1 is a shared multi-tenancy table - cannot be used (&2)
What causes this issue? Table &V1& is shared in a multi-tenant installation; this means that shared parts of the table are kept centrally, wh...
Click on this link to search all SAP messages.