Skip to Content
0
Former Member
Feb 12, 2008 at 08:39 AM

SALV_WD_TABLE - new button - event

132 Views

Hi all,

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?

My source:

lv_function_import = wd_this->lr_config_table_comp->if_salv_wd_function_settings~create_function( 'IMPORT_DATA' ).

  • Generate Buttons

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

regards