SAP ABAP Class CL_CLUSTER_UTILITIES (Tools for Cluster Tables)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-DBI (Application Component) DB-Independent Database Interface
⤷
SDB_DBI (Package) General Database Interface
⤷
⤷
Properties
| Class | CL_CLUSTER_UTILITIES | |
| Short Description | Tools for Cluster Tables | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SDB_DBI | General Database Interface |
| Created | 20081006 | SAP |
| Last change | 20110908 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_CLUSTER_UTILITIES has no interface implemented.
Friends
Class CL_CLUSTER_UTILITIES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | T_CODETAB | 20081006 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | T_CODE | 20081006 | ||||
| 3 | Constant | Private | Type reference (TYPE) | I | 2621 | 20081007 | |||
| 4 | Constant | Public | Type reference (TYPE) | T_CLUTSTYPE | 'TTTTTTWWWWWWWW' | Current TIMESTMP Format | 20081006 | ||
| 5 | Constant | Public | Type reference (TYPE) | T_CLUTSTYPE | 'YYMMDDHHMISSCS' | Second-Oldest TIMESTMP Format | 20081006 | ||
| 6 | Constant | Public | Type reference (TYPE) | T_CLUTSTYPE | 'YYYYMMDDHHMISS' | Oldest TIMESTMP Format | 20081006 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20081006 | |
| 2 | Static method | Private | Method | 20081006 | ||
| 3 | Static method | Private | Method | 20081007 | ||
| 4 | Static method | Private | Method | 20081007 | ||
| 5 | Static method | Public | Method | Formats the information in a cluster time stamp | 20081006 | |
| 6 | Static method | Private | Method | 20081006 | ||
| 7 | Static method | Public | Method | String representation of time part of TIMESTMP value | 20091125 | |
| 8 | Static method | Public | Method | Age of a Cluster Time Stamp in Seconds | 20081008 | |
| 9 | Static method | Public | Method | 20091125 |
Events
Class CL_CLUSTER_UTILITIES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_CLUTS | Public | See coding | Cluster Time Stamp | 20081006 | t_cluts(14) TYPE c
|
|
| 2 | T_CLUTSTRUCT | Public | See coding | Return Structure: Decoded TIMESTMP Value | 20081006 | BEGIN OF t_clutstruct,
type TYPE t_clutstype,
ts type t_timestampm,
writer type string,
possible_ip4 type string,
END OF t_clutstruct
|
|
| 3 | T_CLUTSTYPE | Public | See coding | 20081007 | t_clutstype(14) TYPE c
|
||
| 4 | T_CODE | Private | See coding | 20081006 | BEGIN OF t_code,
code(1) TYPE c,
idx TYPE i,
END OF t_code
|
||
| 5 | T_CODETAB | Private | See coding | 20081006 | t_codetab TYPE STANDARD TABLE OF t_code
|
||
| 6 | T_TIMESTAMPM | Public | See coding | 20081007 | t_timestampm(16) TYPE n
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_CLUSTER_UTILITIES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CLUSTER_UTILITIES has no exception.
Method DECODE_NEW_TIMESTMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_RESULT | Call by reference | Type reference (TYPE) | T_CLUTSTRUCT | 20081006 | ||||
| 2 | P_TSTMP | Call by reference | Type reference (TYPE) | T_CLUTS | Der zu bearbeitende TIMESTMP-Wert. | 20081006 | |||
| 3 | P_VALID | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20081006 |
Method DECODE_NEW_TIMESTMP on class CL_CLUSTER_UTILITIES has no exception.
Method DECODE_NEW_TIMESTMP_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TS | Call by reference | Type reference (TYPE) | T_TIMESTAMPM | UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) | 20081007 | |||
| 2 | P_TSTMP | Call by reference | Type reference (TYPE) | T_CLUTS | Der zu bearbeitende TIMESTMP-Wert. | 20081007 | |||
| 3 | P_VALID | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20081007 |
Method DECODE_NEW_TIMESTMP_TIME on class CL_CLUSTER_UTILITIES has no exception.
Method DECODE_NEW_TIMESTMP_WRITER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_IP_ADD | Call by reference | Type reference (TYPE) | STRING | Mögliche IP-Adressen des Schreibers (duch Komma getrennt) | 20081007 | |||
| 2 | P_TSTMP | Call by reference | Type reference (TYPE) | T_CLUTS | Der zu bearbeitende TIMESTMP-Wert. | 20081007 | |||
| 3 | P_VALID | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20081007 | ||||
| 4 | P_WRITER | Call by reference | Type reference (TYPE) | STRING | Der schreibende Prozess (z.B. R3trans) | 20081007 |
Method DECODE_NEW_TIMESTMP_WRITER on class CL_CLUSTER_UTILITIES has no exception.
Method DECODE_TIMESTMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ISWRITER | Call by reference | Type reference (TYPE) | ABAP_BOOL | abap_false: Der Aufrufer interessiert sich nur für die Zeit. | 20091125 | |||
| 2 | P_RESULT | Call by reference | Type reference (TYPE) | T_CLUTSTRUCT | 20081006 | ||||
| 3 | P_TSTMP | Call by reference | Type reference (TYPE) | T_CLUTS | Der zu bearbeitende TIMESTMP-Wert. | 20081006 | |||
| 4 | P_VALID | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20081006 |
Method DECODE_TIMESTMP on class CL_CLUSTER_UTILITIES has no exception.
Method GETINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_RC | Call by reference | Type reference (TYPE) | I | 20081006 | ||||
| 2 | P_ZAHL | Call by reference | Type reference (TYPE) | I | 20081006 | ||||
| 3 | P_ZEICHEN | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20081006 |
Method GETINT on class CL_CLUSTER_UTILITIES has no exception.
Method GET_TIMESTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ISLOCALTIME | Call by reference | Type reference (TYPE) | ABAP_BOOL | Ergebnis ist UTC wenn abap_false | 20091125 | |||
| 2 | P_TIMESTR | Value transfer | Type reference (TYPE) | STRING | Ungültige Eingabe liefert einen leeren String | 20091125 | |||
| 3 | P_TSTMP | Call by reference | Type reference (TYPE) | CL_CLU_CLUTAB=>T_OLDTIMESTMP | Textfeld Länge 14 | 20091125 |
Method GET_TIMESTR on class CL_CLUSTER_UTILITIES has no exception.
Method GET_TSTMP_AGE_IN_SECONDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DIFF | Value transfer | Type reference (TYPE) | TIMESTAMP | Differenz in Sekunden | 20081008 | |||
| 2 | P_TSTMP | Call by reference | Type reference (TYPE) | T_CLUTS | Cluster-Timestamp | 20081008 |
Method GET_TSTMP_AGE_IN_SECONDS on class CL_CLUSTER_UTILITIES has no exception.
Method TRUNCATE_TRAILING_ZEROS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INOUT | Call by reference | Type reference (TYPE) | CHAR30 | Tabellenname | 20091125 |
Method TRUNCATE_TRAILING_ZEROS on class CL_CLUSTER_UTILITIES has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |