SAP ABAP LISTS

Get Example source ABAP code based on a different SAP table
  


ARTICLE

Creating Lists
WRITE
ULINE
FORMAT
SET BLANK LINES
SKIP
NEW-LINE
BACK
POSITION
SET LEFT SCROLL-BOUNDARY
NEW-PAGE
RESERVE
HIDE
SET MARGIN
PRINT-CONTROL

ABAP_PGL Use SAP List Viewer

Note
ABAP Code Snippet
Classical lists are no longer intended to be used directly in production programs. We recommend that other suitable output media is used instead.
For table list output, use the classes of SAP List Viewer ( ALV), such as CL_SALV_TABLE.
For simple text output, use the wrappers of the browser control, such as dynamic documents or wrappers of the textedit control. 'Dynpros, Text Output' shows an example of the latter.
For simple console output, XML-based output streams can be used. An example of this is shown by the class CL_DEMO_OUTPUT_STREAM. The program DEMO_OUTPUT_STREAM shows potential uses of this class. The class CL_DEMO_OUTPUT, which is based on CL_DEMO_OUTPUT_STREAM, is used in programs from the ABAP Example Library.
ABAP Code Snippet