Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Classic Lists →  Creating Lists →  WRITE 

WRITE - Lines

When a list is displayed using WRITE, the characters "-" and "|" are replaced by suitable line elements if they are displayed directly beside or above each other. Line elements are horizontal and vertical lines, corners, crosses, and T elements. Character replacement produces continuous lines. A standalone character "|" is always replaced by a vertical line. When the system field sy-uline is displayed, each character in the field is always replaced by a horizontal line as in the statement ULINE.

The replacement of characters with line elements depends on how the character is shown in the list and not on how it is defined in the list buffer. Consequently, the characters "-" and "|" can be joined to form a line in Unicode systems although they are not directly adjacent in the list buffer.

The replacement of characters by line elements can be switched off using the addition FRAMES OFF.

Other versions: 7.31 | 7.40 | 7.54


Notes

  • Data objects whose characters "-" and "|" are to be replaced by line elements may only contain blanks in addition to these characters. Otherwise, replacement with line elements cannot be guaranteed.

  • In most cases, the line elements used to replace character produce the required results. Only in a few irrelevant cases can it happen that characters are replaced unexpectedly.

  • The line elements used to replace characters can also be displayed explicitly as list elements. These can be used deliberately if the automatic replacements do not work as expected.