Ansicht
Dokumentation

ABENVIRTUAL_SORT_SIMPLE_ABEXA - VIRTUAL SORT SIMPLE ABEXA

ABENVIRTUAL_SORT_SIMPLE_ABEXA - VIRTUAL SORT SIMPLE ABEXA

Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

- Virtual Sort of a Table

This example demonstrates the virtual sorting of a single internal table.

Source Code

Execute

Description

An internal table filled with random numbers and letters is sorted virtually using the method VIRTUAL_SORT of system class CL_ABAP_ITAB_UTILITIES, first in ascending order by the first two columns and then in descending alphabetical order by the last two columns. The returned array contains the line numbers in the respective sort order. This array is used to fill an internal table sorted_tab according to the sorting. For comparison, an internal table test_tab with the same content is constructed and sorted with the statement SORT. The results are the same in both cases.






Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1009 Date: 20240425 Time: 155605     sap01-206 ( 28 ms )