Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix DB820 - Incorrect position/length on screen


DB820 - Overview

  • Message type: E = Error

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

  • Message number: 820

  • Message text: Incorrect position/length on screen

  • Show details Hide details
  • What causes this issue?

    You attempted to use the statements SELECTION-SCREEN BEGIN OF LINE and
    SELECTION-SCREEN END OF LINE to define a line of the selection screen,
    but one of the underscores specified for the line is too long. This
    underscore was defined by the code

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

    SELECTION-SCREEN ULINE &V3&
    in the database INCLUDE &V4&. This means that the underscore was meant
    to be displayed at position &V1& with a length of &V2&, but the current
    selection screen line (which may be in a box) is too short.

    System Response

    Unable to generate the selection screen.

    How to fix this error?

    Correct the code.

    Error message extract from SAP system. Copyright SAP SE.


DB820 - Details

  • The SAP error message DB820 "Incorrect position/length on screen" typically occurs when there is a mismatch between the screen layout defined in the SAP GUI and the actual data being processed. This can happen for various reasons, including:
    Causes:
    
    Screen Layout Changes: If the screen layout has been modified (e.g., fields added or removed) but the underlying program or transaction has not been updated accordingly.
    Data Length Mismatch: The data being processed may exceed the expected length for a field, causing the screen to display incorrectly.
    Custom Development: If there are custom screens or enhancements that do not align with the standard SAP screen definitions.
    SAP GUI Version: Sometimes, using an outdated or incompatible version of the SAP GUI can lead to display issues.
    
    Solutions:
    
    Check Screen Layout: Review the screen layout in the transaction or program to ensure it matches the expected definitions. This may involve checking the screen painter or transaction codes related to screen

    Already have an account? Login here!




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


DB820 - Related SAP Errors

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker