SAP ABAP Class CL_CLU_CLUTAB (CL_CLU_CLUTAB)
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_CLU_CLUTAB  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SDB_DBI   General Database Interface 
Created 20080918   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)
Interfaces
Class CL_CLU_CLUTAB has no interface implemented.
Friends
Class CL_CLU_CLUTAB has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CLUSTER_KEY_LENGTH Instance attribute Private Type reference (TYPE) I Byte length of the cluster key 20090213
2 COMMIT_COUNT Instance attribute Private Type reference (TYPE) I 10000 COMMIT_COUNT 20080918
3 ERR_ADDITIONAL_PAGES Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_ADD' 20080918
4 ERR_INITIAL_RECORD Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_INI' 20080918
5 ERR_INTERNAL_ERROR Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_INTR' 20090130
6 ERR_LOG_DUPREC Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_DUP' 20080918
7 ERR_LTAB_NAMETAB Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_LNTB' 20090215
8 ERR_MISSING_PAGE_ZERO Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_PAG0' 20080918
9 ERR_NOT_FOUND Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_NOTF' 20080918
10 ERR_PAGENO_GAP Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_GAP' 20080918
11 ERR_PHANTOM_RECORD Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_PHAN' 20080918
12 ERR_PTAB_NAMETAB Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_NTAB' 20080918
13 ERR_PTAB_NO_LOGTAB Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_NOLO' 20080918
14 ERR_READ_CLUSTER Constant Public Type reference (TYPE) TEXTPOOLKY 'ERR_READ' 20080918
15 GREEN Constant Public Type reference (TYPE) I 1 20080918
16 IS_CHECK_DUPLICATES Instance attribute Private Type reference (TYPE) ABAP_BOOL IS_CHECK_DUPLICATES 20080918
17 NR_KEYS_FOR_SETGET Instance attribute Private Type reference (TYPE) I NR_KEYS_FOR_SETGET 20080918
18 OVERVIEW_ID Constant Public Type reference (TYPE) INDX-SRTFD 'SDBI_CLUSTER_CHECKRUNS' 20080918
19 PCURSOR Instance attribute Private Type reference (TYPE) CURSOR PCURSOR 20080918
20 PHYSICAL_CLUSTER_TABNAME Instance attribute Private Type reference (TYPE) TABNAME PHYSICAL_CLUSTER_TABNAME 20080918
21 RANK_CANCELLED Constant Public Type reference (TYPE) I 60 20091125
22 RANK_ERROR Constant Public Type reference (TYPE) I 100 20080918
23 RANK_NOT_CHECKED Constant Public Type reference (TYPE) I 90 20080918
24 RANK_OK Constant Public Type reference (TYPE) I 0 20080918
25 RANK_OLD Constant Public Type reference (TYPE) I 80 20080918
26 RANK_RUNNING Constant Public Type reference (TYPE) I 50 20080918
27 RC_NOT_FOUND Constant Public Type reference (TYPE) I -1 20080918
28 RC_NO_CHECK_POSSIBLE Constant Public Type reference (TYPE) I -3 20080918
29 RC_OK Constant Public Type reference (TYPE) I 0 20080918
30 RC_TAB_ON_EXCLUDELIST Constant Public Type reference (TYPE) I -2 20080918
31 RED Constant Public Type reference (TYPE) I 3 20080918
32 R_COUNTER Instance attribute Private Object reference (TYPE REF TO) CL_CLU_COUNTER R_COUNTER 20080918
33 R_HELPER Instance attribute Private Object reference (TYPE REF TO) CL_CLU_HELPER R_HELPER 20080918
34 R_LOGGER Instance attribute Private Object reference (TYPE REF TO) CL_CLU_LOGGER R_LOGGER 20080918
35 SECS_CHECK_TOO_OLD Constant Public Type reference (TYPE) I 31536000 20080918
36 STATE_CANCELLED Constant Public Type reference (TYPE) I 2 20091125
37 STATE_READY Constant Public Type reference (TYPE) I 1 20080918
38 STATE_RUNNING Constant Public Type reference (TYPE) I 0 20080918
39 STATUS Instance attribute Private Type reference (TYPE) I STATUS_OK STATUS 20080918
40 STATUS_NO_LOGTABS Constant Public Type reference (TYPE) I -2 STATUS_NO_LOGTABS 20080918
41 STATUS_NO_PHYS_NTAB Constant Public Type reference (TYPE) I -1 20090215
42 STATUS_OK Constant Public Type reference (TYPE) I 0 STATUS_OK 20080918
43 VERSION Constant Public Type reference (TYPE) STRING `05.2010` 20090130
44 WHERE_PAGE_ZERO Instance attribute Private Type reference (TYPE) T_PHYSWHERE 20091125
45 WHERE_SINGLE_CLUSTER Instance attribute Private Type reference (TYPE) T_PHYSWHERE 20091125
46 WHERE_SINGLE_PAGE Instance attribute Private Type reference (TYPE) T_PHYSWHERE 20091125
47 YELLOW Constant Public Type reference (TYPE) I 2 20080918
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20080918
2 EXECUTE_CHECK Instance method Public Method EXECUTE_CHECK 20080918
3 GET_LOGICAL_TABLE_NAMES Instance method Public Method GET_LOGICAL_TABLE_NAMES 20080918
4 GET_PHYSICAL_CLUSTER_TABNAME Instance method Public Method GET_PHYSICAL_CLUSTER_TABNAME 20080918
5 GET_STATUS Instance method Public Method GET_STATUS 20080918
6 MAKE_ERRKEYSTRING Instance method Public Method MAKE_ERRKEYSTRING 20080918
7 _CHECK_LOGICAL_DUPREC Instance method Private Method _CHECK_LOGICAL_DUPREC 20080918
8 _CHECK_SINGLE_CLUREC Instance method Private Method _CHECK_SINGLE_CLUREC 20080918
9 _CHECK_VARDATA_PAGENO Instance method Private Method _CHECK_VARDATA_PAGENO 20080918
10 _CLOSE_PHYS_CURSOR Instance method Private Method _CLOSE_PHYS_CURSOR 20080918
11 _COMMIT_IF_NEEDED Instance method Private Method _COMMIT_IF_NEEDED 20080918
12 _COUNT_PHYS_ENTRIES Instance method Private Method _COUNT_PHYS_ENTRIES 20080918
13 _DO_CHECK Instance method Private Method _DO_CHECK 20080918
14 _INIT Instance method Private Method _INIT 20080918
15 _LOG_KEY_ERR Instance method Private Method _LOG_KEY_ERR 20080918
16 _MAKE_PHYSWHERE Instance method Private Method _MAKE_PHYSWHERE 20080918
17 _MAKE_RESTARTWHERE Instance method Private Method _MAKE_RESTARTWHERE 20080918
18 _OPEN_PHYS_CURSOR Instance method Private Method _OPEN_PHYS_CURSOR 20080918
19 _READ_PAGELG_AND_TIMESTMP Instance method Private Method _READ_PAGELG_AND_TIMESTMP 20080918
20 _READ_SINGLE_REC_FROM_LOGTAB Instance method Private Method _READ_SINGLE_REC_FROM_LOGTAB 20080918
Events
Class CL_CLU_CLUTAB has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_CHECKRUN Public See coding 20080918 BEGIN OF t_checkrun, id TYPE timestamp, state TYPE i, lastupdate TYPE timestamp, servername TYPE string, wpno TYPE wpinfo-wp_index, user TYPE sy-uname, what TYPE string, version TYPE string, sortchk TYPE abap_bool, END OF t_checkrun
2 T_CHECKRUNS Public See coding 20080918 t_checkruns TYPE TABLE OF t_checkrun
3 T_CLUTIMESTMP Public See coding 20080918 t_clutimestmp(46) TYPE c
4 T_CLUTSTRUCT Public See coding 20080918 BEGIN OF t_clutstruct, date TYPE d, hour TYPE i, min TYPE i, sec TYPE i, cs TYPE i, "centiseconds wpid TYPE i, sysnr TYPE i, ip_b0 TYPE i, ip_b1 TYPE i, ip_b2 TYPE i, ip_b3 TYPE i, END OF t_clutstruct
5 T_CLUTSTRUCTS Public See coding 20080918 t_clutstructs TYPE TABLE OF t_clutstruct
6 T_DISPERRKEYLOG Public See coding 20080918 BEGIN OF t_disperrkeylog, tabname TYPE tabname, errortext TYPE string, key TYPE string, clutimestmp TYPE t_clutimestmp, localtime type string, add_info TYPE string, END OF t_disperrkeylog
7 T_DISPERRKEYLOGS Public See coding 20080918 t_disperrkeylogs TYPE TABLE OF t_disperrkeylog
8 T_DISPPHYSTABLOG Public See coding 20080918 BEGIN OF t_dispphystablog, tabname TYPE tabname, taberrkey TYPE string, no_tabrecs_read TYPE i, no_clurecs_checked TYPE i, no_clurecs_ok TYPE i, no_clurecs_wrong TYPE i, no_clurecs_initial TYPE i, startdate TYPE sy-datum, starttime TYPE sy-uzeit, enddate TYPE sy-datum, endtime TYPE sy-uzeit, recs_per_sec TYPE i, duration TYPE i, logtabs TYPE string, color TYPE lvc_t_scol, hotspot TYPE salv_t_int4_column, END OF t_dispphystablog
9 T_DISPPHYSTABLOGS Public See coding 20080918 t_dispphystablogs TYPE TABLE OF t_dispphystablog
10 T_DISPRUN Public See coding 20080918 BEGIN OF t_disprun, runid TYPE t_runid, statustext TYPE string, tabschecked TYPE i, tabswitherror TYPE i, rowswitherror TYPE i, lastdate TYPE sy-datum, lasttime TYPE sy-uzeit, user TYPE sy-uname, servername TYPE string, wpno TYPE wpinfo-wp_no, sortchk TYPE abap_bool, what TYPE string, version TYPE string, color TYPE lvc_t_scol, state TYPE i, END OF t_disprun
11 T_DISPRUNS Public See coding 20080918 t_dispruns TYPE TABLE OF t_disprun
12 T_DISPTAB Public See coding 20080918 BEGIN OF t_disptab, tabname TYPE tabname, status TYPE string, lastcheckdate TYPE sy-datum, no_clurecs_checked TYPE i, no_clurecs_wrong_or_initial TYPE i, color TYPE lvc_t_scol, rank TYPE i, " just for sorting istatus TYPE i, " not displayed runid TYPE t_runid, " not displayed END OF t_disptab
13 T_DISPTABS Public See coding 20080918 t_disptabs TYPE TABLE OF t_disptab
14 T_ERRKEYID Public See coding 20080918 t_errkeyid(22) TYPE c
15 T_ERRKEYLOG Public See coding 20080918 BEGIN OF t_errkeylog, tabname TYPE tabname, errorid TYPE textpoolky, clutimestmp TYPE t_clutimestmp, readrc TYPE sy-subrc, key TYPE string, add_info TYPE string, END OF t_errkeylog
16 T_ERRKEYLOGS Public See coding 20080918 t_errkeylogs TYPE TABLE OF t_errkeylog
17 T_KEYNAMES Public See coding 20080918 t_keynames TYPE STANDARD TABLE OF dbfieldnam WITH DEFAULT KEY
18 T_KEYTYPES Public See coding 20080918 t_keytypes TYPE STANDARD TABLE OF abap_typekind WITH DEFAULT KEY
19 T_LINE Public See coding 20080918 t_line(255) TYPE c
20 T_LOGTAB Public See coding 20080918 BEGIN OF t_logtab, name TYPE tabname, wa TYPE REF TO data, itab TYPE REF TO data, keylen TYPE i, keyfieldntab TYPE t_ntabfields, dosortchk TYPE abap_bool, END OF t_logtab
21 T_LOGTABNAMES Public See coding 20080918 t_logtabnames TYPE TABLE OF tabname
22 T_LOGTABS Public See coding 20080918 t_logtabs TYPE TABLE OF t_logtab
23 T_NTABFIELDS Public See coding 20080918 t_ntabfields TYPE STANDARD TABLE OF x031l WITH DEFAULT KEY
24 T_NTAB_FIELDS Public See coding 20080918 t_ntab_fields TYPE TABLE OF x031l
25 T_OLDTIMESTMP Public See coding 20080918 t_oldtimestmp(14) TYPE c
26 T_PHYSTABLOG Public See coding 20080918 BEGIN OF t_phystablog, tabname TYPE tabname, tstart TYPE timestamp, tend TYPE timestamp, no_tabrecs_read TYPE i, no_clurecs_checked TYPE i, no_clurecs_ok TYPE i, no_clurecs_wrong TYPE i, no_clurecs_initial TYPE i, logtabs TYPE string, taberrkey TYPE string, END OF t_phystablog
27 T_PHYSTABLOGS Public See coding 20080918 t_phystablogs TYPE TABLE OF t_phystablog
28 T_PHYSTABS Public See coding 20080918 t_phystabs TYPE TABLE OF tabname
29 T_PHYSWHERE Public See coding 20080918 t_physwhere TYPE TABLE OF t_line
30 T_PTS Public See coding 20080918 t_pts(16) TYPE p DECIMALS 0
31 T_RUNID Public See coding 20080918 t_runid(14) TYPE n
32 T_RUNIDS Public See coding 20080918 t_runids TYPE TABLE OF t_runid
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CHECK_DUPLICATES Call by reference Type reference (TYPE) ABAP_BOOL 20081006
2 Importing P_COMMIT_COUNT Call by reference Type reference (TYPE) I 20081006
3 Importing P_LOGGER Call by reference Object reference (TYPE REF TO) CL_CLU_LOGGER 20081006
4 Importing P_TABNAME Call by reference Type reference (TYPE) TABNAME 20081006

