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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 TRWBO 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 CV_CTS_OBJ_ENTRIES_TYPE_NAME Constant Private Type reference (TYPE) TABNAME 'CTS_OBJ_ENTRIES' 20120206
2 CV_E071K_STR_TABLE_NAME Constant Private Type reference (TYPE) TABNAME 'E071K_STR' Name of table E071K_STR 20111121
3 CV_GEN_FIELD_POS_NAME Constant Private Type reference (TYPE) STRING `/1CRR/GEN_FIELD_POS` Field name for position of first generic field 20111119
4 CV_GEN_OFFSET_NAME Constant Private Type reference (TYPE) STRING `/1CRR/GEN_OFFSET` Field name for offset in first generic field 20111119
5 CV_OBJECT_TABLES_FIELD_NAME Constant Private Type reference (TYPE) FIELDNAME 'OBJECT_TABLES' 20120206
6 CV_OBJNAME_FIELD_NAME Constant Private Type reference (TYPE) FIELDNAME 'OBJNAME' 20120206
7 CV_STANDALONE_LOGID Constant Private Type reference (TYPE) DCRRLOGID 'LOG' Dummy log id 20111119
8 CV_STANDALONE_SCENARIO Constant Private Type reference (TYPE) DCRRSCENARIO 'NO_SCENARIO' Dummy scenario name 20111119
9 CV_TABKEYS_FIELD_NAME Constant Private Type reference (TYPE) FIELDNAME 'TABKEYS' 20120206
10 MO_LOGGER Instance attribute Private Object reference (TYPE REF TO) IF_CRR_LOGGER Logger instance 20111119
11 MO_TRANSPORT_KEY_LINE_TYPE Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Dynamic type for transport key 20111119
12 MO_TRANSPORT_KEY_TABLE_TYPE Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Dynamic type for transport key table 20111119
13 MRT_TRANSPORT_KEY Instance attribute Private Object reference (TYPE REF TO) DATA Transport key table 20111119
14 MT_CHAR_KEY_FIELD Instance attribute Private Type reference (TYPE) TT_FIELD_INFO Runtime info on character like key fields 20111119
15 MT_CHAR_KEY_FIELD_REVERSE Instance attribute Private Type reference (TYPE) TT_FIELD_INFO Runtime info on character like key fields in reverse order 20111119
16 MT_TABLE_SORT_FIELD Instance attribute Private Type reference (TYPE) ABAP_SORTORDER_TAB Sort fields for entry table 20111119
17 MT_TRANSPORT_KEY_SORT_FIELD Instance attribute Private Type reference (TYPE) ABAP_SORTORDER_TAB Sort fields for transport key table 20111119
18 MV_CHAR_KEY_FIELD_COUNT Instance attribute Private Type reference (TYPE) INT4 Number of character like key fields 20111120
19 MV_HAS_IGNORABLE_CLIENT_FIELD Instance attribute Private Type reference (TYPE) ABAP_BOOL 20111122
20 MV_HAS_NON_CHAR_KEY_FIELD Instance attribute Private Type reference (TYPE) ABAP_BOOL X = Table has non-character like key fields 20111119
21 MV_IGNORABLE_CLIENT_FIELD_NAME Instance attribute Private Type reference (TYPE) STRING 20111122
22 MV_NON_CHAR_KEY_FIELD_NAME Instance attribute Private Type reference (TYPE) STRING Name of first non-character like key field 20111119
23 MV_TABNAME Instance attribute Private Type reference (TYPE) TABNAME Name of the table, entries of which are checked 20111119
24 MV_TYPES_INITIALIZED 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 CALCULATE_INTERSECTION Instance method Public Method Calculates intersection and remainder of table entries 20111120
2 COMPARE_WITH_TRANSPORT_KEY Instance method Private Method Compares a structure with a transport key 20111120
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20111119
4 CREATE_RUNTIME_TYPES Instance method Private Method Create the required runtime types via RTTS 20111119
5 LOG_CTS_MESSAGE Instance method Private Method Log a message from CTS services 20111119
6 SET_TRANSPORT_KEYS 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 Changing CT_ENTRIES Call by reference Type reference (TYPE) STANDARD TABLE Table entries to be checked (will be sorted) 20111120
2 Exporting ET_INTERSECTION Call by reference Type reference (TYPE) STANDARD TABLE Table entries contained in transport keys 20111120
3 Exporting 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 Importing IS_STRUCTURE Call by reference Type reference (TYPE) DATA Structure containing the fields of the transport key 20111120
2 Importing IS_TRANSPORT_KEY Call by reference Type reference (TYPE) DATA Transport key 20111120
3 Returning 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 Importing 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 Importing IV_STANDALONE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE X = Use instance outside of configured CRR scenarios 20111119
3 Importing 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 CX_CRR_CTS 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 Importing 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 CX_CRR_CTS 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 Importing 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 Importing IT_E071 Call by reference Type reference (TYPE) TRWBO_T_E071 Transport entries 20111119
2 Importing IT_E071K Call by reference Type reference (TYPE) TRWBO_T_E071K Transport keys in classic format 20111119
3 Importing IT_E071KF Call by reference Type reference (TYPE) TRWBO_T_E071KF Nametab info of export 20111119
4 Importing IT_E071K_STR Call by reference Type reference (TYPE) STANDARD TABLE Transport keys in extended format 20111119
# Exception Resumable Description Created on
1 CX_CRR_CTS Errors from CTS services 20111119
History
Last changed by/on SAP  20140120 
SAP Release Created in 732