SAP ABAP Class CL_TRANSPORT_INTERSECTION_CALC (Calculates intersections of table entries and transport keys)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-UPG-TLS (Application Component) Upgrade Tools
⤷
SCRR_DDIC (Package) CRR Connection to DDIC Services
⤷
⤷
Properties
| Class | CL_TRANSPORT_INTERSECTION_CALC | |
| Short Description | Calculates intersections of table entries and transport keys | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCRR_DDIC | CRR Connection to DDIC Services |
| Created | 20111119 | SAP |
| Last change | 20140120 | 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_TRANSPORT_INTERSECTION_CALC has no interface implemented.
Friends
Class CL_TRANSPORT_INTERSECTION_CALC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TABNAME | 'CTS_OBJ_ENTRIES' | 20120206 | |||
| 2 | Constant | Private | Type reference (TYPE) | TABNAME | 'E071K_STR' | Name of table E071K_STR | 20111121 | ||
| 3 | Constant | Private | Type reference (TYPE) | STRING | `/1CRR/GEN_FIELD_POS` | Field name for position of first generic field | 20111119 | ||
| 4 | Constant | Private | Type reference (TYPE) | STRING | `/1CRR/GEN_OFFSET` | Field name for offset in first generic field | 20111119 | ||
| 5 | Constant | Private | Type reference (TYPE) | FIELDNAME | 'OBJECT_TABLES' | 20120206 | |||
| 6 | Constant | Private | Type reference (TYPE) | FIELDNAME | 'OBJNAME' | 20120206 | |||
| 7 | Constant | Private | Type reference (TYPE) | DCRRLOGID | 'LOG' | Dummy log id | 20111119 | ||
| 8 | Constant | Private | Type reference (TYPE) | DCRRSCENARIO | 'NO_SCENARIO' | Dummy scenario name | 20111119 | ||
| 9 | Constant | Private | Type reference (TYPE) | FIELDNAME | 'TABKEYS' | 20120206 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CRR_LOGGER | Logger instance | 20111119 | |||
| 11 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Dynamic type for transport key | 20111119 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Dynamic type for transport key table | 20111119 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Transport key table | 20111119 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | TT_FIELD_INFO | Runtime info on character like key fields | 20111119 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TT_FIELD_INFO | Runtime info on character like key fields in reverse order | 20111119 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | ABAP_SORTORDER_TAB | Sort fields for entry table | 20111119 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | ABAP_SORTORDER_TAB | Sort fields for transport key table | 20111119 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | INT4 | Number of character like key fields | 20111120 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20111122 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | X = Table has non-character like key fields | 20111119 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | STRING | 20111122 | ||||
| 22 | Instance attribute | Private | Type reference (TYPE) | STRING | Name of first non-character like key field | 20111119 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | TABNAME | Name of the table, entries of which are checked | 20111119 | |||
| 24 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | X = Dynamic types are created | 20111119 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Calculates intersection and remainder of table entries | 20111120 | |
| 2 | Instance method | Private | Method | Compares a structure with a transport key | 20111120 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20111119 | |
| 4 | Instance method | Private | Method | Create the required runtime types via RTTS | 20111119 | |
| 5 | Instance method | Private | Method | Log a message from CTS services | 20111119 | |
| 6 | Instance method | Public | Method | Sets the transport keys for intersection calculation | 20111119 |
Events
Class CL_TRANSPORT_INTERSECTION_CALC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_FIELD_INFO | Private | See coding | 20111120 | begin of ts_field_info,
pos type int4,
name type string,
inttype type inttype,
end of ts_field_info
|
||
| 2 | TT_FIELD_INFO | Private | See coding | 20111120 | tt_field_info type standard table of ts_field_info with default key
|
Method Signatures
Method CALCULATE_INTERSECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ENTRIES | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table entries to be checked (will be sorted) | 20111120 | |||
| 2 | ET_INTERSECTION | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table entries contained in transport keys | 20111120 | |||
| 3 | ET_REMAINDER | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table entries contained in transport keys | 20111120 |
Method CALCULATE_INTERSECTION on class CL_TRANSPORT_INTERSECTION_CALC has no exception.
Method COMPARE_WITH_TRANSPORT_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_STRUCTURE | Call by reference | Type reference (TYPE) | DATA | Structure containing the fields of the transport key | 20111120 | |||
| 2 | IS_TRANSPORT_KEY | Call by reference | Type reference (TYPE) | DATA | Transport key | 20111120 | |||
| 3 | RV_COMPARE | Value transfer | Type reference (TYPE) | INT4 | -1/0/1 if the structure is below/within/above the transp key | 20111120 |
Method COMPARE_WITH_TRANSPORT_KEY on class CL_TRANSPORT_INTERSECTION_CALC has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IGNORE_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | X = Ignore client field of client dep. tables during compare | 20111122 | ||
| 2 | IV_STANDALONE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | X = Use instance outside of configured CRR scenarios | 20111119 | ||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Name of the table, entries of which are checked | 20111119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Errors from CTS services | 20111119 |
Method CREATE_RUNTIME_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IGNORE_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | X = Ignore client field of client dep. tables during compare | 20111122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Errors from CTS services | 20111119 |
Method LOG_CTS_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MESSAGE | Call by reference | Type reference (TYPE) | CTS_MESSAGE | WBO Remote API: Message of Result of an Action | 20111119 |
Method LOG_CTS_MESSAGE on class CL_TRANSPORT_INTERSECTION_CALC has no exception.
Method SET_TRANSPORT_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_E071 | Call by reference | Type reference (TYPE) | TRWBO_T_E071 | Transport entries | 20111119 | |||
| 2 | IT_E071K | Call by reference | Type reference (TYPE) | TRWBO_T_E071K | Transport keys in classic format | 20111119 | |||
| 3 | IT_E071KF | Call by reference | Type reference (TYPE) | TRWBO_T_E071KF | Nametab info of export | 20111119 | |||
| 4 | IT_E071K_STR | Call by reference | Type reference (TYPE) | STANDARD TABLE | Transport keys in extended format | 20111119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Errors from CTS services | 20111119 |
History
| Last changed by/on | SAP | 20140120 |
| SAP Release Created in | 732 |