Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV events

Former Member
0 Kudos

what are the different events in ABAP ALV.... I tried to use the regular top-of-page and end-of-page as in regular ABAP program..

As I am new to ALV's it will be helpful if u can cite me with examples

2 REPLIES 2

Former Member
0 Kudos

Rahul,

There are quite a few events, which also depend upon whehter we dealing with editable grid or a display grid. These are the events you can find the SE24 - CL_GUI_ALV_GRID.

ONF1

ONF4

DATA_CHANGED

ONDROPGETFLAVOR

ONDRAG

ONDROP

ONDROPCOMPLETE

SUBTOTAL_TEXT

BEFORE_USER_COMMAND

USER_COMMAND

AFTER_USER_COMMAND

DOUBLE_CLICK

DELAYED_CALLBACK

DELAYED_CHANGED_SEL_CALLBACK

PRINT_TOP_OF_PAGE

PRINT_TOP_OF_LIST

PRINT_END_OF_PAGE

PRINT_END_OF_LIST

TOP_OF_PAGE

CONTEXT_MENU_REQUEST

MENU_BUTTON

TOOLBAR

HOTSPOT_CLICK

END_OF_LIST

AFTER_REFRESH

BUTTON_CLICK

DATA_CHANGED_FINISHED

Here are the sample programs for the events

BCALV_GRID_EDIT_DELTA_EVENT

BCALV_SIMPLE_EVENT_RECEIVER

BCALV_TEST_FULLSCREEN_EVENTS

BCALV_TEST_GRID_EVENTS

BCALV_TEST_HIERSEQ_LIST_EVENTS

BCALV_TEST_LIST_EVENTS

BCALV_TOOLBAR_EVENT_RECEIVER

BCALV_TREE_EVENT_RECEIVER

The following are the examples for EDITABLE ALV's.

BCALV_EDIT_01

BCALV_EDIT_02

BCALV_EDIT_03

BCALV_EDIT_04

BCALV_EDIT_05

BCALV_EDIT_06

BCALV_EDIT_07

BCALV_EDIT_08

Regards,ff

Ravi

Note : Please mark the helpful answers

Former Member
0 Kudos

Hi,

The different events in ALV are :

print_end_of_list

print_top_of_list

print_top_of_list

print_top_of_page

subtotal_text

button_click

double_click

hotspot_click

onDrag

onDrop

onDropComplete

onDropGetFlavor

before_user_command

user_command

after_user_command

toolbar

menu_button

context_menu_request

onf1.

As you are new to ALV, i will send you a document which will help you to get the events basics clear.

Can you send me your email ID.

Regards,

Tanveer.

Please rewards points if found helpful.