Ansicht
Dokumentation

ABENSORT_ITAB_EXP_ABEXA - SORT ITAB EXP ABEXA

ABENSORT_ITAB_EXP_ABEXA - SORT ITAB EXP ABEXA

BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Sorting Internal Tables Dynamically

This example demonstrates how internal tables are sorted dynamically using an expression.

Source Code

Execute

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, depending on the input parameter direction.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1031 Date: 20240419 Time: 134840     sap01-206 ( 21 ms )