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
⤷ 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 | HIERARCHY_TABLE | Instance attribute | Private | Type reference (TYPE) | DB2_GLOTIME_HIERARCHY_TAB | hierrachy table | 20120801 | ||
2 | MAPPING_TABLE | Instance attribute | Private | Type reference (TYPE) | DB2_KEY_DESCR_TAB | key - description mapping table | 20120801 | ||
3 | REMOTE_DBCON | Instance attribute | Public | Type reference (TYPE) | DBCON_NAME | remote connection | 20120801 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_COUNTER | Instance method | Private | Method | add counter to hierrachy tab | 20120801 |
2 | BUILD_HIERARCHY | Instance method | Private | Method | build hierarchy for hierarchical tree display | 20120725 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | constructor | 20120725 |
4 | GET_FIELDNAMES | Instance method | Public | Method | get fieldname for label | 20130112 |
5 | GET_HISTORY | Instance method | Public | Method | get history for selected counters | 20120725 |
6 | GET_LABELIDS | Instance method | Public | Method | get all label IDs | 20130114 |
7 | GET_SNAPSHOT | Instance method | Public | Method | get snapshot in hierarchical format | 20120725 |
8 | GET_STRUCT_REF | Instance method | Private | Method | get structure | 20120916 |
9 | GET_TIMESTAMPS | Instance method | Public | Method | get timestamps for selection | 20120725 |
10 | MAP_LABEL | 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 | Importing | FN_NUMBER | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20120801 | ||
2 | Importing | FN_TIME | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20120801 | ||
3 | Importing | LABELDESCR | Call by reference | Type reference (TYPE) | DB2DESCRL | (field) long description | 20120802 | ||
4 | Importing | LABELKEY | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20120801 | ||
5 | Importing | 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 | Importing | 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 | Exporting | FN_EVENT | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20130112 | ||
2 | Exporting | FN_TIME | Call by reference | Type reference (TYPE) | DB2FIELDNAME | fieldname (of structure etc.) | 20130112 | ||
3 | Importing | 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 | Importing | DATE_FROM | Call by reference | Type reference (TYPE) | DB2DATE | Field type date, YYYYMMDD | 20120801 | ||
2 | Importing | DATE_TO | Call by reference | Type reference (TYPE) | DB2DATE | Field type date, YYYYMMDD | 20120801 | ||
3 | Importing | ID_FIELDLIST | Call by reference | Type reference (TYPE) | DB2INT4_TAB | table of fieldnameIDs | 20120916 | ||
4 | Importing | MEMBER | Call by reference | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20120801 | ||
5 | Returning | RESULT_REF | Value transfer | Object reference (TYPE REF TO) | DATA | table type for structure db2qglotime | 20120917 | ||
6 | Importing | TIME_FROM | Call by reference | Type reference (TYPE) | DB2TIME | Field type time, HHMMSS | 20120801 | ||
7 | Importing | TIME_TO | Call by reference | Type reference (TYPE) | DB2TIME | Field type time, HHMMSS | 20120801 | ||
8 | Importing | TYPE | Call by reference | Type reference (TYPE) | DB2CONTYPE | connection type | 20120801 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_DBA_ROOT | DBA Cockpit: Root exception class | 20120801 | |
2 | CX_SQL_EXCEPTION | 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 | Returning | 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 | Importing | MEMBER | Call by reference | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20120802 | ||
2 | Importing | SNAP | Call by reference | Type reference (TYPE) | DB2TIMESTAMP19 | Field type date, YYYYMMDD | 20120803 | ||
3 | Returning | TREE_SNAPSHOT | Value transfer | Type reference (TYPE) | DB2_GLOTIME_TAB | structure for global times - tree (snapshot) | 20120801 | ||
4 | Importing | TYPE | Call by reference | Type reference (TYPE) | DB2CONTYPE | connection type | 20120801 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_DBA_ROOT | DBA Cockpit: Root exception class | 20120802 | |
2 | CX_SQL_EXCEPTION | 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 | Importing | MD_TAB | Call by reference | Type reference (TYPE) | ADBC_RS_METADATA_DESCR_TAB | 20120916 | |||
2 | Importing | STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Type gen. with ABAP-OO rules? (info: CL_ABAP_STRUCT _DESCR) | 20120916 | |
3 | Returning | 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 | Importing | MEMBER | Call by reference | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20120801 | ||
2 | Returning | TIMESTAMPS | Value transfer | Type reference (TYPE) | DB2DATE_TIME_TAB | table type for dates / times - like timestamps | 20120801 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_DBA_ROOT | DBA Cockpit: Root exception class | 20120801 | |
2 | CX_SQL_EXCEPTION | 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 | Exporting | DESCR | Call by reference | Type reference (TYPE) | DB2DESCRL | (field) long description | 20120801 | ||
2 | Exporting | SHORTDESCR | Call by reference | Type reference (TYPE) | DB2DESCR | (field) description | 20120801 | ||
3 | Importing | 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 |