SAP ABAP Data Element RSCPCTRLCO (How codepage converter converts control codes)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-I18 (Application Component) Internationalization (I18N)
     SCP (Package) SAP Code Pages
Basic Data
Data Element RSCPCTRLCO
Short Description How codepage converter converts control codes  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type RSCPCTRLCO    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
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 Ctrl char. 
Medium 20 CtrlChar. conversion 
Long 35 Control character conversion 
Heading 10 Ctrl char. 
Documentation

Definition

Function selection for the case where a code page converter is called in such a way that the input buffer includes control codes.
Control codes are non-printing characters that display no letters or symbols, instead they trigger a function (such as line feed).

This function selection defines right from the start, what the converter must do if such a situation occurs. The following values are possible:

'.'

('illegal') Control codes are not recognized. The input bytes are treated as if their meaning is unknown.
As a result of this, either replacement characters are used or an error message is created.

'T'

('try') Attempts to convert control codes as well. This only works if the same control code has also been defined in the output code page.

Use

Dependencies

Control codes do not actually belong to code pages directly. This is clarified in the example "row end". Even if the contents of each row are the same as ISO-8859-1 (SAP-1100), x'0A' (LineFeed) is written between the rows in UNIX files, and x'0D0A' (CarriageReturn + LineFeed) is written between the rows in Microsoft files.

Example

When converting text from an unknown source, is often makes sense to also convert control codes, because such a text may contain tabulator jumps that also have to be transferred.

History
Last changed by/on SAP  20010130 
SAP Release Created in 50A