ABAPGET_LOCALE - GET LOCALE
General Material Data Addresses (Business Address Services)This documentation is copyright by SAP AG.
GET LOCALE
Syntax
GET LOCALE LANGUAGE lang COUNTRY cntry MODIFIER mod.
Effect
The parameters of the current text environment, consisting of language key, country key and identifier for a specific locale areassigned to the variables lang, cntry and mod. The data objects lang, cntry and mod must have character-like data types.
Notes
- Using the read parameters of the current text environment, it can be restored after a change with the SET LOCALE statement.
- The statement GET LOCALE initializes the variable mod currently in all text environments.
Example
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.
TXBHW - Original Tax Base Amount in Local Currency CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 1845 Date: 20120522 Time: 062919 triton ( 56 ms )