Method CONSTRUCTOR on class CL_CLU_CLUTAB has no exception.

Method EXECUTE_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_RC Value transfer Type reference (TYPE) I RC 20081006
2 Importing P_RESTART Call by reference Type reference (TYPE) ABAP_BOOL RESTART 20081006

Method EXECUTE_CHECK on class CL_CLU_CLUTAB has no exception.

Method GET_LOGICAL_TABLE_NAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_TABNAMETAB Call by reference Type reference (TYPE) T_LOGTABNAMES P_TABNAMETAB 20080918

Method GET_LOGICAL_TABLE_NAMES on class CL_CLU_CLUTAB has no exception.

Method GET_PHYSICAL_CLUSTER_TABNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TABNAME Value transfer Type reference (TYPE) TABNAME TABNAME 20080918

Method GET_PHYSICAL_CLUSTER_TABNAME on class CL_CLU_CLUTAB has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_STATUS Value transfer Type reference (TYPE) I P_STATUS 20080918

Method GET_STATUS on class CL_CLU_CLUTAB has no exception.

Method MAKE_ERRKEYSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ERRKEYSTRING Value transfer Type reference (TYPE) STRING ERRKEYSTRING 20080918
2 Importing P_KEYNAMES Call by reference Type reference (TYPE) T_KEYNAMES P_KEYNAMES 20080918
3 Importing P_WA Call by reference Type reference (TYPE) ANY P_WA 20080918

