‎2011 Jul 11 3:18 PM
HI
when i try to sort my ALV output using LVC_S_SORT group is not working in OOPS , any idea
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
it_toolbar_excluding = lt_exclude
CHANGING
it_fieldcatalog = it_field
it_outtab = it_group_outtab[]
it_sort = it_sort[].
‎2011 Jul 11 9:26 PM
‎2011 Jul 18 12:48 PM
Hi,
Group does work for OO ALV. What are the values that you have passed for group table?
Cheers, Prabhu
Edited by: prabhusv on Jul 18, 2011 5:18 PM
‎2011 Jul 22 1:52 PM
Hi,
User IT_SPECIAL_GROUPS which is exporting parameter(table of type LVC_T_SGRP)
The field SP_Group in the field catalog is used to group the columns. We should pass a table with texts for these groups. On the current layout window, it is then possible to use a list box to restrict column selection to one of these groups.
Hope this helps.