In both table categories, SORT specifies the order in which a subsequent LOOP runs without the addition USING KEY. Sorted tables cannot be sorted using SORT and applying the statement SORT to sorted tables is prohibited by the syntax. If the system only detects that a sorted table is to be...
SAP Managed Tags: ABAP Development hi, i would like to know if this is possible. i would like to sort internal table base on fieldX. if fieldX is initial then sort with condition as below else system default sort sequence. i know the syntax incorrect. need advice with example. loop ...
SORT is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details. SORT Variants 1. SORT itab. 2. SORT. Variant 1 SORT itab. Additions 1. … DESCENDING 2. … ASCENDING 3. … BY f1 f2 … fi ...
In standard keys, the sort is prioritized according to the order of the key fields in the row type of the table. If the primary table key of a standard table is empty, no sort takes place. If this is known statically, the syntax check produces a warning. ...