on 01-16-2014 7:54 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.