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_SRVD - Messages for Service 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_SRVD906
- Closing '*/' is missing in multi line comment ?The SAP error message
SDDIC_ADT_SRVD906
indicates that there is a syntax error in your ABAP code, specifically related to a multi-line comment. 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 ABAP 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, you should:
- Locate the Multi-line Comment: Go through your code and find the
/*
that starts the multi-line comment.- Add the Closing Tag: Ensure that there is a corresponding
*/
to close the comment. For example:/* This is a multi-line comment that needs to be closed properly */
- Check for Nested Comments: If you have nested comments, ensure that they are correctly formatted. ABAP does not support nested multi-line comments, so you should avoid placing
/*
inside another/* ... */
.- Use Single-line Comments: If you only need to comment out a few lines, consider using single-line comments (
"
) instead, which can help avoid such issues.Related Information:
Comment Syntax in ABAP:
"
at the beginning of the line./*
to start and */
to end.Best Practices:
Debugging Tips:
By following these steps, you should be able to resolve the SDDIC_ADT_SRVD906
error and ensure your ABAP code is correctly formatted.
Get instant SAP help. Sign up for our Free Essentials Plan.
SDDIC_ADT_SRVD905
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_SRVD904
Illegal syntax. Malformed service 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_SRVD907
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_TYPE_GROUP000
Type Group &1 does not exist
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.