Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SDDIC_ADT_DDLA - Messages for Annotation Definition Design Time
Message number: 906
Message text: Closing '*/' is missing in multi line comment
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.
SDDIC_ADT_DDLA906
- Closing '*/' is missing in multi line comment ?The SAP error message SDDIC_ADT_DDLA906 indicates that there is a syntax issue in your ABAP code, specifically related to multi-line comments. The error message "Closing '/' is missing in multi line comment" suggests that you have started a multi-line comment with `/
but have not properly closed it with
*/`.Cause:
This error typically occurs when:
- You have an unclosed multi-line comment in your code.
- You may have accidentally deleted the closing
*/
or forgot to include it after a block of comments.- There might be a nested comment structure that is incorrectly formatted.
Solution:
To resolve this error, follow these steps:
- Locate the Comment Block: Go through your code and find the
/*
that starts the multi-line comment.- Check for Closing: Ensure that there is a corresponding
*/
to close the comment block. If it is missing, add it at the appropriate location.- Review Nested Comments: If you have nested comments, ensure that they are correctly formatted. ABAP does not support nested multi-line comments, so if you have a
/*
inside another/* ... */
, it will cause issues.- Syntax Check: After making the changes, perform a syntax check on your code to ensure that there are no other syntax errors.
Example:
Here’s an example of a multi-line comment that would cause this error:
DATA: lv_example TYPE string. * This is a single line comment /* This is a multi-line comment that does not have a closing tag
To fix it, you would need to add the closing
*/
:DATA: lv_example TYPE string. /* This is a multi-line comment that is now properly closed */
Related Information:
*
at the beginning of the line./*
to start and */
to end.If you continue to experience issues after checking your comments, consider reviewing the surrounding code for other potential syntax errors that might be affecting the parser.
Get instant SAP help. Sign up for our Free Essentials Plan.
SDDIC_ADT_DDLA905
Post annotations are not supported
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDIC_ADT_DDLA904
Illegal syntax. Malformed annotation definition
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDIC_ADT_DDLA907
Unexpected token '&1'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDIC_ADT_DDLV001
CDS Variants can only be opened using ADT Tools in Eclipse
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.