cancel
Showing results for 
Search instead for 
Did you mean: 

SALV_WD_TABLE - new button - event

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182190
Active Participant
0 Kudos

Hi Wolfgang,

You have created a Event handler as you say so Just go ahead and give the Event

as ON_FUNCTION in the methods tab of the view.

Select f4 help in the Events tab and select ON_FUNCTION.

Hope this solves your problem.

Regards,

Ismail.