cancel
Showing results for 
Search instead for 
Did you mean: 

RE: drop down on webdynro alv toolbar

uppu_narayan
Active Participant
0 Kudos

Hi Experts,

I have put a drop down by index on alv tool bar and values are getting populated, when i m changing the lead selection on the drop down the event is not getting triggered. Any one who has done drop down on alv toolbar? can u tell which which alv event was used. Any help or suggestion will be appreciated.

Regards,

Narayan

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

I hope you have created the drop down in  ALV tool bar using class CL_SALV_WD_FE_DROPDOWN_BY_IDX and then assigned the Function Id by using create_function method!


if_salv_wd_function_settings~create_function( id = 'DROPDOWN' ) .

Now create an event handler method for ON_FUNCTION event of ALV interface controller in your view.

Then create an importing parameter (say r_param ) in the event handler method(above step) of type ref to IF_SALV_WD_TABLE_FUNCTION.

Then in your code use

if r_param->id = 'DROPDOWN' . " DROPDOWN is the function ID for drop down

read your drop down value.

endif.

Hope this helps u,

Regards,

Kiran

uppu_narayan
Active Participant
0 Kudos

Thanks kiran,

solved it myself same way which you said above, thanks for your reply.

Regards,

Uppu Narayan

Answers (0)