Ansicht
Dokumentation

ABENSORT_TEXT_ABEXA - SORT TEXT ABEXA

ABENSORT_TEXT_ABEXA - SORT TEXT ABEXA

TXBHW - Original Tax Base Amount in Local Currency   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Sorting Internal Tables Alphabetically

This example demonstrates the alphabetical sorting of character strings.

Source Code

Execute

Description

The table itab contains a column of text fields and a column of associated country-specific sortable binary characters that were created in a sortable format using conversions. The table is sorted three times. First, binarily for the key field text, then binarily for the xtext field, and finally alphabetically for the key field text.

In the first sort "Möller" comes after "Muller", because the internal representation of 'ö' comes after the representation for 'u'. Both the other sorts are alphabetical. The binary sort performed on xtext has the same result as an alphabetical sort on the field text.






General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1107 Date: 20240328 Time: 225356     sap01-206 ( 26 ms )