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
⤷
⤷
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 | 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) | |
| 3 | 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 | Static Attribute | Public | Type reference (TYPE) | CHAR30 | 'DI' | 20121105 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | CTS_OBJHASH | '0000000000000000000000000000000000000000' | ECTS: Object Hash Value | 20121114 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | CTS_OBJID | '$_HIDE_$' | special parent object id | 20120903 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | CHAR30 | 'HIERARCHICAL_CONTENT' | 30 Characters | 20121113 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | TRKORR | Request/Task | 20120614 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | NONABAP_OBJ_HEADERS | 20121114 | ||||
| 7 | Static Attribute | Public | Type reference (TYPE) | CHAR30 | 'XI' | 30 Characters | 20130328 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | add bad objects | 20110428 | |
| 2 | Instance method | Public | Method | calculates non-abap object overlappings | 20110405 | |
| 3 | Static method | Public | Method | checks if the previosly calculated overlaps are still valid | 20120315 | |
| 4 | Static method | Public | Method | checks if the request contains non-abap objects | 20110406 | |
| 5 | Static method | Public | Method | find downgratding objects | 20110202 | |
| 6 | Static method | Private | Method | finds overlapping table keys for log objects | 20120719 | |
| 7 | Static method | Public | Method | retuns table keys for the clien dependent logical object | 20110711 | |
| 8 | Static method | Public | Method | returns overlapping objects of hierarchically lowest level | 20110221 | |
| 9 | Static method | Private | Method | returns lowest (child) table key for the specified ones | 20110506 | |
| 10 | Instance method | Protected | Method | returns already calculated dependencies for the request | 20120706 | |
| 11 | Static method | Public | Method | checks if the object is client dependent logical object | 20110711 | |
| 12 | Static method | Public | Method | checks if the system is non-ABAP only | 20120530 | |
| 13 | Static method | Public | Method | adds an object to the resulting table | 20110310 | |
| 14 | Static method | Public | Method | reads the import logs | 20110201 | |
| 15 | Static method | Public | Method | read request details | 20110201 | |
| 16 | Static method | Private | Method | reads request details locally | 20110201 | |
| 17 | Static method | Private | Method | reads request details from PREVIEW tables | 20110418 | |
| 18 | Static method | Private | Method | read request details remotely | 20110201 | |
| 19 | 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 | BAD_OBJECTS | Call by reference | Type reference (TYPE) | CTS_BAD_OBJECTS | Table of Objects with Missing Object IDs | 20110428 | |||
| 2 | OBJECT_ID | Call by reference | Type reference (TYPE) | CHAR120 | UUID - identifier for file object (Char 32) | 20110428 | |||
| 3 | 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 | CONFL_OBJECTS | Call by reference | Type reference (TYPE) | CTS_OVERLAP_OBJECTS | Set of Overlapping Objects | 20110405 | |||
| 2 | DETAILS_MODE | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20110405 | |||
| 3 | REQUEST1 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 20110405 | ||||
| 4 | REQUEST2 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 20110405 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110413 |
Method COMPARE_QUEUE_STATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CURRENT_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES_EXT | positioned requests staying in the Import Queue | 20120323 | |||
| 2 | GONE_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES | gone requests | 20120605 | |||
| 3 | NEW_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES | new requests | 20120605 | |||
| 4 | PREVIOUS_REQUESTS | Call by reference | Type reference (TYPE) | CTS_IMP_Q_STATES | previosly processed requests | 20120323 | |||
| 5 | 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 | BAD_OBJECTS | Call by reference | Type reference (TYPE) | CTS_BAD_OBJECTS | Table of Objects with Missing Object IDs | 20110428 | |||
| 2 | HAS_NONABAP_OBJ | Call by reference | Type reference (TYPE) | CHAR1 | 20110428 | ||||
| 3 | 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 | EXPORTED_AFTER | Call by reference | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20110202 | |||
| 2 | IMPORTED_TRKORRS | Call by reference | Type reference (TYPE) | TRKORRS | Table of Request Numbers | 20110202 | |||
| 3 | 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 | OBJECT | Call by reference | Type reference (TYPE) | TRWBO_S_E071 | Change & Transport System: Object Entries of Requests/Tasks | 20120719 | |||
| 2 | OBJECTS_TO_CHECK | Call by reference | Type reference (TYPE) | TRWBO_T_E071 | 20120823 | ||||
| 3 | OVERLAPPING_TABLE_KEYS | Value transfer | Type reference (TYPE) | TRWBO_T_E071K | 20120719 | ||||
| 4 | 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 | CLIENT | Call by reference | Type reference (TYPE) | CHAR3 | sytem client | 20110711 | |||
| 2 | OBJECT | Call by reference | Type reference (TYPE) | TRWBO_S_E071 | CTS object | 20110711 | |||
| 3 | TAB_KEYS | Call by reference | Type reference (TYPE) | TRWBO_T_E071K | table keys of the object | 20110711 | |||
| 4 | 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 | CONFL_1 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 1-st request's conflicting objects | 20110221 | |||
| 2 | CONFL_2 | Call by reference | Type reference (TYPE) | STRHI_REQUEST_WD | 2-nd request's conflicting objects | 20110221 | |||
| 3 | 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 | ARE_EQUAL | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20110506 | |||
| 2 | KEY_1 | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110506 | |||
| 3 | KEY_2 | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110506 | |||
| 4 | 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 | ALL_REQUESTS | Call by reference | Type reference (TYPE) | TPREQUESTS | Table Type for TPREQUEST | 20120706 | |||
| 2 | DEPENDENCIES | Call by reference | Type reference (TYPE) | CTS_REQ_DEPENDENCIES | Set of Request Dependencies | 20120706 | |||
| 3 | SEL_REQUESTS | Call by reference | Type reference (TYPE) | TPREQUESTS | Table Type for TPREQUEST | 20120706 | |||
| 4 | SID | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20120706 | |||
| 5 | 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 | LOG_CLIENT_OBJ | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20110711 | |||
| 2 | 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 | DOMAIN | Call by reference | Type reference (TYPE) | TMSMCONF-DOMNAM | domain name | 20120530 | |||
| 2 | NON_ABAP_ONLY | Value transfer | Type reference (TYPE) | CHAR1 | 'X' - non-ABAP only; '' - if not | 20120530 | |||
| 3 | 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 | DOWNGRADING_OBJS | Call by reference | Type reference (TYPE) | HASHED TABLE | downgrading objects | 20110310 | |||
| 2 | IMP_REQ | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110310 | |||
| 3 | KEY_4 | Call by reference | Type reference (TYPE) | TROBJ_NAME | 4-th key (appltype or table key) | 20110415 | |||
| 4 | NOTE | Call by reference | Type reference (TYPE) | CTS_CONFL-NOTE | object note | 20110418 | |||
| 5 | OBJDESCR | Call by reference | Type reference (TYPE) | CHAR120 | object description | 20110414 | |||
| 6 | OBJECT | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20110310 | |||
| 7 | OBJECT_ID | Call by reference | Type reference (TYPE) | CHAR1024 | object id (of non ABAP object) | 20120213 | |||
| 8 | OBJNAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20110310 | |||
| 9 | PGMID | Call by reference | Type reference (TYPE) | PGMID | Program ID in Requests and Tasks | 20110310 | |||
| 10 | 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 | IMPORTED_AFTER | Call by reference | Type reference (TYPE) | CHAR32 | timestamp | 20110202 | |||
| 2 | SID | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20110201 | |||
| 3 | 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 | COMMSYS | Call by reference | Type reference (TYPE) | CHAR10 | Communication system of the request | 20110201 | |||
| 2 | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | request with detailed info | 20110201 | |||
| 3 | TMS_QUEUE | Call by reference | Type reference (TYPE) | TMSCSYS | TMS CI: Systems | 20110201 | |||
| 4 | TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Table of Request Numbers | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method READ_REQ_LOCAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | 20110201 | ||||
| 2 | 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 | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | request details | 20110418 | |||
| 2 | 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 | COMMSYS | Call by reference | Type reference (TYPE) | CHAR10 | Communication system of the request | 20110201 | |||
| 2 | REQUEST | Value transfer | Type reference (TYPE) | STRHI_REQUEST_WD | request details info | 20110201 | |||
| 3 | TMS_QUEUE | Call by reference | Type reference (TYPE) | TMSCSYS | TMS CI: Systems | 20110201 | |||
| 4 | TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method SYNC_QUEUE_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ERROR_TEXT | Call by reference | Type reference (TYPE) | CHAR50 | Comment | 20110517 | |||
| 2 | SID | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20110419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110419 | |||
| 2 | 20110421 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 702 |