Do you have any question about this error?
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:
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 matches the expected type. For instance:
true
or false
without quotes.Correct the Mismatch: Modify the value to match the expected type. For example:
123
to '123'
if a string is expected.'true'
to true
if a boolean is expected.Recheck the Syntax: Ensure that there are no syntax errors in your CDS view or the related code that might be causing the issue.
Test the Changes: After making the necessary corrections, activate the CDS view or the related artifact again and check if the error persists.
By following these steps, you should be able to identify and resolve the cause of the error message SCDS_ATC_DDLS_ANNO004.
Get instant SAP help. Start your 7-day free trial now.
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.