i have created a web dynpro abap application with an alv.
Now i have created an additional button to the alv toolbar.
I have created an event handler. But how can i match the click button to the event handler?
lv_function_import = wd_this->lr_config_table_comp->if_salv_wd_function_settings~create_function( 'IMPORT_DATA' ).
CREATE OBJECT lv_button_import.
lv_button_import->set_text( 'Import to SAP' ).
Assign Buttons to Functions
lv_function_import->set_editor( lv_button_import ).