Ansicht
Dokumentation

ABAPGET_LOCALE - GET LOCALE

ABAPGET_LOCALE - GET LOCALE

Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

GET LOCALE LANGUAGE

Short Reference



GET LOCALE LANGUAGE lang obsolete_parameters.

Effect

The language key of the current text environment language 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 but whose results should not be evaluated.

Note

The imported text environment 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.

DATA: lang  TYPE tcp0c-langu,
      dummy TYPE string ##needed.

GET LOCALE LANGUAGE lang COUNTRY dummy MODIFIER dummy.
SET LOCALE LANGUAGE ...
...
SET LOCALE LANGUAGE lang.







General Material Data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1609 Date: 20240616 Time: 102048     sap01-206 ( 30 ms )