SAP ABAP Class CL_RS_SMA_SMR (Rule)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RS_SMA (Package) Split And Merge Monitor
Properties
Class CL_RS_SMA_SMR  
Short Description Rule    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class RS_SMA    
Program status     
Category 0   
Package RS_SMA   Split And Merge Monitor 
Created 20130325   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)
2 CL_RS_SMA_DB Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_RS_SMA_SMR has no interface implemented.
Friends
Class CL_RS_SMA_SMR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_MODE Constant Public See coding 20130415
2 C_MOVE_MODE Constant Public See coding 20130529
3 N_DESCRIPTION Instance attribute Public Type reference (TYPE) RSTXTLG Long description 20130325
4 N_PERSISTENT Instance attribute Public Type reference (TYPE) ABAP_BOOL 20130325
5 N_RULE_NAME Instance attribute Public Type reference (TYPE) RS_SMA_RULE Rule Name 20130325
6 N_SAVED Instance attribute Public Type reference (TYPE) ABAP_BOOL 20130325
7 P_HOST_COUNT Instance attribute Private Type reference (TYPE) I 20130415
8 P_R_DB Instance attribute Private Object reference (TYPE REF TO) CL_RS_SMA_DB Data Base Interface 20130416
9 P_R_RND Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_RANDOM Pseudo Random Number Generator 20130701
10 P_S_RULE Instance attribute Private Type reference (TYPE) RSS_SMA_RULE Rule definition 20130412
11 P_T_NODES Instance attribute Private Type reference (TYPE) T_T_NODE List of rule nodes 20130325
12 P_WRITE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20130416
Methods
# Method Level Visibility Method type Description Created on
1 ADD_RULE Instance method Public Method 20130325
2 CONSTRUCTOR Instance method Public Constructor 20130325
3 DELETE Instance method Public Method 20130325
4 DEQUEUE Instance method Public Method 20130325
5 GET_COUNT Instance method Public Method 20130325
6 GET_HOST_LIST Instance method Private Method 20130531
7 GET_IS_PART_OK Instance method Public Method 20130411
8 GET_LOWER_LIMIT Instance method Public Method 20130325
9 GET_MODE Instance method Public Method 20130531
10 GET_NEEDS_MERGE Instance method Private Method 20130415
11 GET_NEEDS_SPLIT Instance method Private Method 20130415
12 GET_NODE_NAME Instance method Public Method 20130325
13 GET_PARTS Instance method Public Method 20130326
14 GET_PLACE_OK Instance method Public Method Is table placement okay 20130531
15 GET_RULE Instance method Public Method 20130412
16 MERGE Instance method Private Method 20130416
17 MERGE_PAIR Instance method Private Method 20130423
18 MOVE_PART Instance method Public Method 20130531
19 SAVE Instance method Public Method 20130325
20 SET_DESCRIPTION Instance method Public Method 20130514
21 SET_WRITE Instance method Public Method 20130416
22 SPLIT Instance method Private Method 20130416
23 SPLIT_MERGE Instance method Public Method 20130416
24 SPLIT_MERGE_PAIR Instance method Public Method 20130423
25 SPLIT_PAIR Instance method Private Method 20130423
26 UPDATE_TREE Instance method Public Method 20130325
Events
Class CL_RS_SMA_SMR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_S_NODE Private See coding 20130325 BEGIN OF t_s_node, nodekey type TV_NODEKEY, text type string, END OF t_s_node
2 T_S_RULE Private See coding 20130325 BEGIN OF T_S_RULE, split_count type i, lower_limit type i, tolerance type i, END OF t_s_rule
3 T_T_NODE Private See coding 20130325 t_t_node type HASHED TABLE OF t_s_node with UNIQUE key NODEKEY
4 T_T_RULE Private See coding 20130325 t_t_rule type SORTED TABLE OF t_s_rule with UNIQUE KEY split_count
Method Signatures

Method ADD_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_RULE Call by reference Type reference (TYPE) RSS_SMA_RULE Rule definition 20130412

Method ADD_RULE on class CL_RS_SMA_SMR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RULE_NAME Call by reference Type reference (TYPE) RS_SMA_RULE Rule Name 20130325

Method CONSTRUCTOR on class CL_RS_SMA_SMR has no exception.

Method DELETE Signature

Method DELETE on class CL_RS_SMA_SMR has no parameter.
Method DELETE on class CL_RS_SMA_SMR has no exception.

Method DEQUEUE Signature

Method DEQUEUE on class CL_RS_SMA_SMR has no parameter.
Method DEQUEUE on class CL_RS_SMA_SMR has no exception.

Method GET_COUNT Signature

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

Method GET_COUNT on class CL_RS_SMA_SMR has no exception.

Method GET_HOST_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_T_HOST Value transfer Type reference (TYPE) CL_RS_SMA_DB=>T_T_HOST 20130531

Method GET_HOST_LIST on class CL_RS_SMA_SMR has no exception.

