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: 

Sort by descending wont sort my internal table.

walkerist
Participant
0 Kudos
200

Here's my code. I was trying to group the entries by ebeln and ebelp then sort it by descending order by cpudt cputm however, it won't take effect.

SORT t_ekbe BY ebeln ebelp DESCENDING cpudt cputm. 

Assuming here's the EKBE table unsorted EKBE table.


I want the result to be like this:

Should I just use this code instead?

  SORT t_ekbe DESCENDING BY ebeln ebelp cpudt cputm.
1 REPLY 1