Hierarchy
⤷ BC-I18 (Application Component) Internationalization (I18N)
⤷ SCP (Package) SAP Code Pages
Basic Data
Data Element | RSCPFILL |
Short Description | Handling of unused buffer space (codepage converter) |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | RSCPFILL | |
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 | Fill rest |
Medium | 20 | Fill rest of buffer |
Long | 35 | Handling of unused buffer space |
Heading | 10 | Fill rest |
Documentation
Definition
Function selection for the case where a code page converter is called in such a way that the end of the input buffer and the end of the output buffer are not reached simultaneously.
This function selection defines right from the start, what the converter must do if such a situation occurs. The following values are possible:
'.'
('never') If the input buffer is used up, a part of the output buffer may be left unchanged.
If the output buffer is full but the input buffer is not used up, an error message is created.
'N'
('null') If the input buffer is used up, the remainder of the output buffer is filled with zero bytes.
If the output buffer is full but the input buffer is not used up, an error message is created.
'S'
('space') If the input buffer is used up, the remainder of the output buffer is filled with blanks that fit the output code page.
If the output buffer is full but the input buffer is not used up, an error message is created.
'T'
('trunc_and_space') If the input buffer is used up, the remainder of the output buffer is filled with blanks that fit the output code page.
If the output buffer is full but the input buffer is not used up, then the remainder is checked. If only blanks (that fit the input code page) remain, then the conversion is considered as being successful. If the remainder contains other characters, an error message is created.
Use
Dependencies
Example
When converting between Shift-JIS and Unicode UTF-16, there is no fixed length relationship. Selecting 'T' allows you to define that blanks can be added to or cut off the end, without a higher software layer having to take care of it.
History
Last changed by/on | SAP | 20010130 |
SAP Release Created in | 50A |