Do you have any question about this error?
Message type: E = Error
Message class: SADL_GW_DT_CDS - Messages CDS Checks
Message number: 035
Message text: Annotation '&1: &2' must not be used here.
The annotation <(>&<)>1 with the value <(>&<)>2 is used in a
non-analytical CDS view, which is not supported.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Either remove the annotation or use a valid annotation value.
Contact the corresponding developer of the CDS view to correct the
error.
Error message extract from SAP system. Copyright SAP SE.
SADL_GW_DT_CDS035
- Annotation '&1: &2' must not be used here. ?The SAP error message
SADL_GW_DT_CDS035
typically indicates that there is an issue with the annotations used in a Core Data Services (CDS) view or in the context of a service definition. The message states that a specific annotation (denoted by&1: &2
) is not allowed in the current context.Cause:
Incorrect Annotation Usage: The annotation being referenced is not valid for the context in which it is being used. This could be due to:
- Using an annotation that is not supported in the specific type of CDS view (e.g., using a UI annotation in a non-UI context).
- Misplacing the annotation in the CDS definition (e.g., placing it at the wrong level or in the wrong section).
Version Compatibility: The annotation might be valid in a different version of SAP or in a different context, but not in the current version you are working with.
Syntax Errors: There could be syntax errors in the CDS view definition that lead to misinterpretation of the annotations.
Solution:
Review Annotation Context: Check the documentation for the specific annotation you are using to ensure it is appropriate for the context of your CDS view. Make sure you are using the correct annotations for the type of CDS view you are defining.
Correct Placement: Ensure that the annotation is placed correctly within the CDS view definition. Annotations should be placed at the appropriate level (e.g., entity level, field level) as required.
Check for Typos: Look for any typographical errors in the annotation names or values. Ensure that they are spelled correctly and conform to the expected format.
Consult SAP Documentation: Refer to the official SAP documentation or the SAP Help Portal for the specific version you are using to understand the valid annotations and their contexts.
Update or Patch: If you suspect that the issue is related to version compatibility, check if there are any updates or patches available for your SAP system that might resolve the issue.
Testing: After making changes, test the CDS view again to see if the error persists.
Related Information:
SADL_GW_DT_CDS035
. SAP Notes often provide solutions or workarounds for specific issues.By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
SADL_GW_DT_CDS034
Element &1 cannot be used in annotation &2 because of annotation &3.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SADL_GW_DT_CDS033
Key field &1 must not be annotated as &2.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SADL_GW_DT_CDS036
The draft table &1 exists for this CDS view and must not be renamed.
What causes this issue? A draft table still exists for the CDS view.System Response It is not allowed to exchange or rename the draft table.How to f...
SADL_GW_DT_CDS037
Syntax of CDS view &1 is not supported. Correct the syntax.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.