Show TOC

Table ControlsLocate this document in the navigation structure


Table controls are used to display large quantities of data in tables. Like all screen elements, they are defined in the Screen Painter. Within a table control, you can display input/output fields, radio buttons, checkboxes, radio button groups, and pushbuttons. You can have up to 255 columns and each column can have a heading. The first row is always the header row. Table controls offer users the following functions:

  1. You can use the resizing attributes to specify whether the table control can resize the screen vertically or horizontally. If the control supports resizing, you can specify a minimum size for it.

  2. You can define column headers that are also pushbuttons. You can use the pushbutton to select the column.

  3. The width and position of columns can be changed by the user or by the program.

  4. You can save the current settings as a default setting for a user.

  5. Vertical scrolling with a scroll bar

  6. Horizontal scrolling with a scroll bar

  7. You can fix a number of lead columns that cannot be moved by the user.

  8. A selection column enables you to select rows.

The only actions that trigger a PAI event are changes to the size of the screen (if the resizing attributes are selected), vertical scrolling, and saving settings. All other user actions are handled by the presentation server.

A table control displayed on a screen is a repeated series of table rows. Each row contains one or more screen elements, and all rows have the same structure. The step loop technique is used to pass data between the table controls and the ABAP program. To enable this, the screen flow logic and the ABAP program must be programmed accordingly

Table Controls on the Screen

Table Controls in the Flow Logic

Table Controls in ABAP Programs

Table Controls: Examples with Scrolling

Table Controls: Examples with Modifications

Appendix: The Step Loop Technique