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 |
Why we do Version comparison?
A window is missing while copying a sapscript from one client to another client. What should be done?
what are userexits?? how to use it?? whats the importance of them?? can it be used in interactive reporting to directly come to basic list??
what precautions or prerequisites do you follow to update a record into database table and how
what is the status code when IDOC is created?
what are the processing modes of a function module?
Worked on support project? How do you handle serious production issue? Severity? Time taken to resolve the issue? How you get issues/tickets?
What is the Size of the internal tables ?
i have a requirement.there are 2 fields and one check box on my selection screen.initially first field sud be mandatory, when we click on check box the first field which was mandatory sud now be optional and second field sud be mandatory?please provide me the solution asap.Thank you
5. What is the difference between report and script?
Have you used SAP supplied programs to load master data?
What are the rules to create a BAPI?