on 08-06-2007 6:24 PM
Hi,
We are using the WDA ALV component in our application. Whem making use of the standard 'sort' functionality by pressing on a column header, all identical values of that
column are grouped into a single group entry.
As we still need to access every single cell of that column, I am looking for a way to
suppress this value grouping after sort. I did not find any methods in the ALV model to do so. Any ideas on how to suppress this?
Thanks for your help!
Robert
Hi Robert,
You can call the method set_grouping_allowed in the interface if_wd_salv_sort.
data lo_interfacecontroller type ref to iwci_salv_wd_table .
data lo_value type ref to cl_salv_wd_config_table.
data lo_field type ref to cl_salv_wd_field.
lo_interfacecontroller = wd_this->wd_cpifc_alv_comp( ).
lo_value = lo_interfacecontroller->get_model( ).
lo_field = lo_value->if_salv_wd_field_settings~get_field( fieldname = 'CURRENCY' ).
lo_field->if_salv_wd_sort~set_grouping_allowed( value = ABAP_false.).
Regards,
Neha
<i><b>PS:Reward if helpful</b></i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Neha,
thank you, this solved the problem.
Cheers, Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.