on 01-18-2008 2:59 PM
Hi,
Is there any way that we can do column aggregation or column grouping in the WebDynpro ALV like we do row grouping or row aggregation in WD ALV.
Best Regards
Sid
Hi Sid,
Try using this line of code.
lr_field_settings->->set_multi_column_sort( 'X' ).
Hope this helps.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sid,
You can do group by column this way in ALV
data: lr_field type ref to cl_salv_wd_field,
lr_field_settings type ref to if_salv_wd_field_settings.
lr_field = lr_field_settings->get_field( 'CHANGD_ON' ).
lr_field->if_salv_wd_sort~create_sort_rule( ).
lr_field->if_salv_wd_sort~set_grouping_allowed( '' ).
Hope this helps.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.