Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix VR628 - Total output length (&) is larger than & characters


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VR - Output for SD Reporting

  • Message number: 628

  • Message text: Total output length (&) is larger than & characters

  • Show details Hide details
  • What causes this issue?

    The maximum length of the list is 132 characters. Two of these
    characters are required for the selection indicator.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Shorten the list by
    - reducing the number of spaces
    - reducing the length of the fields
    - reducing the number of fields in each line etc.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VR628 - Total output length (&) is larger than & characters ?

    SAP Error Message:
    VR628 - Total output length (&) is larger than & characters


    Cause:

    This error occurs when the total length of the output line in a form (such as a Smart Form, SAPscript, or Adobe form) exceeds the maximum allowed length. The system has a limit on the number of characters that can be printed on a single line, and if the combined length of all fields or text elements in that line surpasses this limit, the error VR628 is triggered.

    Typical scenarios include:

    • Concatenation of multiple fields or text elements that together exceed the line length.
    • Long strings or data fields without proper line breaks or truncation.
    • Incorrect formatting or layout settings in the form design.

    Solution:

    1. Check the Form Layout:

      • Review the form (Smart Form, SAPscript, Adobe form) where the error occurs.
      • Identify the line or window where the output length is too long.
    2. Reduce Output Length:

      • Shorten the text or data fields printed on the line.
      • Use abbreviations or truncate long strings if possible.
      • Split the output into multiple lines instead of one long line.
    3. Adjust Form Design:

      • Modify the layout to allow more space or use multiple lines.
      • In Smart Forms, check the output length of the text elements and adjust the window or paragraph formats.
      • In SAPscript, check the line length settings and adjust the window or paragraph formats accordingly.
    4. Check Data Source:

      • Verify the data being passed to the form.
      • If the data is unexpectedly long, consider truncating or formatting it before passing to the form.
    5. Technical Adjustments:

      • In some cases, the maximum line length can be influenced by the device type or printer settings.
      • Check the device type configuration (transaction SPAD) and ensure it supports the required line length.

    Related Information:

    • Message Class: VR6 (related to output processing)

    • Transaction Codes:

      • Smart Forms: SMARTFORMS
      • SAPscript: SE71
      • Adobe Forms: SFP
      • Device Type Configuration: SPAD
    • SAP Notes:
      Search for SAP Notes related to VR628 for specific patches or updates if the problem persists.

    • Documentation:
      SAP Help Portal and form design guides provide detailed information on output length limits and form layout best practices.


    Summary:

    The VR628 error indicates that the output line length exceeds the allowed limit. To resolve it, review and adjust the form layout, shorten or split the output text, and verify the data length. Proper form design and data handling will prevent this error.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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