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

SORT Statement

Former Member
0 Likes
623

Hi All,,

I want to knw wat the following sort statement is doing..... the below snippet follows certain code, but im unable to make out what role in this sort playing. on which table/s this sort works...

.....

.....

....

CLEAR RTAB.

REFRESH RTAB.

SORT.

.....

....

thanks in advance.

regards

Prem Sharma

4 REPLIES 4
Read only

former_member195383
Active Contributor
0 Likes
576

press F1 on SORT.

You can find

SORT means - Sorting an Extract Dataset.

Hope.. the explanation you get thr. will clarify your doubt.

Regards

Rudra

Read only

Former Member
0 Likes
576

SORT without Itab name after sort will sort field groups declared using INSERT in that program.

Read only

Former Member
0 Likes
576

Hi Prem,

SORT ITAB

This statement sorts an internal table itab. As standard, numeric and byte-type components are sorted according to their value and character-type by their binary representation (Code Page) For text-based sorting of character-type components, you can use the addition AS TEXT.

Press F1 on SORT keyword you will get the complete information on that.

Best Regards,

Deepa Kulkarni

Read only

Former Member
0 Likes
576

query was resolved.