
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 Windowsä Environment and the SAP GUI for the JAVA ä Environment. The HTML column tells you if the method works in the SAP GUI for HTML:

See also:
User-defined Text Output
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 |
ü |
Mouse-controlled Actions in the Grid Control
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 |
Processing of Self-defined and Standard Functions
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 |
ü |
Definition of Self-defined Functions
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_request |
Change context menu |
X |
| onf1 |
Define self-defined F1 help |
(ü) |