Method GET_IS_PART_OK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) I 20130411
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130415
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130415
4 Returning R_IS_OKAY Value transfer Type reference (TYPE) ABAP_BOOL 20130411

Method GET_IS_PART_OK on class CL_RS_SMA_SMR has no exception.

Method GET_LOWER_LIMIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SPLIT_COUNT Call by reference Type reference (TYPE) I 20130325
2 Returning R_LOWER_LIMIT Value transfer Type reference (TYPE) I 20130325

Method GET_LOWER_LIMIT on class CL_RS_SMA_SMR has no exception.

Method GET_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_MODE Value transfer Type reference (TYPE) RS_SMA_MODE Mode 20130531

Method GET_MODE on class CL_RS_SMA_SMR has no exception.

Method GET_NEEDS_MERGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) NUMERIC 20130415
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130415
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130415
4 Returning R_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20130415

Method GET_NEEDS_MERGE on class CL_RS_SMA_SMR has no exception.

Method GET_NEEDS_SPLIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) NUMERIC 20130415
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130415
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130415
4 Returning R_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20130415

Method GET_NEEDS_SPLIT on class CL_RS_SMA_SMR has no exception.

Method GET_NODE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Node Key 20130325
2 Returning R_NODE_NAME Value transfer Type reference (TYPE) I 20130325

Method GET_NODE_NAME on class CL_RS_SMA_SMR has no exception.

Method GET_PARTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARTS Call by reference Type reference (TYPE) I 20130410
2 Importing I_ROW_COUNT Call by reference Type reference (TYPE) NUMERIC 20130326
3 Returning R_PARTS Value transfer Type reference (TYPE) I 20130326

Method GET_PARTS on class CL_RS_SMA_SMR has no exception.

Method GET_PLACE_OK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLE Call by reference Type reference (TYPE) CLIKE 20130531
2 Importing I_WITH_MSG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20130604
3 Returning R_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20130531

Method GET_PLACE_OK on class CL_RS_SMA_SMR has no exception.

Method GET_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_S_RULE Value transfer Type reference (TYPE) RSS_SMA_RULE Rule definition 20130412

Method GET_RULE on class CL_RS_SMA_SMR has no exception.

Method MERGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) I 20130416
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130416
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130416
4 Importing I_TABLE Call by reference Type reference (TYPE) CLIKE 20130416

Method MERGE on class CL_RS_SMA_SMR has no exception.

Method MERGE_PAIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) I 20130423
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130423
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130423
4 Importing I_TABLE_1 Call by reference Type reference (TYPE) CLIKE 20130424
5 Importing I_TABLE_2 Call by reference Type reference (TYPE) CLIKE 20130424

Method MERGE_PAIR on class CL_RS_SMA_SMR has no exception.

Method MOVE_PART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLE Call by reference Type reference (TYPE) CLIKE 20130531

Method MOVE_PART on class CL_RS_SMA_SMR has no exception.

Method SAVE Signature

Method SAVE on class CL_RS_SMA_SMR has no parameter.
Method SAVE on class CL_RS_SMA_SMR has no exception.

Method SET_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DESCRIPTION Call by reference Type reference (TYPE) RSTXTLG Long description 20130514

Method SET_DESCRIPTION on class CL_RS_SMA_SMR has no exception.

Method SET_WRITE Signature

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

Method SET_WRITE on class CL_RS_SMA_SMR has no exception.

Method SPLIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) I 20130416
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130416
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130416
4 Importing I_TABLE Call by reference Type reference (TYPE) CLIKE 20130416

Method SPLIT on class CL_RS_SMA_SMR has no exception.

Method SPLIT_MERGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) I 20130416
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130416
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130416
4 Importing I_TABLE Call by reference Type reference (TYPE) CLIKE 20130416

Method SPLIT_MERGE on class CL_RS_SMA_SMR has no exception.

Method SPLIT_MERGE_PAIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) I 20130423
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130423
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130423
4 Importing I_TABLE_1 Call by reference Type reference (TYPE) CLIKE 20130424
5 Importing I_TABLE_2 Call by reference Type reference (TYPE) CLIKE 20130424

Method SPLIT_MERGE_PAIR on class CL_RS_SMA_SMR has no exception.

Method SPLIT_PAIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_PARTS Call by reference Type reference (TYPE) I 20130423
2 Importing I_ROW_COUNT_PART Call by reference Type reference (TYPE) NUMERIC 20130423
3 Importing I_ROW_COUNT_TOTAL Call by reference Type reference (TYPE) NUMERIC 20130423
4 Importing I_TABLE_1 Call by reference Type reference (TYPE) CLIKE 20130423
5 Importing I_TABLE_2 Call by reference Type reference (TYPE) CLIKE 20130423

Method SPLIT_PAIR on class CL_RS_SMA_SMR has no exception.

Method UPDATE_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_TREE Call by reference Object reference (TYPE REF TO) CL_GUI_SIMPLE_TREE Simple Tree Control 20130325

Method UPDATE_TREE on class CL_RS_SMA_SMR has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 730