sapdev logo background
sapdev logo sapdev logo
Comments

SAP NEWS-30-INTERNATIONAL documentation, setup help and example usage



Return to SAP documentation index



Internationalization in Release 3.0

1 SORT ... AS TEXT : Locale-specific sorting
2 CONVERT TEXT : Conversion of texts to a
locale-specific format
3 SET LOCALE : Explicit setting of the text environment

ABAP_OVERVIEW Since Releases 2.1/2.2, ABAP has provided a number of statements to support the internationalization of programs. USING SET COUNTRY , you can define the date and number formatting for a particular country, while SET LANGUAGE allows you to change the text pool language. TRANSLATE f TO LOWER/UPPER CASE reacts to the locale category LC_CTYPE , and when passing data between application servers and front ends and when passing data using RFC , the system respects the SAP
code page .

In Release 3.0, you can sort texts according to the locale (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 formulae is set automatically according to the language of the active user when an internal session 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_1 SORT ... AS TEXT : Locale-specific sorting

The addition ... AS TEXT of the language element SORT enables text data to be sorted specific to the locale.

ABAP_MODIFICATION_2 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-specific sortable format.

ABAP_MODIFICATION_3 SET LOCALE : Explicit setting of the text environment

The new SET variant SET LOCALE enables program-driven configuration of the text environment .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




NEWS-30-ICONS
NEWS-30-LDB




comments powered by Disqus