Ansicht
Dokumentation

ABAPSORT_ITAB_SHORTREF - SORT ITAB SHORTREF

ABAPSORT_ITAB_SHORTREF - SORT ITAB SHORTREF

Vendor Master (General Section)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

SORT itab

Reference



Syntax

SORT itab [STABLE]
          { { [ASCENDING|DESCENDING]
              [AS TEXT]
              [BY {comp1 [ASCENDING|DESCENDING] [AS TEXT]}
                  {comp2 [ASCENDING|DESCENDING] [AS TEXT]}
                  ... ] }
          | { [BY (otab)] } }.


Effect

Sorts an internal table itab by the primary table key or a specified sort key.

Additions

  • STABLE
    Ensures stable sorting by preserving the relative order of non-affected lines.
  • ASCENDING
    Sorts in ascending order.
  • DESCENDING
    Sorts in descending order.
  • BY comp1 ... comp2 ...
    Sorts by the specified components comp1, comp2, ... instead of by the primary table key.
  • BY (otab)
    Sorts by the order specified in the table otab of type ABAP_SORTORDER_TAB instead of by the primary table key.
  • BY expr
    Sorts by an internal table returned by an expression.
  • BY (otab)
    Sorts by the order specified in the table otab of type ABAP_SORTORDER_TAB instead of by the primary table key.
  • BY expr
    Sorts by an internal table returned by an expression.





Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2435 Date: 20240517 Time: 102622     sap01-206 ( 27 ms )