2010 May 19 1:48 AM
How do I sort field in View? thanks!
2010 May 19 6:52 AM
Entries are automatically sorted in ascending order by default based on the primary key.
2010 May 19 11:55 AM
Thanks for you response!
So how do I sort it in descending order by default?
2010 May 19 7:31 AM
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
2010 May 19 12:01 PM
If it is an internal table, use
SORT internal_table DESCENDING by internal_table_field_name.
2010 Jun 01 4:25 AM
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
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |