Message type: E = Error
Message class: SCDS_ATC_DDLS_ANNO - Message class for ATC check DDLS_ANNO
Message number: 004
Message text: Annotations value &1 does not match the annotation type &2
Annotation value does not match the defined annotation type.
Use a proper value that matches the defined annotation type.
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.
SCDS_ATC_DDLS_ANNO004
- Annotations value &1 does not match the annotation type &2 ?The SAP error message SCDS_ATC_DDLS_ANNO004 indicates that there is a mismatch between the value provided for an annotation and the expected type of that annotation. This typically occurs in the context of the ABAP programming model, particularly when working with annotations in CDS (Core Data Services) views or other related artifacts.
Cause: The error arises when: An annotation is defined with a specific type (e.g., string, integer, boolean, etc.), but the value assigned to it does not conform to that type. For example, if an annotation expects a string value but receives an integer or a boolean, this error will be triggered.
Solution: To resolve this error, you can follow these steps: Check the Annotation Definition: Review the definition of the annotation in your CDS view or related artifact. Ensure that the expected type of the annotation is correctly defined. Validate the Assigned Value: Look at the value you are assigning to the annotation. Make sure that it
Get instant SAP help. Sign up for our Free Essentials Plan.
SCDS_ATC_DDLS_ANNO003
Enumeration value &2 for annotation &1 does not exist
What causes this issue? The used enumeration value does not exist.How to fix this error? Provide a valid enumeration value. Only enumeration values ...
SCDS_ATC_DDLS_ANNO002
Annotation &1 is used at a wrong position
What causes this issue? Annotation cannot be used at current position as it is defined for the usage at another position.How to fix this error? Move...
SCDS_ATC_DDLX_SYNT000
Syntax Check for CDS Metadata Extensions
What causes this issue? This check wraps the syntax check for CDS Metadata Extensions and reports a subset of warnings. These warnings do not prohibi...
SCDS_ATC_DDLX_SYNT005
Select list entry '&1' does not exist in '&2'
What causes this issue? Referenced select list entry doesn't exist in the annotated view.How to fix this error? Use an existing select list ent...
Click on this link to search all SAP messages.