Sort statement?

Answer Posted / shreeshail diggi

This statement sorts an internal table itab. As standard,
numeric and byte-type components are sorted by their value
and character-type components according to their binary
representation code page). Textual sorting of character-
type components is performed using the addition AS TEXT.

Syntax
SORT itab [STABLE]
{ { [ASCENDING|DESCENDING]
[AS TEXT]
[BY {comp1 [ASCENDING|DESCENDING] [AS TEXT]}
{comp2 [ASCENDING|DESCENDING] [AS TEXT]}
... ] }
| { [BY (otab)] } }.

Thank's and Regards,
Shreeshail Diggi
SAP Technical Consultant Infinite India

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of attributes of function module?

529


What kind of financial periods exist in sap? What is the relavent table for that?

603


what is field string ? & where we are using field strings?

1548


What are the time related infotypes? : abap hr

587


What are the advantages of abap query tool?

524






what are the two methods of modifying sap standard tables ?

532


How to creat transactions? : abap data dictionary

620


On abap: did you set up a workflow? Are you familiar with all the steps for setting up a workflow?

553


please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?

1552


What are the differences between session method and call transaction method? : abap bdc

526


what are Hana Basics

868


Explain the difference between a dialog program and a report?

528


What are the various types of selection screen event?

545


What is an Open Item in SAP? How will you find an Open Item in SAP?

596


How are BAPI different from normal function modules?

1700