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: 

sorting intenal table - first field Asc and second field with dece order?

Former Member
0 Kudos

Hi,

How to sort intenal table with 2 fields? One is Asending orider and the other field in Descending order?

EX,

field1(account no ) - field 2(date)

1004 - 2005/01/01

1004- 2007/01/01

1003- 20005/05/05

I want to sort this in this way

1003- 20005/05/05

1004- 2007/01/01

1004 - 2005/01/01

can any one help me.. thanks for ur time.

Rajesh

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos
SORT ITAB by field1 ASCENDING fied2 DESCENDING.

Regards,

Naimesh Patel

2 REPLIES 2

naimesh_patel
Active Contributor
0 Kudos
SORT ITAB by field1 ASCENDING fied2 DESCENDING.

Regards,

Naimesh Patel

Former Member
0 Kudos

sort it_tab by fielda ascending fieldb descending.

Regards

Aneesh.