SAP ABAP Class CL_RSBPCW_RUNTIME_LOCK_MGR (Work Status Runtime Locks Manager)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-PLA-BPC-WS (Application Component) BPC 'unified model' - Work Status
     RSBPCW (Package) BPC IP Extension: Work Status
Properties
Class CL_RSBPCW_RUNTIME_LOCK_MGR  
Short Description Work Status Runtime Locks Manager    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSBPCW   BPC IP Extension: Work Status 
Created 20130425   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 IF_RSPLS_DS_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_RSBPCW_RUNTIME_LOCK_MGR has no interface implemented.
Friends
Class CL_RSBPCW_RUNTIME_LOCK_MGR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_CS_DIMWS Constant Public See coding 20130514
2 N_CS_STATUS_LEVEL Constant Public See coding 20130517
3 N_CS_WSCTRLBY Constant Public See coding 20130517
4 N_CS_WSOWNER Constant Public See coding 20130516
5 N_CS_WSSEC Constant Public See coding 20130501
6 N_C_APPORG Constant Public Type reference (TYPE) RSBPC_FIELDNAME 'APPROVALORG' 20130430
7 N_C_BLOCK_ACTION_BLOCK Constant Public Type reference (TYPE) RSBPCW_BLOCK_ACTION 'BLOCK' 20130430
8 N_C_BLOCK_ACTION_IGNORE Constant Public Type reference (TYPE) RSBPCW_BLOCK_ACTION 'IGNORE' 20130430
9 N_C_BLOCK_ACTION_OBEY Constant Public Type reference (TYPE) RSBPCW_BLOCK_ACTION 'OBEY' 20130430
10 N_C_MOD_NAME_DOCS Constant Public Type reference (TYPE) RSBPCW_MODULE_ID 'DOCS' 20130430
11 N_C_MOD_NAME_MAN Constant Public Type reference (TYPE) RSBPCW_MODULE_ID 'MAN' 20130430
12 N_C_MOD_NAME_PLAN Constant Public Type reference (TYPE) RSBPCW_MODULE_ID 'PLAN' 20130430
13 N_R_WS_DEF Instance attribute Private Object reference (TYPE REF TO) CL_RSBPCW_WS_DEF BPC IP Extension: Work Status Definition 20130606
14 P_C_APPROVALMAIL Constant Private Type reference (TYPE) STRING 'APPROVALSTATUSMAIL' 20130503
15 P_C_APPROVALMSG Constant Private Type reference (TYPE) STRING 'APPROVALSTATUSMSG' 20130503
16 P_ENVIRONMENT_ID Instance attribute Private Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130425
17 P_LOCK_TABNAME Instance attribute Private Type reference (TYPE) TABNAME Table Name of runtime lock table 20130514
18 P_MODEL_ID Instance attribute Private Type reference (TYPE) RSBPC_APPL_ID BPC: Application ID 20130425
19 P_O_WORK_STATUS_DAO Instance attribute Private Object reference (TYPE REF TO) CL_RSBPCW_WORK_STATUS_DAO BPC: Work Status Data Access Object 20130425
20 P_S_USER_INFO Instance attribute Private Type reference (TYPE) RSBPC0_S_USER BPC: User Login Info 20130515
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_DIM_DATA_FROM_MASTER Instance method Private Method Build Dimension Data(Owners, Managers from Master Data 20130515
2 CHECK_BOTTOM_UP Instance method Private Method Check if bottom-up rule is conformed 20130515
3 CHECK_CONTROLLEDBY10 Instance method Private Method Check controlledby rule 20130515
4 CHECK_CONTROLLEDBY_CORE10 Instance method Private Method Check controlledby core 20130516
5 GEN_CARTESIAN_PRODUCT Instance method Private Method generate cartesian product 20130515
6 GET_AVAILABLE_STATUS Instance method Public Method Get Available Options Of Next Status 20130429
7 GET_CONTROLLEDBY_RULE_TAB Instance method Private Method Get controlledby rule table 20130517
8 GET_CURRENT_WORK_STATUS_LOCK Instance method Public Method Get Structure Lock Information of the data region 20130509
9 GET_INSTANCE Static method Public Method Get instance of work status runtime lock manager 20130502
10 GET_OWNER_AND_MANAGER_REGION Instance method Private Method Get Master Data Region Corresponding to Owner and Manager 20130502
11 GET_OWNER_TYPE10 Instance method Private Method what owner type is current user 20130516
12 GET_SELECTION_FOR_LCK_REGION Instance method Public Method Get Selection of Locked Region on Work Status Store 20130502
13 GROUP_STATID_BY_MODULE_AUTH Instance method Private Method Group stat_id by mod_auth 20130501
14 IS_BASE Instance method Private Method check whether members of non-owner dimensions are all base 20130513
15 NOTIFY_USER Instance method Private Method 20130503
16 UPDATE_WORK_STATUS_LOCKS Instance method Public Method Update Work Status Locks 20130509
Events
Class CL_RSBPCW_RUNTIME_LOCK_MGR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_STRFIELD Public See coding 20130503 tt_strfield TYPE STANDARD TABLE OF t_strfield
2 TYS_CONTROLLEDBY_RULE Private See coding 20130517 BEGIN OF tys_controlledby_rule, role TYPE INT4, status_src(20) TYPE c, status_trg(20) TYPE c, consecutive(1) TYPE c, must_in_src(1) TYPE c, must_in_trg(1) TYPE c, END OF tys_controlledby_rule
3 TYS_DIM_DATA Private See coding 20130515 BEGIN OF tys_dim_data, dimname TYPE rsiobjnm, id TYPE rschavl, owner TYPE string, parent TYPE rschavl, manager TYPE string, END OF tys_dim_data
4 TYS_DIM_MBR Private See coding 20130430 BEGIN OF tys_dim_mbr, dimension TYPE rsiobjnm, t_member TYPE rschavl, END OF tys_dim_mbr
5 TYS_STATUS_GROUP Private See coding 20130501 BEGIN OF tys_status_group, mod_auth TYPE rsbpcw_modws, t_status TYPE STANDARD TABLE OF rsbpcw_status WITH DEFAULT KEY, END OF tys_status_group
6 TYTH_STATUS_GROUP Private See coding 20130501 tyth_status_group TYPE HASHED TABLE OF tys_status_group WITH UNIQUE KEY mod_auth
7 TYT_CONTROLLEDBY_RULE Private See coding 20130517 tyt_controlledby_rule type STANDARD TABLE OF tys_controlledby_rule
8 TYT_DIM_DATA Private See coding 20130515 tyt_dim_Data type SORTED TABLE OF tys_dim_data with unique key dimname id
9 TYT_DIM_MBR Private See coding 20130430 tyt_dim_mbr TYPE STANDARD TABLE OF tys_dim_mbr
10 TYT_RSPLS_TS_SEL Public See coding 20130502 tyt_rspls_ts_sel TYPE STANDARD TABLE OF rspls_ts_sel
11 T_STRFIELD Public See coding 20130503 BEGIN OF t_strfield, name TYPE char255, END OF t_strfield
Method Signatures

Method BUILD_DIM_DATA_FROM_MASTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DIM_DATA Call by reference Type reference (TYPE) TYT_DIM_DATA Dimension Data Table 20130515
2 Importing I_DIMENSION Call by reference Type reference (TYPE) RSIOBJNM BPC: Dimension Name 20130515
3 Importing I_OWNER_PROP Call by reference Type reference (TYPE) RSATTRINM Master data attribute 20130516
4 Importing I_PARENT Call by reference Type reference (TYPE) STRING BPC: Parent Field Name 20130515
5 Importing I_WRK_STAT_DIM Call by reference Type reference (TYPE) RSBPCW_DIMWS BPC: Dimension Work Status 20130515
# Exception Resumable Description Created on
1 CX_RSBPCW_WORK_STATUS_ERROR 20130515

Method CHECK_BOTTOM_UP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_T_REGION Call by reference Object reference (TYPE REF TO) DATA 20130515
2 Importing IT_OWNER_DIM_DATA Call by reference Type reference (TYPE) TYT_DIM_DATA 20130515
3 Importing IT_RSBPCW_STATCODE Call by reference Type reference (TYPE) RSBPCW_T_STATCODE 20130515
4 Importing I_INCL_CHILDREN Call by reference Type reference (TYPE) RSBPC_FLG BPC: Generic indicator 20130515
5 Importing I_OWNER_DIM Call by reference Type reference (TYPE) RSIOBJNM Owner dimension name 20130515
6 Importing I_STATUS_TGT Call by reference Type reference (TYPE) RSBPCW_STATUS BPC: Status Code 20130515
# Exception Resumable Description Created on
1 CX_RSBPCW_WORK_STATUS_ERROR 20130515

Method CHECK_CONTROLLEDBY10 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CARTESIAN_PRODUCT Call by reference Object reference (TYPE REF TO) DATA 20130515
2 Importing IT_RSBPCW_STATCODE Call by reference Type reference (TYPE) RSBPCW_T_STATCODE 20130515
3 Importing I_INCL_CHILDREN Call by reference Type reference (TYPE) RSBPC_FLG BPC: Generic indicator 20130515
4 Importing I_LCKWS_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130515
5 Importing I_OWNER_TYPE Call by reference Type reference (TYPE) RSBPCW_OWNER BPC: Owner Code 20130515
6 Importing I_STATUS_TRG Call by reference Type reference (TYPE) RSBPCW_STATUS BPC: Status Code 20130515
# Exception Resumable Description Created on
1 CX_RSBPCW_WORK_STATUS_ERROR 20130515

Method CHECK_CONTROLLEDBY_CORE10 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RSBPCW_STATCODE Call by reference Type reference (TYPE) RSBPCW_T_STATCODE 20130516
2 Importing I_INCL_CHILDREN Call by reference Type reference (TYPE) RSBPC_FLG BPC: Generic indicator 20130516
3 Importing I_OWNER_TYPE Call by reference Type reference (TYPE) RSBPCW_OWNER 20130516
4 Importing I_STATUS_SRC Call by reference Type reference (TYPE) RSBPCW_STATUS BPC: Status Code 20130516
5 Importing I_STATUS_TRG Call by reference Type reference (TYPE) RSBPCW_STATUS BPC: Status Code 20130516
# Exception Resumable Description Created on
1 CX_RSBPCW_WORK_STATUS_ERROR 20130516

Method GEN_CARTESIAN_PRODUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CARTESIAN_PRODUCT Call by reference Object reference (TYPE REF TO) DATA 20130515
2 Exporting E_TSX_SEL Call by reference Type reference (TYPE) RSPLS_TS_SEL Selection 20130610
3 Importing IT_DIM_MEM Call by reference Type reference (TYPE) RSBPCW_T_DIM_MEM BPC: Work Status - Dimension/Member Table Type 20130515
4 Importing I_INCL_CHILDREN Call by reference Type reference (TYPE) RSBPC_FLG BPC: Generic indicator 20130515
5 Importing I_OWNER_DIM Call by reference Type reference (TYPE) RSBPC_DIM_NAME BPC: Dimension Name 20130515
6 Importing I_OWNER_DIM_HIER Call by reference Type reference (TYPE) STRING 20130515
# Exception Resumable Description Created on
1 CX_RSBPC_STATIC_CHECK 20130515

Method GET_AVAILABLE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STATDESC_TAB Call by reference Type reference (TYPE) RSBPCW_T_STAT_DESC BPC:Work Status- State Description Table 20130509
2 Exporting E_OWNER_TYPE Call by reference Type reference (TYPE) RSBPCW_OWNER BPC: Owner Code 20130509
3 Importing IT_DIM_MEM Call by reference Type reference (TYPE) RSBPCW_T_DIM_MEM BPC: Work Status - Dimension/Member Table Type 20130509
4 Importing I_INCL_CHILDREN Call by reference Type reference (TYPE) RSBPC_FLG BPC: Generic indicator 20130509
# Exception Resumable Description Created on
1 CX_RSBPCW_WORK_STATUS_ERROR CPM BPC Work Status Exception Class 20130516
2 CX_RSBPC_STATIC_CHECK BPC Basis Exception w/ T100 Message (Statically Checked) 20130517

Method GET_CONTROLLEDBY_RULE_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONTROLLEDBY_RULE Call by reference Type reference (TYPE) TYT_CONTROLLEDBY_RULE 20130517

Method GET_CONTROLLEDBY_RULE_TAB on class CL_RSBPCW_RUNTIME_LOCK_MGR has no exception.

Method GET_CURRENT_WORK_STATUS_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LOCK_INFO Call by reference Type reference (TYPE) RSBPCW_S_LCK_INFO BPC: Work Status - Lock Information 20130509
2 Importing IT_DIM_MEM Call by reference Type reference (TYPE) RSBPCW_T_DIM_MEM BPC: Work Status - Dimension/Member Table Type 20130509
# Exception Resumable Description Created on
1 CX_RSBPC_STATIC_CHECK 20130509

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPL Call by reference Type reference (TYPE) RSBPC_APPL_ID BPC: Application ID 20130502
2 Importing I_APPSET Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130502
3 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130514
4 Returning R_MANAGER Value transfer Object reference (TYPE REF TO) CL_RSBPCW_RUNTIME_LOCK_MGR Work Status Runtime Lock Manager 20130502

Method GET_INSTANCE on class CL_RSBPCW_RUNTIME_LOCK_MGR has no exception.

Method GET_OWNER_AND_MANAGER_REGION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MEMBER_MANAGER Call by reference Type reference (TYPE) TYT_DIM_MBR 20130502
2 Exporting ET_MEMBER_OWNER Call by reference Type reference (TYPE) TYT_DIM_MBR 20130502
3 Importing IS_DRV_MD_SEL Call by reference Type reference (TYPE) RSPLS_S_SEL Selection 20130502
4 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130502
# Exception Resumable Description Created on
1 CX_RSBPC_STATIC_CHECK BPC Basis Exception w/ T100 Message (Statically Checked) 20130502

Method GET_OWNER_TYPE10 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MANAGER Call by reference Type reference (TYPE) TT_STRFIELD 20130516
2 Importing IT_OWNER Call by reference Type reference (TYPE) TT_STRFIELD 20130516
3 Returning R_OWNER Value transfer Type reference (TYPE) RSBPCW_OWNER BPC: Owner Code 20130516

Method GET_OWNER_TYPE10 on class CL_RSBPCW_RUNTIME_LOCK_MGR has no exception.

Method GET_SELECTION_FOR_LCK_REGION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DEFAULT_UNLOCK_SELECTION Call by reference Type reference (TYPE) RSPLS_TS_SEL Selection 20130715
2 Exporting ET_POSITIVE_SELECTION Call by reference Type reference (TYPE) RSPLS_TS_SEL Selection 20130502
3 Exporting ET_T_NEGATIVE_SELECTION Call by reference Type reference (TYPE) TYT_RSPLS_TS_SEL Selection 20130502
4 Importing I_BLOCK_ACTION Call by reference Type reference (TYPE) RSBPCW_BLOCK_ACTION BPC: Block Action 20130502
5 Importing I_MODULE Call by reference Type reference (TYPE) RSBPCW_MODULE_ID N_C_MOD_NAME_PLAN BPC: Module ID 20130502
6 Importing I_TSX_SEL Call by reference Type reference (TYPE) RSPLS_TS_SEL Selection 20130502
7 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID SY-UNAME BPC: User ID 20130502
# Exception Resumable Description Created on
1 CX_RSBPCW_WORK_STATUS_ERROR CPM BPC Work Status Exception Class 20130502
2 CX_RSBPC_STATIC_CHECK BPC Basis Exception w/ T100 Message (Statically Checked) 20130502

Method GROUP_STATID_BY_MODULE_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETH_STATUS Call by reference Type reference (TYPE) TYTH_STATUS_GROUP 20130501
2 Importing I_MODULE Call by reference Type reference (TYPE) RSBPCW_MODULE_ID BPC: Module ID 20130501

Method GROUP_STATID_BY_MODULE_AUTH on class CL_RSBPCW_RUNTIME_LOCK_MGR has no exception.

Method IS_BASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_BASE Call by reference Type reference (TYPE) ABAP_BOOL 20130513
2 Importing IT_DIM_MEM Call by reference Type reference (TYPE) RSBPCW_T_DIM_MEM BPC: Work Status - Dimension/Member Table Type 20130513
# Exception Resumable Description Created on
1 CX_RSBPC_STATIC_CHECK 20130513

Method NOTIFY_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DIM_MEM Call by reference Type reference (TYPE) RSBPCW_T_DIM_MEM BPC: Work Status - Dimension/Member Table Type 20130503
2 Importing IT_MANAGERS Call by reference Type reference (TYPE) TT_STRFIELD 20130503
3 Importing IT_OWNERS Call by reference Type reference (TYPE) TT_STRFIELD 20130503
4 Importing I_APPL_ID Call by reference Type reference (TYPE) RSBPC_APPL_ID BPC: Application ID 20130503
5 Importing I_INCL_CHILDREN Call by reference Type reference (TYPE) RSBPC_FLG BPC: Generic indicator 20130503
6 Importing I_STATUS_ID Call by reference Type reference (TYPE) RSBPCW_STATID BPC: Status ID 20130503
# Exception Resumable Description Created on
1 CX_RSBPCW_WORK_STATUS_ERROR CPM BPC Work Status Exception Class 20130503
2 CX_RS_INVALID_NAME Invalid Technical Name 20130619
3 CX_RS_NOT_FOUND Object Not Found 20130614

Method UPDATE_WORK_STATUS_LOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DIM_MEM Call by reference Type reference (TYPE) RSBPCW_T_DIM_MEM BPC: Work Status - Dimension/Member Table Type 20130509
2 Importing I_INCL_CHILDREN Call by reference Type reference (TYPE) RSBPC_FLG BPC: Generic indicator 20130509
3 Importing I_STATUS Call by reference Type reference (TYPE) RSBPCW_STATUS BPC: Status Code 20130509
# Exception Resumable Description Created on
1 CX_RSBPC_STATIC_CHECK 20130509
History
Last changed by/on SAP  20140121 
SAP Release Created in 740