Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete Text Environment 

SET LOCALE - obsolete_parameters

Quick Reference

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

... [COUNTRY cntry] [MODIFIER mod]


1. ... COUNTRY cntry
2. ... MODIFIER mod


ABAP syntax allows you to specify the additions COUNTRY and MODIFIER for the statementSET LOCALE LANGUAGE. These additions should not be used.

Addition 1

... COUNTRY cntry


The addition COUNTRY was intended for explicitly setting country-specific text environments. cntry expects a character-like data object that contains a country key with a maximum of three characters.

The function of this addition was not implemented in full and is undefined. If the data object lang of the statement SET LOCALE LANGUAGE contains only blanks, the addition is ignored.


Do not confuse the statement SET LOCALE LANGUAGE with the addition COUNTRY of the statement SET COUNTRY, which is used to configure the formatting settings.

Addition 2

... MODIFIER mod


The addition MODIFIER was intended for setting different locales for a language within a country, for example, for sorting according to different sort criteria. mod expects a character-like data object with a maximum of eight places.

This function is not implemented. The addition MODIFIER is ignored when the statement is executed.