cancel
Showing results for 
Search instead for 
Did you mean: 

ALV events

Former Member
0 Kudos

Hi all

i am new to alv programming. can anybody tell me what r the various events in alv reports.

thanx in advance

manish

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Here are some Events for class cl_gui_alv_grid.

<b>User-defined Text Output</b>

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

<b>Mouse-controlled Actions in the Grid Control</b>

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

onDrop Process - information when elements of the ALV Grid Control are dropped

onDropComplete - Perform final actions after successful Drag&Drop

onDropGetFlavor - Distinguish between options for Drag&Drop behavior

<b>Processing of Self-defined and Standard Functions</b>

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

<b>Definition of Self-defined Functions</b>

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

onf1 - Define self-defined F1 help

Hope it helps u.

Thanks&Regards,

Ruthra

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

There are a few.

Go to SE24, enter CL_GUI_ALV_GRID and click display, now click on the EVENTS tab. Here are all of the events that you can handle for your ALV.

Welcome to SDN!!!.

Please remember to award points for helpful answers and mark your posts as solved when your problem is solved. Thanks.

Regards,

Rich Heilman