Events of Class CL_GUI_ALV_GRID

The section Working With the ALV Grid Control describes the special points and issues you must consider when you handle events of the ALV Grid Control.

All methods specified below can be used in the SAP GUI for the WindowsEnvironment and the SAP GUI for the JAVAEnvironment. The HTML column tells you if the method works in the SAP GUI for HTML:

: Method can be used.

(): Method can be used restrictedly.

X: Method cannot be used.

Event

Application

HTML

print_end_of_list

Define output text to be printed at the end of the entire list

print_top_of_list

Define output text to be printed at the beginning of the entire list

print_end_of_page

Define output text to be printed at the end of each page

print_top_of_page

Define output text to be printed at the beginning of each page

subtotal_text

Define self-defined subtotals texts

 

Event

Application

HTML

button_click

Query a click on a pushbutton in the ALV Grid Control

double_click

Query a double-click on a cell of the ALV Grid control

hotspot_click

Query a hotspot click on columns defined for this purpose in advance

onDrag

Collect information when elements of the ALV Grid Control are dragged

X

onDrop

Process information when elements of the ALV Grid Control are dropped

X

onDropComplete

Perform final actions after successful Drag&Drop

X

onDropGetFlavor

Distinguish between options for Drag&Drop behavior

X

 

Event

Application

HTML

before_user_command

Query self-defined and standard function codes

user_command

Query self-defined function codes

after_user_command

Query self-defined and standard function codes

 

Event

Application

HTML

toolbar

Change, delete or add GUI elements in the toolbar

menu_button

Define menus for menu buttons in the toolbar

context _menu_reques t

Change context menu

X

onf1

Define self-defined F1 help

()