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

What is table buffer?

769


How table control cn be generated using bdc? : abap bdc

744


What is the significance of delivery class? : abap data dictionary

803


How many types of size categories and data classes are there? : abap data dictionary

828


What is the difference between field-group header and other field groups?

758


what is abstract classes

1077


In events, start-of-selection is a default event. When we have to use this event explicitly? Why?

808


How to determine the attributes of an internal table?

822


what precautions or prerequisites do you follow to update a record into database table and how

5634


Explain what is the purpose of sap script?

787


What are different ABAP editors? What are the differences?

819


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

885


Under Data Transfer Portion of ABAP, what do you mean by DX Project

2080


What is its?

853


Define the various contents of technical specifications ?

854