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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_CLU_CLUTAB 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 CODETAB Static Attribute Private Type reference (TYPE) T_CODETAB 20081006
2 CODETABLINE Static Attribute Private Type reference (TYPE) T_CODE 20081006
3 R3TRANSID Constant Private Type reference (TYPE) I 2621 20081007
4 TSFORMAT_TTTTTTWWWWWWWW Constant Public Type reference (TYPE) T_CLUTSTYPE 'TTTTTTWWWWWWWW' Current TIMESTMP Format 20081006
5 TSFORMAT_YYMMDDHHMISSCS Constant Public Type reference (TYPE) T_CLUTSTYPE 'YYMMDDHHMISSCS' Second-Oldest TIMESTMP Format 20081006
6 TSFORMAT_YYYYMMDDHHMISS Constant Public Type reference (TYPE) T_CLUTSTYPE 'YYYYMMDDHHMISS' Oldest TIMESTMP Format 20081006
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20081006
2 DECODE_NEW_TIMESTMP Static method Private Method 20081006
3 DECODE_NEW_TIMESTMP_TIME Static method Private Method 20081007
4 DECODE_NEW_TIMESTMP_WRITER Static method Private Method 20081007
5 DECODE_TIMESTMP Static method Public Method Formats the information in a cluster time stamp 20081006
6 GETINT Static method Private Method 20081006
7 GET_TIMESTR Static method Public Method String representation of time part of TIMESTMP value 20091125
8 GET_TSTMP_AGE_IN_SECONDS Static method Public Method Age of a Cluster Time Stamp in Seconds 20081008
9 TRUNCATE_TRAILING_ZEROS 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 Exporting P_RESULT Call by reference Type reference (TYPE) T_CLUTSTRUCT 20081006
2 Importing P_TSTMP Call by reference Type reference (TYPE) T_CLUTS Der zu bearbeitende TIMESTMP-Wert. 20081006
3 Exporting 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 Exporting P_TS Call by reference Type reference (TYPE) T_TIMESTAMPM UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20081007
2 Importing P_TSTMP Call by reference Type reference (TYPE) T_CLUTS Der zu bearbeitende TIMESTMP-Wert. 20081007
3 Exporting 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 Exporting P_IP_ADD Call by reference Type reference (TYPE) STRING Mögliche IP-Adressen des Schreibers (duch Komma getrennt) 20081007
2 Importing P_TSTMP Call by reference Type reference (TYPE) T_CLUTS Der zu bearbeitende TIMESTMP-Wert. 20081007
3 Exporting P_VALID Call by reference Type reference (TYPE) ABAP_BOOL 20081007
4 Exporting 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 Importing P_ISWRITER Call by reference Type reference (TYPE) ABAP_BOOL abap_false: Der Aufrufer interessiert sich nur für die Zeit. 20091125
2 Exporting P_RESULT Call by reference Type reference (TYPE) T_CLUTSTRUCT 20081006
3 Importing P_TSTMP Call by reference Type reference (TYPE) T_CLUTS Der zu bearbeitende TIMESTMP-Wert. 20081006
4 Exporting 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 Exporting P_RC Call by reference Type reference (TYPE) I 20081006
2 Exporting P_ZAHL Call by reference Type reference (TYPE) I 20081006
3 Importing 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 Importing P_ISLOCALTIME Call by reference Type reference (TYPE) ABAP_BOOL Ergebnis ist UTC wenn abap_false 20091125
2 Returning P_TIMESTR Value transfer Type reference (TYPE) STRING Ungültige Eingabe liefert einen leeren String 20091125
3 Importing 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 Returning P_DIFF Value transfer Type reference (TYPE) TIMESTAMP Differenz in Sekunden 20081008
2 Importing 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 Changing 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