SAP ABAP Class CL_RSDU_HELPER (several methods for HANA DB)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-SYS-DB-SDB (Application Component) BW MaxDB
     RSHDB (Package) BW Porting HDB
Properties
Class CL_RSDU_HELPER  
Short Description several methods for HANA DB    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSHDB   BW Porting HDB 
Created 20120712   SAP 
Last change 20140121   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_RSDU_HELPER has no interface implemented.
Friends
Class CL_RSDU_HELPER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_CHECK_LOCATION Constant Public Type reference (TYPE) TV_CHECK_METHOD 2 20130613
2 MC_CHECK_PARTSPEC Constant Public Type reference (TYPE) TV_CHECK_METHOD 1 20130613
Methods
# Method Level Visibility Method type Description Created on
1 EMPTY Static method Public Method checks, if a table is empty or not 20120920
2 PARTITION_READ Static method Public Method read the partition spec of a certain table 20120920
3 PARTITION_SYNC_NUM_SERVERS Static method Public Method 20130213
4 PARTITION_WRITE Static method Public Method write a new partition spec for a certain table 20120920
5 TABLE_IS_CONSISTENT Static method Public Method 20130613
6 _LOCK_TABLE Static method Private Method 20120920
7 _MERGE Static method Private Method 20120920
8 _ROWCOUNT Static method Private Method 20120920
9 _UNLOCK_TABLE Static method Private Method 20120920
Events
Class CL_RSDU_HELPER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CHECK_RESULT Public See coding 20130613 BEGIN OF ts_check_result, table type tabname, expected TYPE string, obtained type string, END OF ts_check_result
2 TT_CHECK_RESULT Public See coding 20130613 tt_check_result TYPE STANDARD TABLE OF ts_check_result WITH DEFAULT KEY
3 TT_TABLES Public See coding 20130613 tt_tables TYPE STANDARD TABLE OF tabname WITH DEFAULT KEY
4 TV_CHECK_METHOD Public Type reference (TYPE) I 20130613
Method Signatures

Method EMPTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SCHEMA Call by reference Type reference (TYPE) CLIKE Name of the current schema 20120920
2 Importing IV_TABLE Call by reference Type reference (TYPE) CLIKE Table Name 20120920
3 Returning RV_EMPTY Value transfer Type reference (TYPE) ABAP_BOOL 20120920

Method EMPTY on class CL_RSDU_HELPER has no exception.

Method PARTITION_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_MSG Call by reference Object reference (TYPE REF TO) IF_LIB_MSG_WRITER optional implementation of a message writer 20120920
2 Importing IV_TABLE Call by reference Type reference (TYPE) TABNAME name of the table to re-partitioned 20120920
3 Returning RV_PARTSPEC Value transfer Type reference (TYPE) STRING table partition spec 20120920
# Exception Resumable Description Created on
1 CX_SHDB_EXCEPTION 20120920

Method PARTITION_SYNC_NUM_SERVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PATTERN Call by reference Type reference (TYPE) TABNAME 20130213
2 Importing IV_TABLE Call by reference Type reference (TYPE) TABNAME 20130213
# Exception Resumable Description Created on
1 CX_SHDB_EXCEPTION 20130213

Method PARTITION_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_MSG Call by reference Object reference (TYPE REF TO) IF_LIB_MSG_WRITER optional implementation of a message writer 20120920
2 Importing IV_LOCK_OBJ Call by reference Type reference (TYPE) RSENQ_VALUE optional lock object 20120920
3 Importing IV_PARTSPEC Call by reference Type reference (TYPE) STRING new partition spec of the table 20120920
4 Importing IV_SLAVE Call by reference Type reference (TYPE) CHAR64 20130213
5 Importing IV_TABLE Call by reference Type reference (TYPE) TABNAME name of the table to re-partitioned 20120920
# Exception Resumable Description Created on
1 CX_SHDB_EXCEPTION exceptions of HANA DB objects 20120920

Method TABLE_IS_CONSISTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TABLES Call by reference Type reference (TYPE) TT_TABLES 20130613
2 Importing IV_CHECK Call by reference Type reference (TYPE) TV_CHECK_METHOD 20130613
3 Importing IV_OBJECT Call by reference Type reference (TYPE) RSDODSOBJECT 20130613
4 Importing IV_TYPE Call by reference Type reference (TYPE) CL_SHDB_TAB_CLASSIFICATION=>TS_TABCLASS-TYPE 20130613
5 Returning RT_RESULT Value transfer Type reference (TYPE) TT_CHECK_RESULT 20130613
# Exception Resumable Description Created on
1 CX_RSDU_CONSISTENCY 20130613

Method _LOCK_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJNAME Call by reference Type reference (TYPE) RSENQ_VALUE 20120920
2 Returning RV_LOCKID Value transfer Type reference (TYPE) RSENQ_LOCKID 20120920
# Exception Resumable Description Created on
1 CX_SHDB_EXCEPTION 20120920

Method _MERGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_MSG Call by reference Object reference (TYPE REF TO) IF_LIB_MSG_WRITER 20120920
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME 20120920
# Exception Resumable Description Created on
1 CX_SHDB_EXCEPTION 20120920

Method _ROWCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME 20120920
2 Returning RV_COUNT Value transfer Type reference (TYPE) I 20120920
# Exception Resumable Description Created on
1 CX_SHDB_EXCEPTION 20120920

Method _UNLOCK_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOCKID Call by reference Type reference (TYPE) RSENQ_LOCKID 20120920
2 Importing IV_OBJNAME Call by reference Type reference (TYPE) RSENQ_VALUE 20120920
# Exception Resumable Description Created on
1 CX_SHDB_EXCEPTION 20120920
History
Last changed by/on SAP  20140121 
SAP Release Created in 740