SAP NEWS-30-INTERNATIONAL



Get Example source ABAP code based on a different SAP table
  



Internationalization in ABAP Release 3.0
ITOC

ABAP_OVERVIEW
Since releases 2.1/2.2, ABAP has provided a number of statements to support the internationalization of programs. SET COUNTRY can be used to define the date and number formatting for a particular country, while SET LANGUAGE makes it possible to change the text pool language. TRANSLATE f TO LOWER/UPPER CASE reacts to the locale category LC_CTYPE, and when passing data between ABAP_ASINSTANCE and front ends and when passing data using RFC, the system respects the SAP code page.
In ABAP_RELEASE 3.0, texts can be sorted in a locale-friendly way (specific to culture). Here, the sort order is determined by the locale category LC_COLLATE.
In addition, the text environment which (among other things) defines the locale-specific sort rules is set automatically according to the language of the active user when an ABAP_ISESS is opened.
Finally, the basis for internationalization has been modified. Using the SAP text environment table TCP0C, text environments are assigned to a four-part key consisting of < PLATFORM, LANGUAGE, COUNTRY, MODIFIER>.

ABAP_MODIFICATION_NN SORT ... AS TEXT: Locale-Friendly Sorting

The addition ... AS TEXT of the language element SORT enables text data to be sorted in a locale-friendly way.

ABAP_MODIFICATION_NN CONVERT TEXT: Conversion of Texts to a Locale-Specific Sortable Format

The new CONVERT variant CONVERT TEXT t INTO SORTABLE CODE sc converts a text to a locale-friendly sortable format.

ABAP_MODIFICATION_NN SET LOCALE: Explicit Setting of the Text Environment

The new SET variant SET LOCALE enables program-driven configuration of the text environment.