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

Close

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


SAP Error Message - Details

  • 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

  • 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_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:

    1. You have an unclosed multi-line comment in your 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, follow these steps:

    1. Locate the Comment Block: Go through your code and find the /* that starts the multi-line comment.
    2. Check for Closing: Ensure that there is a corresponding */ to close the comment block. If it is missing, add it at the appropriate location.
    3. 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.
    4. 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:

    • ABAP Comment Syntax: In ABAP, comments can be made using:
      • Single-line comments with * at the beginning of the line.
      • Multi-line comments using /* to start and */ to end.
    • Best Practices: Always ensure that comments are properly closed to avoid syntax errors. It’s also a good practice to keep comments concise and relevant to the code they describe.

    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.

    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker