2007 Sep 19 12:51 PM
Hi, I need to change the funcionality of the buttons "+" and "-" in an ALV.
I need to throw a function when I push the button "+" or "-" (add line, delete line).
What events do I have to use ?
Thanks
2007 Sep 19 12:55 PM
REUSE_ALV_GRID_DISPLAY
The important parameters are :
I. Export :
i. I_callback_program : report id
ii.<b> I_callback_pf_status_set</b> : routine where a user can set his own pf status or <b>change the functionality of the existing pf status</b>
iii. I_callback_user_command : routine where the function codes are handled
iv. I_structure name : name of the dictionary table
v. Is_layout : structure to set the layout of the report
vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE
vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.
II. Tables :
i. t_outtab : internal table with the data to be output
Regards
vasu
2007 Sep 19 12:55 PM
REUSE_ALV_GRID_DISPLAY
The important parameters are :
I. Export :
i. I_callback_program : report id
ii.<b> I_callback_pf_status_set</b> : routine where a user can set his own pf status or <b>change the functionality of the existing pf status</b>
iii. I_callback_user_command : routine where the function codes are handled
iv. I_structure name : name of the dictionary table
v. Is_layout : structure to set the layout of the report
vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE
vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.
II. Tables :
i. t_outtab : internal table with the data to be output
Regards
vasu