2006 Apr 09 9:12 AM
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
2006 Apr 09 9:45 AM
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
2006 Apr 09 10:05 AM
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.