How To Fix ADW085 - Line was commented


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ADW - Advanced Developer Workplace

  • Message number: 085

  • Message text: Line was commented

  • 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 ADW085 - Line was commented ?

    The SAP error message ADW085, which states "Line was commented," typically occurs in the context of ABAP programming or when working with certain SAP transactions that involve code or configuration entries. This message indicates that a line of code or a configuration entry has been commented out, meaning it will not be executed or processed.

    Cause:

    1. Commented Code: The most straightforward cause is that the line in question has been explicitly commented out by the developer. In ABAP, comments are usually denoted by an asterisk (*) at the beginning of the line or by using the double quote (") for inline comments.
    2. Configuration Settings: In some cases, configuration settings or entries in customizing tables may be commented out, leading to this error when the system attempts to process them.
    3. Conditional Compilation: If the code is part of a conditional compilation block, it may be excluded from execution based on certain conditions.

    Solution:

    1. Review the Code: Check the relevant ABAP code or configuration entries to see if the line is indeed commented out. If it is, determine whether it should be uncommented based on the business logic or requirements.
    2. Uncomment the Line: If the line is necessary for the execution of the program or transaction, remove the comment character (e.g., the asterisk or double quote) to enable it.
    3. Check Dependencies: Ensure that uncommenting the line does not introduce errors or conflicts with other parts of the code or configuration.
    4. Testing: After making changes, thoroughly test the program or transaction to ensure that it behaves as expected and that the error does not reoccur.

    Related Information:

    • ABAP Documentation: Familiarize yourself with ABAP programming standards and practices, especially regarding comments and code structure.
    • SAP Notes: Check SAP Notes or the SAP Support Portal for any specific notes related to the ADW085 error message, as there may be additional context or solutions provided by SAP.
    • Debugging: If the issue persists, consider using the ABAP debugger to step through the code and identify where the error is occurring and why the line is commented out.

    If you are not the developer or do not have access to modify the code, you may need to contact your SAP development team or system administrator for assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:
  • ADW084 Line was decommented
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • ADW083 Line was cleared
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • ADW086 Line is disregarded
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • ADW087 Line not changed
    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.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant