Do you have any question about this error?
Message type: E = Error
Message class: OO - Class Builder/API
Message number: 635
Message text: Error importing classes (source code > 72 characters)
You tried to import a piece of source code that is wider than 72
characters. However, the Class Builder's import function only supports
source code that is a maximum of 72 characters wide.
Create appropriate line breaks in the source code in the ABAP Editor;
then import the local classes.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
OO635
- Error importing classes (source code > 72 characters) ?The SAP error message OO635 indicates that there is an issue with importing classes due to the source code exceeding the maximum allowed length of 72 characters per line. This is a common limitation in ABAP (Advanced Business Application Programming) when dealing with certain types of source code, particularly when importing or exporting classes or methods.
Cause:
The error occurs when the source code of a class or method contains lines that exceed the 72-character limit. This can happen if:
To resolve the OO635 error, you can take the following steps:
Check the Source Code: Review the source code of the class or method that is causing the error. Look for any lines that exceed 72 characters.
Break Long Lines: If you find any lines that are longer than 72 characters, break them into multiple lines. In ABAP, you can use the continuation character (&
) to split long statements across multiple lines.
Example:
DATA(lv_long_string) = 'This is a very long string that exceeds the 72 character limit and needs to be split into multiple lines.'.
Can be split as:
DATA(lv_long_string) = 'This is a very long string that exceeds the 72 character limit ' &&
'and needs to be split into multiple lines.'.
Check Comments and Documentation: Ensure that comments and documentation within the code do not exceed the character limit. If necessary, split long comments into multiple lines.
Use ABAP Editor: If you are using the ABAP editor (SE38 or SE80), it will typically highlight lines that exceed the limit. Use this feature to identify problematic lines.
Re-import the Class: After making the necessary changes, try to re-import the class or method again.
By following these steps, you should be able to resolve the OO635 error and successfully import your classes.
Get instant SAP help. Start your 7-day free trial now.
OO634
You cannot copy set/get methods
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OO633
You cannot redefine the interface method &
What causes this issue? You cannot redefine an interface method implemented in the class.System Response The system issues an error message and will...
OO636
An unexpected error occurred when importing classes
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OO637
You cannot redefine the constructor
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.