Do you have any question about this error?
Message type: E = Error
Message class: EU - Development Environment
Message number: 361
Message text: Code lines longer than the current print format are broken
You attempted to print a source code whose maximum line width does not
fit into the current print format.
Code lines which are longer than the print format are automatically
broken.
If you want to avoid a line break, choose another print format using
the printer settings.
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.
EU361
- Code lines longer than the current print format are broken ?The SAP error message EU361, which states "Code lines longer than the current print format are broken," typically occurs when the length of a line of code or text exceeds the maximum allowed length for the current print format in SAP. This can happen in various contexts, such as when printing reports, forms, or other outputs.
Cause:
- Line Length Exceeded: The primary cause of this error is that the line of code or text exceeds the maximum character limit defined by the print format settings.
- Print Format Settings: The print format may be set to a specific width (e.g., 132 characters), and if the output exceeds this width, it will trigger the error.
- Output Device Configuration: The configuration of the output device (like printers) may also impose restrictions on line length.
Solution:
Adjust Print Format:
- Go to the print layout settings and increase the maximum line length if possible. This can often be done in the SAPscript or Smart Forms configuration.
- For SAPscript, you can adjust the window settings in the form to accommodate longer lines.
- For Smart Forms, check the text elements and adjust the width settings accordingly.
Modify Output Device Settings:
- Check the configuration of the output device in transaction SPAD. Ensure that the device type supports the required line length.
- If necessary, create or modify an output device with a suitable configuration.
Break Long Lines:
- If increasing the line length is not feasible, consider modifying the code or text to break long lines into shorter segments. This can be done by inserting line breaks or adjusting the content to fit within the allowed length.
Test Output:
- After making changes, test the output to ensure that the error no longer occurs and that the output is formatted correctly.
Related Information:
By following these steps, you should be able to resolve the EU361 error and ensure that your output is formatted correctly without exceeding line length limitations.
Get instant SAP help. Start your 7-day free trial now.
EU360
No replace in private / protected / public sections and enhancements
What causes this issue? The system found the search string also in private / protected / public sections of classes. The string can, however, not be ...
EU359
&1 are not supported for BSP applications
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
EU362
& is defined in more than one place (ambiguous modification)
What causes this issue? A program unit occurs several times with the same name in the source to be processed. The Modification Assistant cannot, ther...
EU363
You cannot begin a word with a space
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.