SAP ABAP Class CL_DB2_GLOBAL_TIMES (backend class for global times)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-DB2 (Application Component) DB2 for z/OS
⤷
STU2 (Package) CCMS for DB2 for OS/390
⤷
⤷
Properties
| Class | CL_DB2_GLOBAL_TIMES | |
| Short Description | backend class for global times | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STU2 | CCMS for DB2 for OS/390 |
| Created | 20120725 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_DB2_GLOBAL_TIMES has no forward declaration.
Interfaces
Class CL_DB2_GLOBAL_TIMES has no interface implemented.
Friends
Class CL_DB2_GLOBAL_TIMES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | DB2_GLOTIME_HIERARCHY_TAB | hierrachy table | 20120801 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | DB2_KEY_DESCR_TAB | key - description mapping table | 20120801 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | DBCON_NAME | remote connection | 20120801 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | add counter to hierrachy tab | 20120801 | |
| 2 | Instance method | Private | Method | build hierarchy for hierarchical tree display | 20120725 | |
| 3 | Instance method | Public | Constructor | constructor | 20120725 | |
| 4 | Instance method | Public | Method | get fieldname for label | 20130112 | |
| 5 | Instance method | Public | Method | get history for selected counters | 20120725 | |
| 6 | Instance method | Public | Method | get all label IDs | 20130114 | |
| 7 | Instance method | Public | Method | get snapshot in hierarchical format | 20120725 | |
| 8 | Instance method | Private | Method | get structure | 20120916 | |
| 9 | Instance method | Public | Method | get timestamps for selection | 20120725 | |
| 10 | Instance method | Public | Method | map index to label | 20120725 |
Events
Class CL_DB2_GLOBAL_TIMES has no event.
Types
Class CL_DB2_GLOBAL_TIMES has no local type.
Method Signatures
Method ADD_COUNTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FN_NUMBER | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20120801 | |||
| 2 | FN_TIME | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20120801 | |||
| 3 | LABELDESCR | Call by reference | Type reference (TYPE) | DB2DESCRL | (field) long description | 20120802 | |||
| 4 | LABELKEY | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20120801 | |||
| 5 | PARENTKEY | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20120801 |
Method ADD_COUNTER on class CL_DB2_GLOBAL_TIMES has no exception.
Method BUILD_HIERARCHY Signature
Method BUILD_HIERARCHY on class CL_DB2_GLOBAL_TIMES has no parameter.
Method BUILD_HIERARCHY on class CL_DB2_GLOBAL_TIMES has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REMOTE_DBCON | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20120801 |
Method CONSTRUCTOR on class CL_DB2_GLOBAL_TIMES has no exception.
Method GET_FIELDNAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FN_EVENT | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20130112 | |||
| 2 | FN_TIME | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20130112 | |||
| 3 | LABEL | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20130112 |
Method GET_FIELDNAMES on class CL_DB2_GLOBAL_TIMES has no exception.
Method GET_HISTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE_FROM | Call by reference | Type reference (TYPE) | DB2DATE | Field type date, YYYYMMDD | 20120801 | |||
| 2 | DATE_TO | Call by reference | Type reference (TYPE) | DB2DATE | Field type date, YYYYMMDD | 20120801 | |||
| 3 | ID_FIELDLIST | Call by reference | Type reference (TYPE) | DB2INT4_TAB | table of fieldnameIDs | 20120916 | |||
| 4 | MEMBER | Call by reference | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20120801 | |||
| 5 | RESULT_REF | Value transfer | Object reference (TYPE REF TO) | DATA | table type for structure db2qglotime | 20120917 | |||
| 6 | TIME_FROM | Call by reference | Type reference (TYPE) | DB2TIME | Field type time, HHMMSS | 20120801 | |||
| 7 | TIME_TO | Call by reference | Type reference (TYPE) | DB2TIME | Field type time, HHMMSS | 20120801 | |||
| 8 | TYPE | Call by reference | Type reference (TYPE) | DB2CONTYPE | connection type | 20120801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: Root exception class | 20120801 | ||
| 2 | Exception Class for SQL Error | 20120801 |
Method GET_LABELIDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELDLIST | Value transfer | Type reference (TYPE) | DB2INT4_TAB | int4 table | 20130114 |
Method GET_LABELIDS on class CL_DB2_GLOBAL_TIMES has no exception.
Method GET_SNAPSHOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MEMBER | Call by reference | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20120802 | |||
| 2 | SNAP | Call by reference | Type reference (TYPE) | DB2TIMESTAMP19 | Field type date, YYYYMMDD | 20120803 | |||
| 3 | TREE_SNAPSHOT | Value transfer | Type reference (TYPE) | DB2_GLOTIME_TAB | structure for global times - tree (snapshot) | 20120801 | |||
| 4 | TYPE | Call by reference | Type reference (TYPE) | DB2CONTYPE | connection type | 20120801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: Root exception class | 20120802 | ||
| 2 | Exception Class for SQL Error | 20120802 |
Method GET_STRUCT_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MD_TAB | Call by reference | Type reference (TYPE) | ADBC_RS_METADATA_DESCR_TAB | 20120916 | ||||
| 2 | STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Type gen. with ABAP-OO rules? (info: CL_ABAP_STRUCT _DESCR) | 20120916 | ||
| 3 | STRUCT_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20120916 |
Method GET_STRUCT_REF on class CL_DB2_GLOBAL_TIMES has no exception.
Method GET_TIMESTAMPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MEMBER | Call by reference | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20120801 | |||
| 2 | TIMESTAMPS | Value transfer | Type reference (TYPE) | DB2DATE_TIME_TAB | table type for dates / times - like timestamps | 20120801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: Root exception class | 20120801 | ||
| 2 | Exception Class for SQL Error | 20120801 |
Method MAP_LABEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESCR | Call by reference | Type reference (TYPE) | DB2DESCRL | (field) long description | 20120801 | |||
| 2 | SHORTDESCR | Call by reference | Type reference (TYPE) | DB2DESCR | (field) description | 20120801 | |||
| 3 | THEKEY | Value transfer | Type reference (TYPE) | INT4 | Natural number | 20120801 |
Method MAP_LABEL on class CL_DB2_GLOBAL_TIMES has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |