SAP ABAP Data Element CPCODEPAGE (SAP Character Set ID)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-I18 (Application Component) Internationalization (I18N)
     SCP (Package) SAP Code Pages
Basic Data
Data Element CPCODEPAGE
Short Description SAP Character Set ID  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CPCODEPAGE    
Data Type NUMC   Character string with only digits 
Length 4    
Decimal Places 0    
Output Length 4    
Value Table TCP00    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Code Page 
Medium 15 Code Page 
Long 35 Code Page (Coded Character Set) 
Heading Code Page 
Documentation

Definition

The 4-character name of an SAP character set as defined in SAP character set maintenance.

The following explains the naming convention in more detail:

First digit: Code

0 EBCDIC character sets

1 ASCII character sets

2 mixed single byte / double byte character sets

4 double-byte character sets

6 mixed character sets

8 double byte and multibyte character sets

9 reserved for code pages you define

Second digit: Country

1-3 countries that use the Latin alphabet (Western Europe, North and South America, Australia, Africa)

4-6 countries that use non-Latin alphabets and writing systems (Eastern Europe, Asia, Arabic countries in Africa)

7-9 reserved for special languages

Third and fourth digits: Sequential number

Example

  • 0100 IBM 00697/00273 (Latin 1 - Germany/Austria)
  • 0401 SNI BS2000 8859-5 EHCLC (cyrillic - multiple languages)

Supplementary Documentation - CPCODEPAGE0001

Use

Procedure

Examples

For an R/3 system environment on HP, character set 1110 is correct.

Use transaction SPAD to check the available character sets.

Dependencies

Supplementary Documentation - CPCODEPAGE0002

Use

Procedure

Enter the ID of an SAP character set which is compatible with the printer type which is thus available on the printer.

The first character set is used for all output requests which are sent to output devices of this category. Ensure that the character set is compatible with the standard character set of the printer or with the character sets which are set in the specifications for device type (if such specifications are made).

The second and third character sets are reserved for future use. You can enter the first character set into all three fields.

To make sure that an SAP character set and a printer character set are compatible, ensure that both records:

  • contain the same characters
  • enter the same binary definition for each character.

If no SAP character set is suited, you create a new SAP character set. You will find the characters and the binary definitions in the printer manual.

Examples

Dependencies

Supplementary Documentation - CPCODEPAGE0003

Use

Procedure

Enter the ID of the SAP character set which is used by the host system. The character set must be defined in the SAP character set maintenance.

Examples

Dependencies

History
Last changed by/on SAP  20020827 
SAP Release Created in