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: 

Why is this character field column not merged when sorted in ALV output?

former_member195355
Participant
0 Kudos

Hiya,

I've got the following output from my ALV:

As you can see the 'Net Ord' column doesn't seem to get merged even though it is sorted.

The column is a 13 character field defined simple by netwr_c(13).

There isn't NO_MERGEING in the field catalogue.

Any ideas on why it isn't being merged?

Thanks in advance!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

i think same fields with same data type will be merged.

if possible share your source to check and advise.

5 REPLIES 5

Former Member
0 Kudos

i think same fields with same data type will be merged.

if possible share your source to check and advise.

0 Kudos

Yes,

You can't merge 4 with 1,2,3 because 4 has different create, soldto, and customer name.  That would be my thought too.  If you dropped those fields, then it would merge.

Neal

0 Kudos

Hi Guys,

I've tried just sorting the ' Net Ord' field and no merge occurs:

This field is defined as netwr_c(13) ie a 13 character field.

whereas the adjacent field does merge

and it is defined as a waerk(5) i.e. a 5 character field.

Oh dear I'm so confused...

0 Kudos

Again, I think we'd have to see your code to really advise you.

former_member195355
Participant
0 Kudos

Thanks Guys.

I've ended up just manually clearing the fields and removing the Sort.

Thanks for offering to help.