Ansicht
Dokumentation

ABENSORT_ITAB_SEC_KEY_ABEXA - SORT ITAB SEC KEY ABEXA

ABENSORT_ITAB_SEC_KEY_ABEXA - SORT ITAB SEC KEY ABEXA

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Sorting Internal Tables with Secondary Keys

This example demonstrates how tables with secondary table keys are sorted.

Source Code

Execute

Description

The table itab has a secondary hash key for the column col2. If the table is sorted in descending order using this column, the primary index is applied accordingly and a LOOP without a key produces the new order. If, however, USING KEY is used to specify the secondary hash key in the loop, the table is processed in the order in which it was filled. the table is processed in the order in which it was filled.






General Data in Customer Master   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 818 Date: 20240420 Time: 015509     sap01-206 ( 20 ms )