Do you have any question about this error?
Message type: E = Error
Message class: RSWADMDERR2 - BEx Web applications: Error messages for XML/HTML-Parsing
Message number: 058
Message text: Unterminated Comment in '&1'?
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.
RSWADMDERR2058
- Unterminated Comment in '&1'? ?The SAP error message RSWADMDERR2058, which indicates "Unterminated Comment in '&1'", typically occurs during the execution of ABAP programs or when processing certain data in the SAP system. This error suggests that there is a comment in the code or data that has not been properly closed, leading to a syntax error.
Cause:
- Unterminated Comment: The most common cause is that a comment block in the ABAP code is not properly closed. In ABAP, comments can be single-line (using
"
or*
) or multi-line (using/* ... */
). If a multi-line comment is opened but not closed, this error will occur.- Data Issues: If the error arises during data processing, it may indicate that a string or text field contains an unclosed comment-like structure.
Solution:
Check ABAP Code:
- Review the ABAP code where the error is reported. Look for any multi-line comments that are opened with
/*
but not closed with*/
.- Ensure that all comments are properly formatted and closed.
Debugging:
- If the error is not immediately apparent, use the debugger to step through the code and identify where the error occurs.
- Check the specific line or section of code indicated by the error message (the
&1
placeholder will be replaced with the relevant code or data).Data Validation:
- If the error occurs during data processing, validate the input data for any unclosed comment-like structures.
- Ensure that any text fields do not contain characters that could be misinterpreted as comments.
Syntax Check:
- Perform a syntax check on the ABAP program to identify any other potential issues that may not be directly related to comments but could cause similar errors.
Related Information:
By following these steps, you should be able to identify and resolve the cause of the RSWADMDERR2058 error in your SAP environment.
Get instant SAP help. Start your 7-day free trial now.
RSWADMDERR2057
Unexpected &1> in <&2>
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSWADMDERR2056
Tag unexpected &1>
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSWADMDERR2059
Tag '&1' proprietary attribute value '&2'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
RSWADMDERR2100
Warning
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.