SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Program Parameters → Language Environment → Text Environment →Syntax
GET LOCALE LANGUAGE lang [obsolete_parameters].
Effect
The language key for the language of the current text environment is assigned to the variable lang. The data object lang must have a character-like data type. The statement has two obsolete additions -COUNTRY and MODIFIER - that must be specified. However the results are not evaluated.
Note
The imported language of the current text environment can be used to restore the environment after it has been changed using the statement SET LOCALE.
Example
Determining the current text environment and restoring it after a change.