Entering content frameSyntax documentationtoolbar Locate the document in its SAP Library structure

Use

This event is triggered by the ALV each time the toolbar of the control needs to be regenerated. To add self-defined functions to the toolbar, you trigger the event using method set_toolbar_interactive and write an event handler method ( see also: Defining GUI Elements in the Toolbar).

Note

You can hide the entire toolbar using field no_toolbar of the layout structure.

Example

In demo report BCALV_GRID_05 of development class SLIS , a new pushbutton is added to the toolbar.

Event parameter

Meaning

E_OBJECT
Type Ref To CL_ALV_EVENT_TOOLBAR_SET

The object contains only one attribute with a table for the functions of the toolbar.

E_INTERACTIVE
Type CHAR01

If this flag is set, you triggered the event using method set_toolbar_interactive . If this flag is not set, the event was triggered by the ALV Grid Control.

 

For an overview, see: Events of Class CL_GUI_ALV_GRID

 

 

 

 

 

 

 

Leaving content frame