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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Public | See coding | 20130514 | |||||
| 2 | Constant | Public | See coding | 20130517 | |||||
| 3 | Constant | Public | See coding | 20130517 | |||||
| 4 | Constant | Public | See coding | 20130516 | |||||
| 5 | Constant | Public | See coding | 20130501 | |||||
| 6 | Constant | Public | Type reference (TYPE) | RSBPC_FIELDNAME | 'APPROVALORG' | 20130430 | |||
| 7 | Constant | Public | Type reference (TYPE) | RSBPCW_BLOCK_ACTION | 'BLOCK' | 20130430 | |||
| 8 | Constant | Public | Type reference (TYPE) | RSBPCW_BLOCK_ACTION | 'IGNORE' | 20130430 | |||
| 9 | Constant | Public | Type reference (TYPE) | RSBPCW_BLOCK_ACTION | 'OBEY' | 20130430 | |||
| 10 | Constant | Public | Type reference (TYPE) | RSBPCW_MODULE_ID | 'DOCS' | 20130430 | |||
| 11 | Constant | Public | Type reference (TYPE) | RSBPCW_MODULE_ID | 'MAN' | 20130430 | |||
| 12 | Constant | Public | Type reference (TYPE) | RSBPCW_MODULE_ID | 'PLAN' | 20130430 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSBPCW_WS_DEF | BPC IP Extension: Work Status Definition | 20130606 | |||
| 14 | Constant | Private | Type reference (TYPE) | STRING | 'APPROVALSTATUSMAIL' | 20130503 | |||
| 15 | Constant | Private | Type reference (TYPE) | STRING | 'APPROVALSTATUSMSG' | 20130503 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | RSBPC_APPSET_ID | BPC: AppSet ID | 20130425 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | TABNAME | Table Name of runtime lock table | 20130514 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | RSBPC_APPL_ID | BPC: Application ID | 20130425 | |||
| 19 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSBPCW_WORK_STATUS_DAO | BPC: Work Status Data Access Object | 20130425 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | RSBPC0_S_USER | BPC: User Login Info | 20130515 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Build Dimension Data(Owners, Managers from Master Data | 20130515 | |
| 2 | Instance method | Private | Method | Check if bottom-up rule is conformed | 20130515 | |
| 3 | Instance method | Private | Method | Check controlledby rule | 20130515 | |
| 4 | Instance method | Private | Method | Check controlledby core | 20130516 | |
| 5 | Instance method | Private | Method | generate cartesian product | 20130515 | |
| 6 | Instance method | Public | Method | Get Available Options Of Next Status | 20130429 | |
| 7 | Instance method | Private | Method | Get controlledby rule table | 20130517 | |
| 8 | Instance method | Public | Method | Get Structure Lock Information of the data region | 20130509 | |
| 9 | Static method | Public | Method | Get instance of work status runtime lock manager | 20130502 | |
| 10 | Instance method | Private | Method | Get Master Data Region Corresponding to Owner and Manager | 20130502 | |
| 11 | Instance method | Private | Method | what owner type is current user | 20130516 | |
| 12 | Instance method | Public | Method | Get Selection of Locked Region on Work Status Store | 20130502 | |
| 13 | Instance method | Private | Method | Group stat_id by mod_auth | 20130501 | |
| 14 | Instance method | Private | Method | check whether members of non-owner dimensions are all base | 20130513 | |
| 15 | Instance method | Private | Method | 20130503 | ||
| 16 | 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 | CT_DIM_DATA | Call by reference | Type reference (TYPE) | TYT_DIM_DATA | Dimension Data Table | 20130515 | |||
| 2 | I_DIMENSION | Call by reference | Type reference (TYPE) | RSIOBJNM | BPC: Dimension Name | 20130515 | |||
| 3 | I_OWNER_PROP | Call by reference | Type reference (TYPE) | RSATTRINM | Master data attribute | 20130516 | |||
| 4 | I_PARENT | Call by reference | Type reference (TYPE) | STRING | BPC: Parent Field Name | 20130515 | |||
| 5 | I_WRK_STAT_DIM | Call by reference | Type reference (TYPE) | RSBPCW_DIMWS | BPC: Dimension Work Status | 20130515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130515 |
Method CHECK_BOTTOM_UP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_T_REGION | Call by reference | Object reference (TYPE REF TO) | DATA | 20130515 | ||||
| 2 | IT_OWNER_DIM_DATA | Call by reference | Type reference (TYPE) | TYT_DIM_DATA | 20130515 | ||||
| 3 | IT_RSBPCW_STATCODE | Call by reference | Type reference (TYPE) | RSBPCW_T_STATCODE | 20130515 | ||||
| 4 | I_INCL_CHILDREN | Call by reference | Type reference (TYPE) | RSBPC_FLG | BPC: Generic indicator | 20130515 | |||
| 5 | I_OWNER_DIM | Call by reference | Type reference (TYPE) | RSIOBJNM | Owner dimension name | 20130515 | |||
| 6 | I_STATUS_TGT | Call by reference | Type reference (TYPE) | RSBPCW_STATUS | BPC: Status Code | 20130515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130515 |
Method CHECK_CONTROLLEDBY10 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CARTESIAN_PRODUCT | Call by reference | Object reference (TYPE REF TO) | DATA | 20130515 | ||||
| 2 | IT_RSBPCW_STATCODE | Call by reference | Type reference (TYPE) | RSBPCW_T_STATCODE | 20130515 | ||||
| 3 | I_INCL_CHILDREN | Call by reference | Type reference (TYPE) | RSBPC_FLG | BPC: Generic indicator | 20130515 | |||
| 4 | I_LCKWS_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130515 | |||
| 5 | I_OWNER_TYPE | Call by reference | Type reference (TYPE) | RSBPCW_OWNER | BPC: Owner Code | 20130515 | |||
| 6 | I_STATUS_TRG | Call by reference | Type reference (TYPE) | RSBPCW_STATUS | BPC: Status Code | 20130515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130515 |
Method CHECK_CONTROLLEDBY_CORE10 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RSBPCW_STATCODE | Call by reference | Type reference (TYPE) | RSBPCW_T_STATCODE | 20130516 | ||||
| 2 | I_INCL_CHILDREN | Call by reference | Type reference (TYPE) | RSBPC_FLG | BPC: Generic indicator | 20130516 | |||
| 3 | I_OWNER_TYPE | Call by reference | Type reference (TYPE) | RSBPCW_OWNER | 20130516 | ||||
| 4 | I_STATUS_SRC | Call by reference | Type reference (TYPE) | RSBPCW_STATUS | BPC: Status Code | 20130516 | |||
| 5 | I_STATUS_TRG | Call by reference | Type reference (TYPE) | RSBPCW_STATUS | BPC: Status Code | 20130516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130516 |
Method GEN_CARTESIAN_PRODUCT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CARTESIAN_PRODUCT | Call by reference | Object reference (TYPE REF TO) | DATA | 20130515 | ||||
| 2 | E_TSX_SEL | Call by reference | Type reference (TYPE) | RSPLS_TS_SEL | Selection | 20130610 | |||
| 3 | IT_DIM_MEM | Call by reference | Type reference (TYPE) | RSBPCW_T_DIM_MEM | BPC: Work Status - Dimension/Member Table Type | 20130515 | |||
| 4 | I_INCL_CHILDREN | Call by reference | Type reference (TYPE) | RSBPC_FLG | BPC: Generic indicator | 20130515 | |||
| 5 | I_OWNER_DIM | Call by reference | Type reference (TYPE) | RSBPC_DIM_NAME | BPC: Dimension Name | 20130515 | |||
| 6 | I_OWNER_DIM_HIER | Call by reference | Type reference (TYPE) | STRING | 20130515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130515 |
Method GET_AVAILABLE_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_STATDESC_TAB | Call by reference | Type reference (TYPE) | RSBPCW_T_STAT_DESC | BPC:Work Status- State Description Table | 20130509 | |||
| 2 | E_OWNER_TYPE | Call by reference | Type reference (TYPE) | RSBPCW_OWNER | BPC: Owner Code | 20130509 | |||
| 3 | IT_DIM_MEM | Call by reference | Type reference (TYPE) | RSBPCW_T_DIM_MEM | BPC: Work Status - Dimension/Member Table Type | 20130509 | |||
| 4 | I_INCL_CHILDREN | Call by reference | Type reference (TYPE) | RSBPC_FLG | BPC: Generic indicator | 20130509 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CPM BPC Work Status Exception Class | 20130516 | ||
| 2 | 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 | 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 | ES_LOCK_INFO | Call by reference | Type reference (TYPE) | RSBPCW_S_LCK_INFO | BPC: Work Status - Lock Information | 20130509 | |||
| 2 | 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 | 20130509 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPL | Call by reference | Type reference (TYPE) | RSBPC_APPL_ID | BPC: Application ID | 20130502 | |||
| 2 | I_APPSET | Call by reference | Type reference (TYPE) | RSBPC_APPSET_ID | BPC: AppSet ID | 20130502 | |||
| 3 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130514 | |||
| 4 | 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 | ET_MEMBER_MANAGER | Call by reference | Type reference (TYPE) | TYT_DIM_MBR | 20130502 | ||||
| 2 | ET_MEMBER_OWNER | Call by reference | Type reference (TYPE) | TYT_DIM_MBR | 20130502 | ||||
| 3 | IS_DRV_MD_SEL | Call by reference | Type reference (TYPE) | RSPLS_S_SEL | Selection | 20130502 | |||
| 4 | I_USER_ID | Call by reference | Type reference (TYPE) | RSBPC_USER_ID | BPC: User ID | 20130502 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IT_MANAGER | Call by reference | Type reference (TYPE) | TT_STRFIELD | 20130516 | ||||
| 2 | IT_OWNER | Call by reference | Type reference (TYPE) | TT_STRFIELD | 20130516 | ||||
| 3 | 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 | ET_DEFAULT_UNLOCK_SELECTION | Call by reference | Type reference (TYPE) | RSPLS_TS_SEL | Selection | 20130715 | |||
| 2 | ET_POSITIVE_SELECTION | Call by reference | Type reference (TYPE) | RSPLS_TS_SEL | Selection | 20130502 | |||
| 3 | ET_T_NEGATIVE_SELECTION | Call by reference | Type reference (TYPE) | TYT_RSPLS_TS_SEL | Selection | 20130502 | |||
| 4 | I_BLOCK_ACTION | Call by reference | Type reference (TYPE) | RSBPCW_BLOCK_ACTION | BPC: Block Action | 20130502 | |||
| 5 | I_MODULE | Call by reference | Type reference (TYPE) | RSBPCW_MODULE_ID | N_C_MOD_NAME_PLAN | BPC: Module ID | 20130502 | ||
| 6 | I_TSX_SEL | Call by reference | Type reference (TYPE) | RSPLS_TS_SEL | Selection | 20130502 | |||
| 7 | I_USER_ID | Call by reference | Type reference (TYPE) | RSBPC_USER_ID | SY-UNAME | BPC: User ID | 20130502 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CPM BPC Work Status Exception Class | 20130502 | ||
| 2 | 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 | ETH_STATUS | Call by reference | Type reference (TYPE) | TYTH_STATUS_GROUP | 20130501 | ||||
| 2 | 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 | E_BASE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130513 | ||||
| 2 | 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 | 20130513 |
Method NOTIFY_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DIM_MEM | Call by reference | Type reference (TYPE) | RSBPCW_T_DIM_MEM | BPC: Work Status - Dimension/Member Table Type | 20130503 | |||
| 2 | IT_MANAGERS | Call by reference | Type reference (TYPE) | TT_STRFIELD | 20130503 | ||||
| 3 | IT_OWNERS | Call by reference | Type reference (TYPE) | TT_STRFIELD | 20130503 | ||||
| 4 | I_APPL_ID | Call by reference | Type reference (TYPE) | RSBPC_APPL_ID | BPC: Application ID | 20130503 | |||
| 5 | I_INCL_CHILDREN | Call by reference | Type reference (TYPE) | RSBPC_FLG | BPC: Generic indicator | 20130503 | |||
| 6 | I_STATUS_ID | Call by reference | Type reference (TYPE) | RSBPCW_STATID | BPC: Status ID | 20130503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CPM BPC Work Status Exception Class | 20130503 | ||
| 2 | Invalid Technical Name | 20130619 | ||
| 3 | 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 | IT_DIM_MEM | Call by reference | Type reference (TYPE) | RSBPCW_T_DIM_MEM | BPC: Work Status - Dimension/Member Table Type | 20130509 | |||
| 2 | I_INCL_CHILDREN | Call by reference | Type reference (TYPE) | RSBPC_FLG | BPC: Generic indicator | 20130509 | |||
| 3 | I_STATUS | Call by reference | Type reference (TYPE) | RSBPCW_STATUS | BPC: Status Code | 20130509 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130509 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |