Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding custom button in standard toolbar in ALV

Hello All,

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 ).

Appreciate help.

Thks & Rgds,

Hemal

Former Member
Former Member replied

Hi Hemal,

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.

Cheers,

Ravikiran

Edited by: Thomas Jung on Apr 14, 2010 8:32 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question