Main ALV Classes

Definition

You are using the ALV object model with one of the following main ALV classes:

  • CL_SALV_TABLE

    for the simple, two-dimensional table

  • CL_SALV_HIERSEQ_TABLE

    for the hierarchical-sequential list

  • CL_SALV_TREE

    for the tree structure

If you have decided on one of the ALV tools, you use the corresponding main ALV class to make all the settings that you need for the ALV output.

Structure

In the ALV main classes, you will find somewhat uniform methods that you use to provide the required specifications:

Minimum Information

In each of the three main ALV classes, you must call at least the following methods to obtain your desired ALV output:

  • You instantiate the main ALV class:

    • You define the internal data table that provides the structure and content of the ALV output, as needed.

    • You define which display type you want to use for the ALV output.

  • You display the ALV output on your screen.

Optional Methods in All Main ALV Classes

You can also make a variety of settings to control the ALV output.

Optional, Class-Specific Methods

The three main ALV class are based on various data models. This means you can also make various settings, depending on which ALV tool you are using.