Show TOC

Displaying PushbuttonsLocate this document in the navigation structure

Use

Pushbuttons help users to trigger an event that you are able to process as needed. You are able to display pushbuttons in the ALV output. The value of the cell is then displayed as a label for the button.

These are valid for the functions of pushbuttons:

ALV Tool

Display type

Function available

Simple, two-dimensional table

Classic ABAP List

No

Fullscreen

No

In the Container

Yes

Hierarchical-sequential list

Classic ABAP List

No

Tree Structure

Fullscreen

Yes

In the Container

Yes

Note

If users select a pushbutton, they trigger the LINK_CLICK event (class CL_SALV_EVENTS_TABLE or CL_SALV_EVENTS_TREE)

Features

You are able to make the following settings for pushbuttons:

  • Display pushbutton (assign cell and item type)

Displaying Pushbuttons

  • To display a cell as pushbutton in container display of a simple, two-dimensional table, use the cell type BUTTON .

  • To display a pushbutton in a tree structure, use the type of item BUTTON ..