Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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.

    Add comment
    10|10000 characters needed characters exceeded