Show TOC

Country-Dependent Formatting: SET COUNTRYLocate this document in the navigation structure

Use

Certain fields are formatted specific to a particular country. These include fields for displaying a date and numeric fields containing either a decimal point or a "thousands" separator character. The formatting applied is usually determined by the definitions contained in the user master record. To choose a formatting option other than the one specified in the user master record, use the SET COUNTRY control command. The various country-dependent formatting options are stored in table T005X.

/: SET COUNTRY Länderschlüssel
         

You can enter the country key either as a literal value enclosed in quotes or as a symbol.

Example

/: SET COUNTRY 'CAN'

/: SET COUNTRY &country_key&

Use a blank country name to revert to the setting found in the user master record:

/: SET COUNTRY ' '

When SAPscript encounters this command, it calls the corresponding ABAP command internally. The effect of the SAPscript command is therefore identical with that of the ABAP command.

Note

If the formatting turns out not to be as required, then you should check the settings in table T005X.