Application Development and Automation 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: 
Read only

Sorting field in View

Former Member
0 Likes
712

How do I sort field in View? thanks!

5 REPLIES 5
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
630

Entries are automatically sorted in ascending order by default based on the primary key.

Read only

0 Likes
630

Thanks for you response!

So how do I sort it in descending order by default?

Read only

gerd_rother
Active Participant
0 Likes
630

Hi,

Actually I do not understand your question: what do you want to sort? If you are referring to a SELECT from a view please refer to the documentation of SELECT.

Regards, Gerd Rother

Read only

Former Member
0 Likes
630

If it is an internal table, use

SORT internal_table DESCENDING by internal_table_field_name.

Read only

0 Likes
630

Kindly close the thread due to no possibility in ABAP Dictionary to sort the field in View. In pure SQL, I can create view from select statement with order of fields