How To Fix DB013 - Incorrect line width or lines per page


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DB - Messages for logical databases and background processing

  • Message number: 013

  • Message text: Incorrect line width or lines per page

  • 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 DB013 - Incorrect line width or lines per page ?

    The SAP error message DB013, which indicates "Incorrect line width or lines per page," typically arises when there is a mismatch in the configuration settings for the output device or printer settings in SAP. This error can occur during the printing process when the specified line width or the number of lines per page exceeds the capabilities of the selected output device.

    Causes:

    1. Incorrect Printer Configuration: The printer settings in SAP may not match the actual capabilities of the physical printer.
    2. Output Device Settings: The output device configuration in SAP (transaction SPAD) may have incorrect parameters for line width or lines per page.
    3. Form Layout Issues: The layout of the form being printed may be designed with dimensions that exceed the printer's capabilities.
    4. Driver Issues: The printer driver being used may not support the specified settings.

    Solutions:

    1. Check Output Device Configuration:

      • Go to transaction SPAD (Spool Administration).
      • Select the output device that is causing the issue.
      • Verify the settings for Line Width and Lines per Page. Ensure they are within the limits supported by the printer.
    2. Adjust Form Layout:

      • If you are using a custom form, check the layout settings in transaction SMARTFORMS or SE71 (for SAPscript).
      • Ensure that the form does not exceed the printer's capabilities in terms of line width and number of lines.
    3. Test with Different Printer:

      • If possible, try printing to a different printer to see if the issue persists. This can help determine if the problem is specific to a particular printer.
    4. Update Printer Drivers:

      • Ensure that the printer drivers are up to date and compatible with the SAP system.
    5. Consult SAP Notes:

      • Check the SAP Support Portal for any relevant notes or updates regarding this error message. There may be specific patches or updates that address this issue.
    6. Contact IT Support:

      • If the issue persists after checking the above settings, it may be necessary to involve your IT support team or SAP Basis team for further investigation.

    Related Information:

    • Transaction Codes: SPAD (Spool Administration), SMARTFORMS (for Smart Forms), SE71 (for SAPscript).
    • Documentation: Review SAP documentation related to spool administration and printer configuration for more detailed guidance.
    • SAP Community: Consider searching or posting in the SAP Community forums for additional insights from other users who may have encountered similar issues.

    By following these steps, you should be able to identify and resolve the cause of the DB013 error in your SAP system.

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

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