Skip to Content
0
Dec 15, 2006 at 09:56 PM

sort problem in ALV

233 Views

I have ALV grid (Object oriented), I am sorting all the fields in the grid in LVC_S_SORT table and passing to method set_table_for_first_display

Here my problem is the ALV grid in the third line (next group level ) all fields are not displaying due to its have same vale of previous line

I know this problem of sort. How to overcome this.

ALV display

fld1 fld2 fld3 fld4 fld5 fld6 fld7

002 MH P1 N509 AA 1 CR

... .. .. .... ............... 7 MH

006 MI IM N509 AA 1 CR

Here you can see the fld4 and fld5 are not displayed in the Grid but below mentioned list output it is displayed properly (The below mentioned list output taken from grid --> list output option)

List Output.

fld1 fld2 fld3 fld4 fld5 fld6 fld7

002 MH P1 N509 AA 1 CR

002 MH P1 N509 AA 7 MH

006 MI IM N509 AA 1 CR

How to make the sort criteria?