What does it do? Output of horizontal lines in lists. This statement mainly has the same effect as the following WRITE>> statement: WRITE line ${$[AT$] $[/$]$[pos$]$[(len)$]$} $[NO-GAP$].> In this case, line> is a data object with type c> and length 1023, which is completely filled with -> characters. In accordance with the predefined formatting rule for the character - >, these are linked with each other to form a continuous line and are replaced by the appropriate line element >. The same applies to directly consecutive characters -> and |>. In contrast to the WRITE> statement, ULINE> replaces the characters with the line element for an output length of 1. The position and length of the line are determined by the rules for the WRITE> statement. In the simplest case, ULINE> produces the following output:
A continuous horizontal line along an entire line, if no position and length are specified after AT>. In contrast to the WRITE> statement, the list cursor> is positioned in the first position of the next line.
A line of length len> at the horizontal position pos> if a position and length are specified after AT>.
Latest notes:
If the statement FORMAT FRAMES OFF>> is used beforehand, the output of ULINE> is not displayed as a continuous line, as this statement prevents replacement of the -> characters with line elements.
Output of the system field sy-uline> using the statement WRITE>> behaves like the statement ULINE>. ABAP_HINT_END
Example ABAP Coding
Output of a horizontal line along the entire line after the first WRITE> output, and two horizontal lines as a part of a frame. ABEXA 00747 ABAP_EXAMPLE_END