ARTIClE
Set Text Environment
This example demonstrates how you set the text environment.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
This example shows the effect of the locale of the text
environment on sort functions. In Unicode and non-Unicode systems, a
"ch" in a Spanish (or even Czech) text environment is taken as a single
letter and sorted differently than in an English text environment. The
double "ll" in Unicode systems in a Spanish text environment is sorted
like two separate letters "l". In non-Unicode systems, there can be
spanish locales (such as Spanish_Spain.1252 on Windows NT
) that take "ll" as a single character and sort it differently. With
the last statement SET LOCALE , the text environment is set again
to the logon language.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved