sapdev logo background
sapdev logo sapdev logo
Comments

ABAP GET LOCALE Statement syntax, information and example SAP source code



Return to Statement index



GET LOCALE LANGUAGE

Short Reference

ABAP Syntax_7 GET LOCALE LANGUAGE lang [
obsolete_parameters ].

What does it do? 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.
Latest notes: 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 ABAP Coding Determining the current text environment and restoring it after a change.
DATA: lang TYPE tcp0c-langu,
dummy TYPE string ##needed.

GET LOCALE LANGUAGE lang COUNTRY dummy MODIFIER dummy.
SET LOCALE LANGUAGE ...
...
SET LOCALE LANGUAGE lang.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




GET_DATASET_SYNTAX
GET_LOCALE_OBSOLETE




comments powered by Disqus