Method MAKE_ERRKEYSTRING on class CL_CLU_CLUTAB has no exception.

Method _CHECK_LOGICAL_DUPREC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LOGTAB Call by reference Type reference (TYPE) T_LOGTAB LOGTAB 20080918
2 Importing PHYSWHERE Call by reference Type reference (TYPE) T_PHYSWHERE PHYSWHERE 20080918
3 Importing PHYS_WA Call by reference Type reference (TYPE) ANY 20091125
4 Exporting P_ERRTXT Call by reference Type reference (TYPE) STRING 20090130
5 Exporting RC Call by reference Type reference (TYPE) I RC 20080918

Method _CHECK_LOGICAL_DUPREC on class CL_CLU_CLUTAB has no exception.

Method _CHECK_SINGLE_CLUREC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PHYS_WA Call by reference Type reference (TYPE) ANY PHYS_WA 20080918
2 Returning P_RC Value transfer Type reference (TYPE) I 20081017

Method _CHECK_SINGLE_CLUREC on class CL_CLU_CLUTAB has no exception.

Method _CHECK_VARDATA_PAGENO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PAGENO Call by reference Type reference (TYPE) I PAGENO 20080918
2 Importing PHYS_WA Call by reference Type reference (TYPE) ANY PHYS_WA 20080918

