on 10-19-2010 11:50 AM
Hi Guys,
When I sort my alv using the code below, there is no more lead selection in my alv :
Sort the table by date descending*
lo_field = value->if_salv_wd_field_settings~get_field( 'CREATED_ON' ).
lo_field->if_salv_wd_sort~create_sort_rule( sort_order = if_salv_wd_c_sort=>sort_order_descending ).
My alv is linked to a context node with cardinality = 0...N, selection = 0...1 and Initialize lead selection is set to 'X'.
If I delete the sorting code , the lead selection is wirking fine.
Do you know how to solve this?
Thanks
Karim
Hi,
I managed to solve this by calling method set_refresh_on_data_change of class if_salv_wd_table_settings.
kr
Karim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help Rohit.
Could you plaese provide the methods that have to be called?
kr
Karim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Call the ALV lead selection again and call apply ALV services method to apply the changes.
Best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.