Adding custom button in standard toolbar in ALV
I need to add a customized button called "Copy" on ALV. The following code is giving me few standard buttons like "Append" "Delete" "Insert" etc. So, how can I add "Copy" button besides one of these standard buttons.
data: l_value type ref to cl_salv_wd_config_table.
data: lr_table_settings type ref to if_salv_wd_table_settings.
lr_table_settings ?= l_value.
lr_table_settings->set_read_only( abap_false ).
Thks & Rgds,
Refer to the below link which has step by step example to create new buttons and place them in alv toolbar.
[Add new custom buttons in ALV toolbar - http://divulgesap.com/blog.php?p=NzI= |http://divulgesap.com/blog.php?p=NzI=]
Hope it helps.
Edited by: Thomas Jung on Apr 14, 2010 8:32 AM