Method _CHECK_VARDATA_PAGENO on class CL_CLU_CLUTAB has no exception.

Method _CLOSE_PHYS_CURSOR Signature

Method _CLOSE_PHYS_CURSOR on class CL_CLU_CLUTAB has no parameter.
Method _CLOSE_PHYS_CURSOR on class CL_CLU_CLUTAB has no exception.

Method _COMMIT_IF_NEEDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PHYS_WA Call by reference Type reference (TYPE) ANY PHYS_WA 20080918

Method _COMMIT_IF_NEEDED on class CL_CLU_CLUTAB has no exception.

Method _COUNT_PHYS_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning COUNT Value transfer Type reference (TYPE) I COUNT 20080918

Method _COUNT_PHYS_ENTRIES on class CL_CLU_CLUTAB has no exception.

Method _DO_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RESTART Call by reference Type reference (TYPE) ABAP_BOOL RESTART 20080918

Method _DO_CHECK on class CL_CLU_CLUTAB has no exception.

Method _INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_HELPER Value transfer Object reference (TYPE REF TO) CL_CLU_HELPER R_HELPER 20080918

Method _INIT on class CL_CLU_CLUTAB has no exception.

Method _LOG_KEY_ERR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PHYS_WA Call by reference Type reference (TYPE) ANY PHYS_WA 20080918
2 Importing P_ADD_INFO Call by reference Type reference (TYPE) STRING P_ADD_INFO 20080918
3 Importing P_ERRORID Call by reference Type reference (TYPE) TEXTPOOLKY P_ERRORID 20080918
4 Importing P_RC Call by reference Type reference (TYPE) I P_RC 20080918
5 Importing P_USE_PAGE0 Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20090130

