SAP ABAP Class CL_SCP_SEGMENT_UTIL (Utilities for Segment Maintenance)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
SCP (Package) SAP Code Pages

⤷

⤷

Properties
Class | CL_SCP_SEGMENT_UTIL | |
Short Description | Utilities for Segment Maintenance | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SCP | SAP Code Pages |
Created | 20001129 | SAP |
Last change | 20041208 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SCP_SEGMENT_UTIL has no interface implemented.
Friends
Class CL_SCP_SEGMENT_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Public | Type reference (TYPE) | CPA_CPROLE | 'S' | Codepage used as source codepage | 20040716 | |
2 | ![]() |
Static Attribute | Public | Type reference (TYPE) | CPA_CPROLE | 'T' | Codepage used as target codepage | 20040716 | |
3 | ![]() |
Static Attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001129 | ||
4 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T_SEG_SET | Known Segments | 20001129 | ||
5 | ![]() |
Static Attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001129 | ||
6 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T_SAP_UNI | Assignment SAP CharNo -> Unicode | 20040916 | ||
7 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T_UNI_SAP | Assign Unicode -> SAP Char No. | 20040611 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Remove Gaps in Load Sequence | 20001222 |
2 | ![]() |
Static method | Public | Method | Create the character atatistics of a codepage | 20040608 |
3 | ![]() |
Static method | Public | Method | Searches Existing Segments for a Mapping Set | 20001129 |
4 | ![]() |
Static method | Public | Method | Extract Duplicate Strong -> Weak (Points) | 20001207 |
5 | ![]() |
Static method | Public | Method | Next Free Load Number | 20001129 |
6 | ![]() |
Static method | Public | Method | Read a Codepage | 20040611 |
7 | ![]() |
Static method | Public | Method | Import Mapping Set from File | 20010713 |
8 | ![]() |
Static method | Public | Method | Replaces Subset with Existing Segments | 20001129 |
9 | ![]() |
Static method | Public | Method | Resolve Rule Segment | 20010314 |
10 | ![]() |
Static method | Public | Method | Convert SAP Character Number to Unicode Character ID | 20040611 |
11 | ![]() |
Static method | Public | Method | Convert Unicode Character ID to SAP Character Number | 20040611 |
Events
Class CL_SCP_SEGMENT_UTIL has no event.
Types
Class CL_SCP_SEGMENT_UTIL has no local type.
Method Signatures
Method CONDENSE_LOADSEQUENCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_CHANGE | Call by reference | Object reference (TYPE REF TO) | CL_SCP_CHANGE_DB | Änderungsliste | 20001222 | ||
2 | ![]() |
IM_SEGID | Call by reference | Type reference (TYPE) | CPSEGID | Segment vom Typ 'Sequence' | 20001222 |
Method CONDENSE_LOADSEQUENCE on class CL_SCP_SEGMENT_UTIL has no exception.
Method COUNT_CHARS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_COUNT | Call by reference | Type reference (TYPE) | CPS_COUNT | Codepage statistics | 20040608 | ||
2 | ![]() |
IM_CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20040608 |
Method COUNT_CHARS on class CL_SCP_SEGMENT_UTIL has no exception.
Method GET_EXISTING_SEGMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_SEGID | Call by reference | Type reference (TYPE) | CPSEGID | Segment | 20001129 | ||
2 | ![]() |
IM_SET | Call by reference | Type reference (TYPE) | CPT_SEGTRE | Mappingmenge | 20001129 | ||
3 | ![]() |
IM_TYPE | Call by reference | Type reference (TYPE) | STRING | Art | 20001129 |
Method GET_EXISTING_SEGMENT on class CL_SCP_SEGMENT_UTIL has no exception.
Method NEW_SEGMENT_FOR_WEAK_POINTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_CHANGE | Call by reference | Object reference (TYPE REF TO) | CL_SCP_CHANGE_DB | Änderungsliste | 20001207 | ||
2 | ![]() |
IM_BUILD_WA | Call by reference | Type reference (TYPE) | TCPSBUILD | Selektion | 20001207 |
Method NEW_SEGMENT_FOR_WEAK_POINTS on class CL_SCP_SEGMENT_UTIL has no exception.
Method NEXT_FREE_LOADSEQ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IM_SEGID | Call by reference | Type reference (TYPE) | CPSEGID | Segment vom Typ Sequence | 20001129 | ||
2 | ![]() |
RE_LOADSEQ | Value transfer | Type reference (TYPE) | CPLOADSEQ | Ladenummer für Codepagesegmente | 20001129 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Das Segment ist nicht vom Typ Sequence | 20001129 | |
2 | ![]() |
Das Segment ist nicht in der BUILD Tabelle enthalten | 20001129 | |
3 | ![]() |
Das Segment existiert nicht | 20001129 |
Method READ_CODEPAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_MAPPINGS | Call by reference | Type reference (TYPE) | CPT_SEGTRE | Mappingtabelle | 20040611 | ||
2 | ![]() |
IM_CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | Codepage | 20040611 | ||
3 | ![]() |
IM_CP_ROLE | Call by reference | Type reference (TYPE) | CPA_CPROLE | 20040716 | |||
4 | ![]() |
IM_SELECTION | Call by reference | Type reference (TYPE) | CPS_SEGSEL | Detailselektion | 20040611 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Die Angeforderte Codepage existiert nicht | 20040611 | |
2 | ![]() |
Es wurde sowohl IM_CODEPAGE als auch IM_SELECTION übergeben | 20040720 | |
3 | ![]() |
Fehler in der Detailselektion | 20040611 |
Method READ_FROM_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_SET | Call by reference | Type reference (TYPE) | CPT_SEGTRE | Struktur zur Anzeige von Codepagesegmenten | 20010713 | ||
2 | ![]() |
EX_FILENAME | Call by reference | Type reference (TYPE) | STRING | Gewählter Dateiname | 20010716 | ||
3 | ![]() |
IM_FILENAME | Call by reference | Type reference (TYPE) | STRING | Filename. Falls leer wird ein User Dialog geführt. | 20010713 | ||
4 | ![]() |
IM_READING_FUNCTION | Call by reference | Type reference (TYPE) | RS38L_FNAM | Name des Funktionsbausteins, der das Lesen übernimmt | 20010713 | ||
5 | ![]() |
IM_SELECTION | Call by reference | Type reference (TYPE) | CPS_SEGSEL | Filter für CHARID, MBLEN und CODE | 20010713 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Lesefunktion kann nicht aufgerufen werden | 20010713 | |
2 | ![]() |
Die Datei konnte nicht gelesen werden. | 20010713 |
Method REPLACE_PART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CH_CHANGE | Call by reference | Object reference (TYPE REF TO) | CL_SCP_CHANGE_DB | Änderungsliste | 20001129 | ||
2 | ![]() |
EX_SEGID | Call by reference | Type reference (TYPE) | CPSEGID | Ex_segid ist ein teil von segid | 20001129 | ||
3 | ![]() |
IM_SEGID | Call by reference | Type reference (TYPE) | CPSEGID | Segment | 20001129 | ||
4 | ![]() |
IM_TYPE | Call by reference | Type reference (TYPE) | STRING | Art | 20001129 |
Method REPLACE_PART on class CL_SCP_SEGMENT_UTIL has no exception.
Method RESOLVE_RULE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_ERRMSG | Call by reference | Type reference (TYPE) | CHAR100 | Charakter 100 | 20010314 | ||
2 | ![]() |
EX_RC | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlercode | 20010314 | ||
3 | ![]() |
EX_RPT | Call by reference | Type reference (TYPE) | CPT_RPT | Rule basierte Abbildungen | 20010314 | ||
4 | ![]() |
IM_ATTR1 | Call by reference | Type reference (TYPE) | CPSRULATT1 | Attribut 1 für die Segment-Sonderregeln | 20010314 | ||
5 | ![]() |
IM_ATTR2 | Call by reference | Type reference (TYPE) | CPSRULATT2 | Attribut 2 für die Segment-Sonderregeln | 20010314 | ||
6 | ![]() |
IM_SOCHA | Call by reference | Type reference (TYPE) | CPT_SOCHA | Select-Options für die Character ID | 20040719 | ||
7 | ![]() |
IM_SOCOD | Call by reference | Type reference (TYPE) | CPT_SOCOD | Select Options für Binär Codes | 20040809 | ||
8 | ![]() |
IM_SOMBL | Call by reference | Type reference (TYPE) | CPT_SOMBLE | Select Options für Multi-Byte Länge | 20040811 | ||
9 | ![]() |
IM_SRULE | Call by reference | Type reference (TYPE) | CPSRULE | Sonderregel für die Generierung von Codepage Segmenten | 20010314 |
Method RESOLVE_RULE on class CL_SCP_SEGMENT_UTIL has no exception.
Method SAP_TO_UNICODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_CHARID | Call by reference | Type reference (TYPE) | SCPUCHAR | Unicode-Zeichen | 20040611 | ||
2 | ![]() |
IM_SAP | Call by reference | Type reference (TYPE) | CPCHARNO | SAP-Zeichennummer | 20040611 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Es konnte keine Unicode Character Id zugeordnet werden | 20040611 |
Method UNICODE_TO_SAP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_SAP | Call by reference | Type reference (TYPE) | CPCHARNO | SAP-Zeichennummer | 20040611 | ||
2 | ![]() |
IM_CHARID | Call by reference | Type reference (TYPE) | SCPUCHAR | Unicode-Zeichen | 20040611 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Es konnte keine Unicode Character Id zugeordnet werden | 20040611 |
History
Last changed by/on | SAP | 20041208 |
SAP Release Created in | 610 |