SAP ABAP Class CTS_DEPENDENCIES_UTILS (a helper class providing defferent dependency-related utils)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
⤷ SCTS_DIST_CLIENT (Package) cCTS Client
⤷ BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
⤷ SCTS_DIST_CLIENT (Package) cCTS Client
Properties
Class | CTS_DEPENDENCIES_UTILS | |
Short Description | a helper class providing defferent dependency-related utils | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SCTS_DIST_CLIENT | cCTS Client |
Created | 20110201 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | STMS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | STRHI | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | TRWBO | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CTS_DEPENDENCIES_UTILS has no interface implemented.
Friends
Class CTS_DEPENDENCIES_UTILS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | DI_APPLTYPE | Static Attribute | Public | Type reference (TYPE) | CHAR30 | 'DI' | 20121105 | ||
2 | EMPTY_PARENTOBJID_HASH | Static Attribute | Public | Type reference (TYPE) | CTS_OBJHASH | '0000000000000000000000000000000000000000' | ECTS: Object Hash Value | 20121114 | |
3 | EXCL_PARENT | Static Attribute | Public | Type reference (TYPE) | CTS_OBJID | '$_HIDE_$' | special parent object id | 20120903 | |
4 | HIERARCHICAL_CONTENT | Static Attribute | Public | Type reference (TYPE) | CHAR30 | 'HIERARCHICAL_CONTENT' | 30 Characters | 20121113 | |
5 | LAST_REQ1 | Instance attribute | Private | Type reference (TYPE) | TRKORR | Request/Task | 20120614 | ||
6 | REQ1_NONABAPOBJ_IDS | Instance attribute | Private | Type reference (TYPE) | NONABAP_OBJ_HEADERS | 20121114 | |||
7 | XI_APPLTYPE | Static Attribute | Public | Type reference (TYPE) | CHAR30 | 'XI' | 30 Characters | 20130328 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_BAD_OBJ | Static method | Private | Method | add bad objects | 20110428 |
2 | CALC_NONABAPOBJS_DEPENDENCIES | Instance method | Public | Method | calculates non-abap object overlappings | 20110405 |
3 | COMPARE_QUEUE_STATES | Static method | Public | Method | checks if the previosly calculated overlaps are still valid | 20120315 |
4 | CONTAINS_REQ_NONABAP_OBJ | Static method | Public | Method | checks if the request contains non-abap objects | 20110406 |
5 | FIND_DOWNGRADES | Static method | Public | Method | find downgratding objects | 20110202 |
6 | FIND_OVERLAP_TABLE_KEYS_FOR_LO | Static method | Private | Method | finds overlapping table keys for log objects | 20120719 |
7 | GET_KEYS_FOR_LOG_OBJ | Static method | Public | Method | retuns table keys for the clien dependent logical object | 20110711 |
8 | GET_LOWEST_OVERLAPS | Static method | Public | Method | returns overlapping objects of hierarchically lowest level | 20110221 |
9 | GET_LOWEST_TABLE_KEY | Static method | Private | Method | returns lowest (child) table key for the specified ones | 20110506 |
10 | GET_REQ_DEPENDENCIES | Instance method | Protected | Method | returns already calculated dependencies for the request | 20120706 |
11 | IS_LOGICAL_CLIENT_OBJ | Static method | Public | Method | checks if the object is client dependent logical object | 20110711 |
12 | IS_SYS_NONABAP_ONLY | Static method | Public | Method | checks if the system is non-ABAP only | 20120530 |
13 | PUT_OBJECT | Static method | Public | Method | adds an object to the resulting table | 20110310 |
14 | READ_IMPORT_LOGS | Static method | Public | Method | reads the import logs | 20110201 |
15 | READ_REQ | Static method | Public | Method | read request details | 20110201 |
16 | READ_REQ_LOCAL | Static method | Private | Method | reads request details locally | 20110201 |
17 | READ_REQ_PREVIEW | Static method | Private | Method | reads request details from PREVIEW tables | 20110418 |
18 | READ_REQ_REMOTE | Static method | Private | Method | read request details remotely | 20110201 |
19 | SYNC_QUEUE_STATE | Static method | Public | Method | checks import queue state and runs IMPORTPREVIEW if needed | 20110419 |
Events
Class CTS_DEPENDENCIES_UTILS has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | CTS_IMP_Q_STATES | Public | See coding | 20120323 | cts_imp_q_states type table of cts_imp_q_state
|
||
2 | CTS_IMP_Q_STATES_EXT | Public | See coding | 20120627 | cts_imp_q_states_ext type table of cts_imp_q_state_ext
|
||
3 | CTS_IMP_Q_STATE_EXT | Public | See coding | 20120627 | begin of cts_imp_q_state_ext.
include type cts_imp_q_state.
types: owner type char12,
comsys type char10,
end of cts_imp_q_state_ext
|
||
4 | NONABAP_OBJ_HEADER | Private | See coding | 20120614 | begin of nonabap_obj_header,
fileuid type char32,
objectid type string,
appltype type char30,
objecttype type char120,
parentobjectid type cts_objid,
parentobjecthash type x length 20,
objecthash type x length 20,
end of nonabap_obj_header
|
||
5 | NONABAP_OBJ_HEADERS | Private | See coding | 20120614 | nonabap_obj_headers type standard table of nonabap_obj_header
|
||
6 | OBJ_INFO | Public | See coding | 20121105 | begin of obj_info,
appltype type char30,
parentobjectid type string,
end of obj_info
|
||
7 | OBJ_INFOS | Public | See coding | 20121105 | obj_infos type table of obj_info
|
Method Signatures
Method ADD_BAD_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | BAD_OBJECTS | Call by reference | Type reference (TYPE) | CTS_BAD_OBJECTS | Table of Objects with Missing Object IDs | 20110428 | ||
2 | Importing | OBJECT_ID | Call by reference | Type reference (TYPE) | CHAR120 | UUID - identifier for file object (Char 32) | 20110428 | ||
3 | Importing | REQUEST_ID | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110428 |
Method ADD_BAD_OBJ on class CTS_DEPENDENCIES_UTILS has no exception.
Method CALC_NONABAPOBJS_DEPENDENCIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CONFL_OBJECTS | Call by reference | Type reference (TYPE) | CTS_OVERLAP_OBJECTS | Set of Overlapping Objects | 20110405 | ||
2 | Importing | DETAILS_MODE | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20110405 | ||
3 | Importing | REQUEST1 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 20110405 | |||
4 | Importing | REQUEST2 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 20110405 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FILE_OBJECT_DOES_NOT_EXIST | 20110413 |
Method COMPARE_QUEUE_STATES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CURRENT_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES_EXT | positioned requests staying in the Import Queue | 20120323 | ||
2 | Exporting | GONE_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES | gone requests | 20120605 | ||
3 | Exporting | NEW_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES | new requests | 20120605 | ||
4 | Importing | PREVIOUS_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES | previosly processed requests | 20120323 | ||
5 | Exporting | REPOSITIONED | Call by reference | Type reference (TYPE) | CHAR1 | indicates if requests repositioned in the import queue | 20120518 |
Method COMPARE_QUEUE_STATES on class CTS_DEPENDENCIES_UTILS has no exception.
Method CONTAINS_REQ_NONABAP_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | BAD_OBJECTS | Call by reference | Type reference (TYPE) | CTS_BAD_OBJECTS | Table of Objects with Missing Object IDs | 20110428 | ||
2 | Exporting | HAS_NONABAP_OBJ | Call by reference | Type reference (TYPE) | CHAR1 | 20110428 | |||
3 | Importing | REQUEST | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 20110406 |
Method CONTAINS_REQ_NONABAP_OBJ on class CTS_DEPENDENCIES_UTILS has no exception.
Method FIND_DOWNGRADES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | EXPORTED_AFTER | Call by reference | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20110202 | ||
2 | Importing | IMPORTED_TRKORRS | Call by reference | Type reference (TYPE) | TRKORRS | Table of Request Numbers | 20110202 | ||
3 | Importing | SELECTED_REQUESTS | Call by reference | Type reference (TYPE) | STRHI_REQUESTS_WD | Selected Requests | 20110202 |
Method FIND_DOWNGRADES on class CTS_DEPENDENCIES_UTILS has no exception.
Method FIND_OVERLAP_TABLE_KEYS_FOR_LO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | OBJECT | Call by reference | Type reference (TYPE) | TRWBO_S_E071 | Change & Transport System: Object Entries of Requests/Tasks | 20120719 | ||
2 | Importing | OBJECTS_TO_CHECK | Call by reference | Type reference (TYPE) | TRWBO_T_E071 | 20120823 | |||
3 | Returning | OVERLAPPING_TABLE_KEYS | Value transfer | Type reference (TYPE) | TRWBO_T_E071K | 20120719 | |||
4 | Importing | TABLE_KEYS_TO_CHECK | Call by reference | Type reference (TYPE) | TRWBO_T_E071K | Change & Transport System: Key Entries of Requests/Tasks | 20120823 |
Method FIND_OVERLAP_TABLE_KEYS_FOR_LO on class CTS_DEPENDENCIES_UTILS has no exception.
Method GET_KEYS_FOR_LOG_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CLIENT | Call by reference | Type reference (TYPE) | CHAR3 | sytem client | 20110711 | ||
2 | Importing | OBJECT | Call by reference | Type reference (TYPE) | TRWBO_S_E071 | CTS object | 20110711 | ||
3 | Exporting | TAB_KEYS | Call by reference | Type reference (TYPE) | TRWBO_T_E071K | table keys of the object | 20110711 | ||
4 | Exporting | TAB_OBJS | Call by reference | Type reference (TYPE) | TRWBO_T_E071 | 20110725 |
Method GET_KEYS_FOR_LOG_OBJ on class CTS_DEPENDENCIES_UTILS has no exception.
Method GET_LOWEST_OVERLAPS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CONFL_1 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 1-st request's conflicting objects | 20110221 | ||
2 | Importing | CONFL_2 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 2-nd request's conflicting objects | 20110221 | ||
3 | Returning | DOWNGRADING_OBJS | Value transfer | Type reference (TYPE) | CTS_DOWNGRADING_OBJS | conflicting objects of lowest level | 20110222 |
Method GET_LOWEST_OVERLAPS on class CTS_DEPENDENCIES_UTILS has no exception.
Method GET_LOWEST_TABLE_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ARE_EQUAL | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20110506 | ||
2 | Importing | KEY_1 | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110506 | ||
3 | Importing | KEY_2 | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110506 | ||
4 | Exporting | LOWEST_KEY | Value transfer | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110506 |
Method GET_LOWEST_TABLE_KEY on class CTS_DEPENDENCIES_UTILS has no exception.
Method GET_REQ_DEPENDENCIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ALL_REQUESTS | Call by reference | Type reference (TYPE) | TPREQUESTS | Table Type for TPREQUEST | 20120706 | ||
2 | Exporting | DEPENDENCIES | Call by reference | Type reference (TYPE) | CTS_REQ_DEPENDENCIES | Set of Request Dependencies | 20120706 | ||
3 | Importing | SEL_REQUESTS | Call by reference | Type reference (TYPE) | TPREQUESTS | Table Type for TPREQUEST | 20120706 | ||
4 | Importing | SID | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20120706 | ||
5 | Importing | SUCCESSOR | Call by reference | Type reference (TYPE) | TPREQUEST | tp requests | 20120706 |
Method GET_REQ_DEPENDENCIES on class CTS_DEPENDENCIES_UTILS has no exception.
Method IS_LOGICAL_CLIENT_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | LOG_CLIENT_OBJ | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20110711 | ||
2 | Importing | OBJECT_TYPE | Call by reference | Type reference (TYPE) | CHAR4 | Change & Transport System: Object Entries of Requests/Tasks | 20110718 |
Method IS_LOGICAL_CLIENT_OBJ on class CTS_DEPENDENCIES_UTILS has no exception.
Method IS_SYS_NONABAP_ONLY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DOMAIN | Call by reference | Type reference (TYPE) | TMSMCONF-DOMNAM | domain name | 20120530 | ||
2 | Returning | NON_ABAP_ONLY | Value transfer | Type reference (TYPE) | CHAR1 | 'X' - non-ABAP only; '' - if not | 20120530 | ||
3 | Importing | SYS | Call by reference | Type reference (TYPE) | TMSMCONF-SYSNAM | system id | 20120530 |
Method IS_SYS_NONABAP_ONLY on class CTS_DEPENDENCIES_UTILS has no exception.
Method PUT_OBJECT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | DOWNGRADING_OBJS | Call by reference | Type reference (TYPE) | HASHED TABLE | downgrading objects | 20110310 | ||
2 | Importing | IMP_REQ | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110310 | ||
3 | Importing | KEY_4 | Call by reference | Type reference (TYPE) | TROBJ_NAME | 4-th key (appltype or table key) | 20110415 | ||
4 | Importing | NOTE | Call by reference | Type reference (TYPE) | CTS_CONFL-NOTE | object note | 20110418 | ||
5 | Importing | OBJDESCR | Call by reference | Type reference (TYPE) | CHAR120 | object description | 20110414 | ||
6 | Importing | OBJECT | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20110310 | ||
7 | Importing | OBJECT_ID | Call by reference | Type reference (TYPE) | CHAR1024 | object id (of non ABAP object) | 20120213 | ||
8 | Importing | OBJNAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110310 | ||
9 | Importing | PGMID | Call by reference | Type reference (TYPE) | PGMID | Program ID in Requests and Tasks | 20110310 | ||
10 | Importing | SEL_REQ | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110310 |
Method PUT_OBJECT on class CTS_DEPENDENCIES_UTILS has no exception.
Method READ_IMPORT_LOGS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IMPORTED_AFTER | Call by reference | Type reference (TYPE) | CHAR32 | timestamp | 20110202 | ||
2 | Importing | SID | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20110201 | ||
3 | Returning | TRKORRS | Value transfer | Type reference (TYPE) | TRKORRS | Table of Request Numbers | 20110202 |
Method READ_IMPORT_LOGS on class CTS_DEPENDENCIES_UTILS has no exception.
Method READ_REQ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COMMSYS | Call by reference | Type reference (TYPE) | CHAR10 | Communication system of the request | 20110201 | ||
2 | Returning | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | request with detailed info | 20110201 | ||
3 | Importing | TMS_QUEUE | Call by reference | Type reference (TYPE) | TMSCSYS | TMS CI: Systems | 20110201 | ||
4 | Importing | TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Table of Request Numbers | 20110201 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_REQUEST | 20110201 |
Method READ_REQ_LOCAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | 20110201 | |||
2 | Importing | TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110201 |
Method READ_REQ_LOCAL on class CTS_DEPENDENCIES_UTILS has no exception.
Method READ_REQ_PREVIEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | request details | 20110418 | ||
2 | Importing | TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110418 |
Method READ_REQ_PREVIEW on class CTS_DEPENDENCIES_UTILS has no exception.
Method READ_REQ_REMOTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COMMSYS | Call by reference | Type reference (TYPE) | CHAR10 | Communication system of the request | 20110201 | ||
2 | Returning | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | request details info | 20110201 | ||
3 | Importing | TMS_QUEUE | Call by reference | Type reference (TYPE) | TMSCSYS | TMS CI: Systems | 20110201 | ||
4 | Importing | TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110201 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_REQUEST | 20110201 |
Method SYNC_QUEUE_STATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ERROR_TEXT | Call by reference | Type reference (TYPE) | CHAR50 | Comment | 20110517 | ||
2 | Importing | SID | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20110419 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ALERT | 20110419 | ||
2 | AUTHORITY_ERROR | 20110421 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 702 |