Method _LOG_KEY_ERR on class CL_CLU_CLUTAB has no exception.

Method _MAKE_PHYSWHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NO_PAGENO Call by reference Type reference (TYPE) ABAP_BOOL IS_NO_PAGENO 20080918
2 Importing IS_PAGE_ZERO Call by reference Type reference (TYPE) ABAP_BOOL IS_PAGE_ZERO 20080918
3 Exporting PHYSWHERE Call by reference Type reference (TYPE) T_PHYSWHERE PHYSWHERE 20080918
4 Importing PHYS_WA Call by reference Type reference (TYPE) ANY PHYS_WA 20080918

Method _MAKE_PHYSWHERE on class CL_CLU_CLUTAB has no exception.

Method _MAKE_RESTARTWHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PHYSWHERE Call by reference Type reference (TYPE) T_PHYSWHERE PHYSWHERE 20080918
2 Importing PHYS_WA_NAME Call by reference Type reference (TYPE) STRING 20091125

Method _MAKE_RESTARTWHERE on class CL_CLU_CLUTAB has no exception.

Method _OPEN_PHYS_CURSOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RC Value transfer Type reference (TYPE) I RC 20080918
2 Importing RESTART Call by reference Type reference (TYPE) ABAP_BOOL RESTART 20080918

Method _OPEN_PHYS_CURSOR on class CL_CLU_CLUTAB has no exception.

Method _READ_PAGELG_AND_TIMESTMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PAGELG Call by reference Type reference (TYPE) I PAGELG 20080918
2 Importing PHYS_WA Call by reference Type reference (TYPE) ANY PHYS_WA 20080918
3 Importing P_USE_PAGE0 Call by reference Type reference (TYPE) ABAP_BOOL 20090130
4 Exporting RC Call by reference Type reference (TYPE) SY-SUBRC RC 20080918
5 Exporting TIMESTMP Call by reference Type reference (TYPE) T_CLUTIMESTMP TIMESTMP 20080918

Method _READ_PAGELG_AND_TIMESTMP on class CL_CLU_CLUTAB has no exception.

Method _READ_SINGLE_REC_FROM_LOGTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LOGTAB Call by reference Type reference (TYPE) T_LOGTAB LOGTAB 20080918
2 Exporting NR_ROWS_READ Call by reference Type reference (TYPE) I NR_ROWS_READ 20080918
3 Importing PHYS_WA Call by reference Type reference (TYPE) ANY PHYS_WA 20080918
4 Exporting RC Call by reference Type reference (TYPE) I RC 20080918

Method _READ_SINGLE_REC_FROM_LOGTAB on class CL_CLU_CLUTAB has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 720