sapdev logo background
sapdev logo sapdev logo
Comments

SAP SORT ITAB EXP ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTIClE

Sorting Internal Tables Dynamically
This example demonstrates how internal tables are sorted dynamically using an expression.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The method sort_itab sorts an internal table using the statement SORT itab , where the sort criteria are specified as a table of type abap_sortorder_tab constructed using the value operator VALUE
. The component descending of this table is set using a conditional expression with the case distinction SWITCH
, as specified by the input parameter direction .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SORT_GUIDL
SORT_ITAB_SEC_KEY_ABEXA




comments powered by Disqus