Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

OOPs ALV - Sort / Group Disfunction ?

Former Member
0 Likes
753

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[].

3 REPLIES 3
Read only

Former Member
0 Likes
542

Group works in list display and in prints.

Read only

Former Member
0 Likes
542

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

Read only

Former Member
0 Likes
542

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.