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

Former Member
0 Likes
1,009

Hi,

My internal table contains 3 fields: doc no, date and time.

I wish to sort my internal table by date and time in descending order.

Kindly help me out by sending some sample code.

Regards,

Kalai.

hi,

sort <itab> by <date> < time > descending.

should help u.

santhosh

7 REPLIES 7
Read only

Former Member
0 Likes
946

hi,

sort <itab> by <date> < time > descending.

should help u.

santhosh

Read only

Former Member
0 Likes
946

SORT itab BY date DESCENDIN time DESCENDING.

Regards

Wenceslaus

Read only

Former Member
0 Likes
946

try this code

sort itab by date time descending.

shiba dutta

Read only

Former Member
0 Likes
946

sort itab descending by sort_key

Read only

anversha_s
Active Contributor
0 Likes
946

Hi,

sort itab by date decending time decending.

rgds'

Anver

Read only

Former Member
0 Likes
946

hi,

this will help..

<b>sort itab by date decending time decending.</b>

Rgds,

Ajith

Read only

Former Member
0 Likes
946

Thanks to all.