SAP ABAP Class CL_SCP_SEGMENT_COMPARE (Compare Character Sets)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
SCP (Package) SAP Code Pages
⤷
⤷
Properties
| Class | CL_SCP_SEGMENT_COMPARE | |
| Short Description | Compare Character Sets | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCP | SAP Code Pages |
| Created | 20001123 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SCP_SEGMENT_COMPARE has no forward declaration.
Interfaces
Class CL_SCP_SEGMENT_COMPARE has no interface implemented.
Friends
Class CL_SCP_SEGMENT_COMPARE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR3 | 'DIS' | 1 and 2 Are Disjunct | 20001123 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR3 | 'EQ ' | Equality | 20001123 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR3 | 'SEC' | 1 <> 2, but 1 and 2 Have an Intersection | 20001123 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR3 | 'SUB' | 1 is Subset of 2 | 20001123 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR3 | 'SUP' | 1 is Superset of 2 | 20001123 | ||
| 6 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Take Character ID Into Account During Comparison | 20010706 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Take Code and mblen Into Account During Comparison | 20010706 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Remove Key Duplicates | 20010706 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Take Strong/Weak Classification Into Acc. During Comparison | 20010706 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | CPT_SEGTRE | Complement of 1 with Regard to 2 | 20001123 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001123 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | CPT_SEGTRE | Difference 1 2 | 20001123 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001123 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | CPT_SEGTRE | Intersection of 1 and 2 | 20001204 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001204 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | STRING | Result | 20001123 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001123 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | CPT_SEGTRE | Symmetrical Difference of 1 and 2 | 20001204 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001204 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | CPT_SEGTRE | Union Set of 1 and 2 | 20001204 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20001204 | |||
| 22 | Instance attribute | Public | Type reference (TYPE) | CPT_SEGTRE | Quantity 1 | 20001123 | |||
| 23 | Instance attribute | Public | Type reference (TYPE) | CPT_SEGTRE | Quantity 2 | 20001123 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Complement of Set 1 with Regard to Set 2 | 20001123 | |
| 2 | Instance method | Public | Constructor | Constructor | 20001123 | |
| 3 | Instance method | Public | Method | Difference 1 2 (in 1 but Not in 2) | 20001123 | |
| 4 | Instance method | Private | Method | Complement of Set 1 with Regard to Set 2 | 20001123 | |
| 5 | Instance method | Private | Method | Difference 1 2 (in 1 but Not in 2) | 20001123 | |
| 6 | Instance method | Private | Method | Intersection of 1 and 2 | 20001204 | |
| 7 | Instance method | Private | Method | Compare Sets | 20001123 | |
| 8 | Instance method | Private | Method | Symmetrical Difference of 1 and 2 | 20001204 | |
| 9 | Instance method | Private | Method | Union Set of 1 and 2 | 20001204 | |
| 10 | Instance method | Public | Method | Intersection of 1 and 2 | 20001204 | |
| 11 | Instance method | Public | Method | Returns the Result | 20001123 | |
| 12 | Instance method | Public | Method | Import First Set | 20001123 | |
| 13 | Instance method | Private | Method | Which Part of Key is Taken Into Account During Comparison | 20010706 | |
| 14 | Instance method | Public | Method | Import Second Set | 20001123 | |
| 15 | Instance method | Public | Method | Symmetrical Difference of 1 and 2 | 20001204 | |
| 16 | Instance method | Public | Method | Union Set of 1 and 2 | 20001204 |
Events
Class CL_SCP_SEGMENT_COMPARE has no event.
Types
Class CL_SCP_SEGMENT_COMPARE has no local type.
Method Signatures
Method COMPLEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_COMPLEMENT | Value transfer | Type reference (TYPE) | CPT_SEGTRE | Komplement | 20001123 |
Method COMPLEMENT on class CL_SCP_SEGMENT_COMPARE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_KEYCHAR | Call by reference | Type reference (TYPE) | CHAR1 | Character ID beim Vergleich berücksichtigen | 20010706 | |||
| 2 | IM_KEYPOINT | Call by reference | Type reference (TYPE) | CHAR1 | Code und mblen beim Vergleich berücksichtigen | 20010706 | |||
| 3 | IM_KEYREMDUP | Call by reference | Type reference (TYPE) | CHAR1 | Key Duplikate entfernen | 20010706 | |||
| 4 | IM_KEYSTRONG_WEAK | Call by reference | Type reference (TYPE) | CHAR1 | Strong/Weak Klassifizierung beim Vergleich berücksichtigen | 20010706 | |||
| 5 | IM_SET1 | Call by reference | Type reference (TYPE) | CPT_SEGTRE | Menge 1 | 20001123 | |||
| 6 | IM_SET2 | Call by reference | Type reference (TYPE) | CPT_SEGTRE | Menge 2 | 20001123 |
Method CONSTRUCTOR on class CL_SCP_SEGMENT_COMPARE has no exception.
Method DIFFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_DIFFERENCE | Value transfer | Type reference (TYPE) | CPT_SEGTRE | Diffedrenz 1 2 | 20001123 |
Method DIFFERENCE on class CL_SCP_SEGMENT_COMPARE has no exception.
Method GET_COMPLEMENT Signature
Method GET_COMPLEMENT on class CL_SCP_SEGMENT_COMPARE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Menge 1 ist keine untermenge von Menge 2 (oder gleich) | 20001123 |
Method GET_DIFFERENCE Signature
Method GET_DIFFERENCE on class CL_SCP_SEGMENT_COMPARE has no parameter.
Method GET_DIFFERENCE on class CL_SCP_SEGMENT_COMPARE has no exception.
Method GET_INTERSECTION Signature
Method GET_INTERSECTION on class CL_SCP_SEGMENT_COMPARE has no parameter.
Method GET_INTERSECTION on class CL_SCP_SEGMENT_COMPARE has no exception.
Method GET_RELATION Signature
Method GET_RELATION on class CL_SCP_SEGMENT_COMPARE has no parameter.
Method GET_RELATION on class CL_SCP_SEGMENT_COMPARE has no exception.
Method GET_SYMMDIFF Signature
Method GET_SYMMDIFF on class CL_SCP_SEGMENT_COMPARE has no parameter.
Method GET_SYMMDIFF on class CL_SCP_SEGMENT_COMPARE has no exception.
Method GET_UNION Signature
Method GET_UNION on class CL_SCP_SEGMENT_COMPARE has no parameter.
Method GET_UNION on class CL_SCP_SEGMENT_COMPARE has no exception.
Method INTERSECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_INTERSECTION | Value transfer | Type reference (TYPE) | CPT_SEGTRE | Schnittmenge von 1 und 2 | 20001204 |
Method INTERSECTION on class CL_SCP_SEGMENT_COMPARE has no exception.
Method RELATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_RELATION | Value transfer | Type reference (TYPE) | STRING | Bezug von Menge 1 zu Menge 2 | 20001123 |
Method RELATION on class CL_SCP_SEGMENT_COMPARE has no exception.
Method SET_FIRST_SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SET | Call by reference | Type reference (TYPE) | CPT_SEGTRE | Menge 1 | 20001123 |
Method SET_FIRST_SET on class CL_SCP_SEGMENT_COMPARE has no exception.
Method SET_KEYS 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 | Menge | 20010706 |
Method SET_KEYS on class CL_SCP_SEGMENT_COMPARE has no exception.
Method SET_SECOND_SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SET | Call by reference | Type reference (TYPE) | CPT_SEGTRE | Menge 2 | 20001123 |
Method SET_SECOND_SET on class CL_SCP_SEGMENT_COMPARE has no exception.
Method SYMMDIFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_SYMMDIFF | Value transfer | Type reference (TYPE) | CPT_SEGTRE | Schnittmenge von 1 und 2 | 20001206 |
Method SYMMDIFF on class CL_SCP_SEGMENT_COMPARE has no exception.
Method UNION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_UNION | Value transfer | Type reference (TYPE) | CPT_SEGTRE | Schnittmenge von 1 und 2 | 20001206 |
Method UNION on class CL_SCP_SEGMENT_COMPARE has no exception.
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 610 |