Skip to Content

how to make a custom order of a field in a report alv?

Sep 19, 2017 at 10:39 PM


avatar image
Former Member

Hi, Good afternoon!!

Hello good afternoon. I communicated with you, to see if they can solve a doubt that I have, that is about the realization of how to order a field but in a personalized way. Example:

which I look for to initiate of the following way:

I would appreciate your help! thank you.

eje1.png (3.2 kB)
eje2.png (3.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Matthew Billingham
Sep 20, 2017 at 05:47 AM

It's kind of hard to figure out what your preferred sort order is, so I can't be exact, but what you do is write a bit of code that assigns a numeric value to each row, which will put them into your sort order. Then you store that value as another field in your table, sort by it, but hide that column on the alv.

10 |10000 characters needed characters left characters exceeded