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 in Report

Former Member
0 Likes
461

How to do sorting in classical report?

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
436

before output of your internal table use statement SORT....

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
437

before output of your internal table use statement SORT....

Read only

Former Member
0 Likes
436

hi check this..

sort table itab by field1 field2 .

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/sort.htm

regards,

venkat

Read only

Former Member
0 Likes
436

Sort the internal table that you want to print as the list.

eg:

if ITAB is the internal table you are printing, sort it like this

sort ITAB.

if you want to sort by a field

SORT ITAB by FIELD1.

Sort by multiple fields.

SORT ITAB by FIELD1 FIELD2..

Regards,

Ravi