Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SDDIC_ADT_SRVD906 - Closing '*/' is missing in multi line comment


SAP Error Message - Details

  • 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

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 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:

    1. You have an unclosed multi-line comment in your ABAP code.
    2. You may have accidentally deleted the closing */ or forgot to include it after a block of comments.
    3. There might be a nested comment structure that is incorrectly formatted.

    Solution:

    To resolve this error, you should:

    1. Locate the Multi-line Comment: Go through your code and find the /* that starts the multi-line comment.
    2. 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 */
    3. 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 /* ... */.
    4. 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:

      • Single-line comments: Use " at the beginning of the line.
      • Multi-line comments: Use /* to start and */ to end.
    • Best Practices:

      • Always ensure that every opening comment has a corresponding closing comment.
      • Use a code editor or IDE that highlights syntax errors, which can help you catch these issues early.
    • Debugging Tips:

      • If you are unsure where the error is, you can comment out sections of your code to isolate the problematic area.
      • Use the ABAP syntax check feature in your development environment to identify and fix syntax errors.

    By following these steps, you should be able to resolve the SDDIC_ADT_SRVD906 error and ensure your ABAP code is correctly formatted.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author