Application Development 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: 

Sorting in ALV and merging the fields

mahabaleshwar_patil
Participant
0 Kudos

When I use  sort functionality in ALV it will sort but it Won’t merge the fileds

I used as below

  wa_sort-fieldname = 'AUGBL'.
wa_sort
-group = 'UL'.
wa_sort
-up = 'X'.
wa_sort
-subtot = 'X'.
APPEND wa_sort TO it_sort.



But there fileds are not clubbed.


But in second screen shot AUGBL fields are clubbed but not in First screen shot how to do that.

5 REPLIES 5

rachit_gupta
Participant
0 Kudos

Hi,

Please check the sequence in which sorting has been applied to the columns and their respective positions of display.

Try to swap the position of fiscal year column with accounting column.

0 Kudos

wa_sort-fieldname = 'AUGBL'.



only 1 field

former_member182888
Participant
0 Kudos

Peace be upon you,

also check the debugger for any fields that may be hidden and have different values

0 Kudos

No hidden values

matt
Active Contributor
0 Kudos

Rejected already, and now reposted three times. So now locked.

Post questions once in one place. If your post is rejected, don't post again.