Sort statement?
Answers were Sorted based on User's Feedback
Answer / sameer
yep its correct its is used for sorting internal table.
synatx :
SORT <itab> by <field> Ascending/descending.
Is This Answer Correct ? | 2 Yes | 0 No |
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 |
Answer / amrit
Shreeshail may or may not have good knowledge. bcoz he/she only does copy n paste works. That's really not good for career improvement.
ans should be simple n short.
SORT <itab> by <field> Ascending/descending.
Is This Answer Correct ? | 1 Yes | 0 No |
Explain the differences between sap memory and abap memory?
What is elementary search help? : sap abap data dictionary
what is an internal table and types of internal table
What is the maximum number of structures that can be included in a table or structure : abap data dictionary
how we can moddify a internal table without using modify statement
How to process the session dynamically?
what is the difference between user-exit & BADIs?
one client needs material description more than 40 chars so how can we extend because in standard table material descp is of 40 chars only
18) Difeerence between various BDC method.Which is the best one?
what we have to do in st05 and se30?
What is the mandatory event in LDBs.
which of the following are used to define data in abap 1)parametrs 2)tables 3)class 4)data