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

Use

In this event, you query function codes for menus that you have defined in the toolbar event. For each function code, you define a menu in the same way as for the standard context menu of the ALV Grid Control.

See also: Defining a Menu in the Toolbar

Note

The event is triggered each time a user clicks a menu button in the toolbar.

Event parameter

Meaning

E_OBJECT
TYPE REF TO CL_CTMENU

Reference to the menu of the toolbar that the user has chosen. You use methods of this object to build this menu.

E_UCOMM
Type SY-UCOMM

Function code of a menu that you have defined in the toolbar event. You use this parameter to distinguish between the menus defined in the toolbar.

 

For an overview, see: Events of Class CL_GUI_ALV_GRID

 

 

 

 

 

Leaving content frame