If AS TEXT is not specified, text-like components are sorted according to Text-like components are sorted in accordance with the Itab = VALUE #( FOR i = 1 UNTIL i > 100 ( rnd->get_next( ) ) ). Next, LOOP AT GROUP BY can be used for grouping and determine the number of lines per group.ĭATA itab TYPE TABLE OF i WITH NON-UNIQUE KEY table_line.įINAL(rnd) = cl_abap_random_int=>create( seed = + sy-uzeit The internal table itab is sorted by its primary key in descending order, This sort direction can be overwritten after the addition BY for components listed individually here. Specified, the table is sorted in ascending order. To specify the sort direction explicitly as ascending or descending. The addition ASCENDING or DESCENDING can be used INTO TABLE flights STABLE BY cityfrom cityto. Stable sorting of the internal table flights by columns cityfrom cityto, whereby the order within this sorting with respect to carrid and connid is preserved.
0 Comments
Leave a Reply. |