28 lines
537 B
Plaintext
28 lines
537 B
Plaintext
Internal tables can be sorted without specifying the specific fields on which to sort. However, doing so is inefficient because when a sort key is not specified, the entire row is used in the sort, which can be markedly inefficient.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
[source,abap]
|
|
----
|
|
SORT ITAB.
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
[source,abap]
|
|
----
|
|
SORT ITAB BY LAND WEIGHT.
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::message.adoc[]
|
|
|
|
endif::env-github,rspecator-view[]
|