GET LOCALE LANGUAGE lang COUNTRY cntry MODIFIER mod.
The parameters of the current text environment, consisting of language key, country key and identifier for a specific locale are assigned to the variables lang, cntry and mod. The data objects lang, cntry and mod must have character-like (before release 6.10 flat) data types.
Determining the current text environment and restoring it after a possible change in a called procedure.
DATA: lang TYPE tcp0c-langu,
cntry TYPE tcp0c-country,
mod TYPE tcp0c-modifier.
GET LOCALE LANGUAGE lang COUNTRY cntry MODIFIER mod.
...
SET LOCALE LANGUAGE lang COUNTRY cntry.