SAP ABAP Class CL_RSBPCE_USER (BPC: User)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-PLA-BPC-ADM-SEC (Application Component) BPC 'unified model' - Security management
     RSBPCE (Package) BPC IP Extension: Security Management
Properties
Class CL_RSBPCE_USER  
Short Description BPC: User    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSBPCE   BPC IP Extension: Security Management 
Created 20130321   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_RSBPCE_TEAM Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_RSBPCE_USER has no interface implemented.
Friends
Class CL_RSBPCE_USER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_C_ACTIVITY_ADMIN Constant Public Type reference (TYPE) ACTIV_AUTH '70' Activity 20130705
2 N_C_ACTIVITY_CHANGE_STATUS Constant Public Type reference (TYPE) ACTIV_AUTH 'A3' Activity 20130626
3 N_C_ACTIVITY_DISPLAY Constant Public Type reference (TYPE) ACTIV_AUTH '03' Activity 20130626
4 N_C_ACTIVITY_EXECUTE Constant Public Type reference (TYPE) ACTIV_AUTH '16' Activity 20130626
5 N_C_ACTIVITY_MAINTAIN Constant Public Type reference (TYPE) ACTIV_AUTH '23' Activity 20130626
6 N_C_AUTH_ADMIN Constant Public Type reference (TYPE) RSSTRING 'ADMIN' String 20130806
7 N_C_AUTH_CHANGE_STATUS Constant Public Type reference (TYPE) RSSTRING 'CHANGE_STATUS' String 20130813
8 N_C_AUTH_DISPLAY Constant Public Type reference (TYPE) RSSTRING 'DISPLAY' String 20130705
9 N_C_AUTH_EXECUTE Constant Public Type reference (TYPE) RSSTRING 'EXECUTE' String 20130806
10 N_C_AUTH_MAINTAIN Constant Public Type reference (TYPE) RSSTRING 'MAINTAIN' String 20130705
11 N_C_AUTH_OBJ_BBPF Constant Public Type reference (TYPE) RSBPC_AUTH_OBJ 'BBPF' BPC: Authorization Object 20130626
12 N_C_AUTH_OBJ_ENVM Constant Public Type reference (TYPE) RSBPC_AUTH_OBJ 'ENVM' BPC: Authorization Object 20130626
13 N_C_AUTH_OBJ_MODL Constant Public Type reference (TYPE) RSBPC_AUTH_OBJ 'MODL' BPC: Authorization Object 20130626
14 N_C_AUTH_OBJ_SYSTEMREPORT Constant Public Type reference (TYPE) RSBPC_AUTH_OBJ 'SYSR' BPC: Authorization Object 20130716
15 N_C_AUTH_OBJ_TEAM Constant Public Type reference (TYPE) RSBPC_AUTH_OBJ 'TEAM' BPC: Authorization Object 20130626
16 N_C_AUTH_OBJ_WKSP Constant Public Type reference (TYPE) RSBPC_AUTH_OBJ 'WKSP' BPC: Authorization Object 20130628
17 N_C_AUTH_RES_ACTIVITY_WSPACE Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'ACTIVITY_WORKSPACE' Resource type for PAK security check 20130820
18 N_C_AUTH_RES_BOOKS Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'BOOKS' Resource type for PAK security check 20130820
19 N_C_AUTH_RES_DASHBOARD Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'DASHBOARD' Resource type for PAK security check 20130819
20 N_C_AUTH_RES_DOCUMENT Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'DOCUMENT' Resource type for PAK security check 20130820
21 N_C_AUTH_RES_EXCEL_INPUT_FORM Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'EXCEL_INPUT_FORM' Resource type for PAK security check 20130906
22 N_C_AUTH_RES_EXCEL_REPORT Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'EXCEL_REPORT' Resource type for PAK security check 20130906
23 N_C_AUTH_RES_INPUT_FORM Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'INPUT_FORM' Resource type for PAK security check 20130820
24 N_C_AUTH_RES_LINK Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'LINK' Resource type for PAK security check 20130905
25 N_C_AUTH_RES_LIVE_REPORT Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'LIVE_REPORT' Resource type for PAK security check 20130820
26 N_C_AUTH_RES_SUB_FOLDER Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'SUB_FOLDER' Resource type for PAK security check 20130819
27 N_C_AUTH_RES_WORKSPACE Constant Public Type reference (TYPE) RSBPCE_RESOURCE_TYPE 'WORKSPACE' Resource type for PAK security check 20130820
28 N_C_FOLDER_NON_PUBLIC Constant Public Type reference (TYPE) RSBPCR_FOLDER '[NON_PUBLIC]' BPC: Folder 20130723
29 N_C_FOLDER_PUBLIC Constant Public Type reference (TYPE) RSBPCR_FOLDER '[PUBLIC]' BPC: Folder 20130705
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ACTIVE_USER Static method Public Method Check whether a user is accessible to an appset 20130730
2 CHECK_AUTH Static method Public Method Check authority 20130626
3 CONVERT_TO_PAK_RES_TYPE Static method Private Method convert resource type to PAK 20130819
4 FIND_USERS Static method Public Method Find users by given string 20130328
5 GET_ALL_USER_ID Static method Public Method Get all users in the appset 20130321
6 GET_APPSET_LIST Static method Public Method Get accessible appset list of the user 20130321
7 GET_AUTH_OBJ Static method Public Method Get accessible authorization objects 20130626
8 GET_MODULE_AUTH Static method Public Method Get the user's authorization about the module 20130827
9 GET_TEAM_LIST Static method Public Method Get team list of the user in the appset 20130321
10 GET_USERS_DETAIL Static method Public Method Get users details 20130403
11 GET_USER_DETAIL Static method Public Method Get user details 20130403
12 GET_USER_LIST Static method Public Method Get user list 20130403
13 HAS_AUTH Static method Public Method Has authority 20130626
14 IS_ACTIVE_USER Static method Public Method Whether a user is accessible to an appset 20130321
15 IS_BELONGS_TO_TEAM Static method Public Method Check whether a user belongs to a team 20130321
16 IS_LEADER Static method Public Method Check if user is a team leader in the appset 20130321
17 IS_USERS_EXIST Static method Public Method Check users exist in the appset 20130610
18 _GET_EXISTED_ENVM_AUTH Static method Private Method get the union authority of all the envm. 20130820
Events
Class CL_RSBPCE_USER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_S_AUTH_DETAILS Private See coding 20130827 BEGIN OF TN_S_AUTH_DETAILS. TYPES AUTH_OBJ TYPE RSBPC_AUTH_OBJ. TYPES SUB_AUTH_OBJ TYPE REF TO DATA. TYPES AUTHS TYPE STRING_TABLE. TYPES END OF TN_S_AUTH_DETAILS
2 TN_T_AUTH_DETAILS Private See coding 20130827 TN_T_AUTH_DETAILS TYPE STANDARD TABLE OF TN_S_AUTH_DETAILS
Method Signatures

Method CHECK_ACTIVE_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130730
2 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130730
# Exception Resumable Description Created on
1 CX_RSBPC_NO_AUTH CPM BPC Exception - No Authorization 20130730

Method CHECK_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20130626
2 Importing I_APPL_ID Call by reference Type reference (TYPE) RSBPC_APPL_ID BPC: Application ID 20130626
3 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130626
4 Importing I_AUTH_OBJ Call by reference Type reference (TYPE) RSBPC_AUTH_OBJ BPC: Authorization Object 20130626
5 Importing I_FOLDER Call by reference Type reference (TYPE) RSBPCR_FOLDER BPC: Folder 20130705
6 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130805
7 Importing I_MODULE Call by reference Type reference (TYPE) RSBPC_MODULE_NAME BPC: Module Name 20130716
8 Importing I_RESOURCE_TYPE Call by reference Type reference (TYPE) RSBPCE_RESOURCE_TYPE BPC: Resource Type 20130626
9 Importing I_TEAM_ID Call by reference Type reference (TYPE) RSBPC_TEAM_ID BPC: Team ID 20130626
10 Importing I_TMPL_ID Call by reference Type reference (TYPE) RSBPCB_TMPL_ID BPC: BPF Template ID 20130626
11 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130626
# Exception Resumable Description Created on
1 CX_RSBPC_NO_AUTH CPM BPC Exception - No Authorization 20130626

Method CONVERT_TO_PAK_RES_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RESOURCE_TYPE Call by reference Type reference (TYPE) RSBPCE_RESOURCE_TYPE PAK resource type 20130819
2 Importing I_RESOURCE_TYPE Call by reference Type reference (TYPE) RSBPCE_RESOURCE_TYPE classical resource type 20130819
3 Returning R_RESULT Value transfer Attribute reference (LIKE) SY-SUBRC RESULT 20130819

Method CONVERT_TO_PAK_RES_TYPE on class CL_RSBPCE_USER has no exception.

Method FIND_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_USER_ID Call by reference Type reference (TYPE) RSBPCE_T_USER_ID BPC: Table of user ID 20130610
2 Importing I_QUERY Call by reference Type reference (TYPE) RSSTRING String 20130328

Method FIND_USERS on class CL_RSBPCE_USER has no exception.

Method GET_ALL_USER_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_USER Call by reference Type reference (TYPE) RSBPCE_T_USER BPC: Table of user details 20130726
2 Exporting E_T_USER_ID Call by reference Type reference (TYPE) RSBPCE_T_USER_ID BPC: Table of user ID 20130610
3 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130321
4 Importing I_WITH_EMAIL Call by reference Type reference (TYPE) RS_BOOL Boolean 20130726
5 Importing I_WITH_USERNAME Call by reference Type reference (TYPE) RS_BOOL Boolean 20130726

Method GET_ALL_USER_ID on class CL_RSBPCE_USER has no exception.

Method GET_APPSET_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_APPSET_ID Call by reference Type reference (TYPE) RSBPCA_T_APPSET_ID BPC: Interanl Table of Appset ID 20130610
2 Importing I_T_APPSET_ID Call by reference Type reference (TYPE) RSBPCA_T_APPSET_ID BPC: Interanl Table of Appset ID 20130610
3 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130328

Method GET_APPSET_LIST on class CL_RSBPCE_USER has no exception.

Method GET_AUTH_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_AUTH_OBJ Call by reference Type reference (TYPE) RSBPCE_T_AUTH_OBJ BPC: Table of Authorization Object 20130626
2 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130626
3 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130626

Method GET_AUTH_OBJ on class CL_RSBPCE_USER has no exception.

Method GET_MODULE_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_AUTH_OBJ Call by reference Type reference (TYPE) RSBPCE_T_AUTH_DETAILS BPC: Table of Authorization Object 20130827
2 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130827
3 Importing I_MODULE_AUTH Call by reference Type reference (TYPE) RSBPC_AUTH_OBJ BPC: Authorization Object 20130827
4 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130827

Method GET_MODULE_AUTH on class CL_RSBPCE_USER has no exception.

Method GET_TEAM_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_TEAM_ID Call by reference Type reference (TYPE) RSBPCE_T_TEAM_ID BPC: Table of team ID 20130610
2 Exporting E_T_USER_TEAM Call by reference Type reference (TYPE) RSBPCE_T_USER_TEAM BPC: Table of team info with user 20130611
3 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130417
4 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130403

Method GET_TEAM_LIST on class CL_RSBPCE_USER has no exception.

Method GET_USERS_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_USER Call by reference Type reference (TYPE) RSBPCE_T_USER BPC: Table of user details 20130610
2 Importing I_T_USER_ID Call by reference Type reference (TYPE) RSBPCE_T_USER_ID BPC: Table of user ID 20130610

Method GET_USERS_DETAIL on class CL_RSBPCE_USER has no exception.

Method GET_USER_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_USER Call by reference Type reference (TYPE) RSBPCE_S_USER BPC: user details 20130610
2 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130403

Method GET_USER_DETAIL on class CL_RSBPCE_USER has no exception.

Method GET_USER_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_USER Call by reference Type reference (TYPE) RSBPCE_T_USER BPC: Table of user details 20130610
2 Importing I_T_USER_ID Call by reference Type reference (TYPE) RSBPCE_T_USER_ID BPC: Table of user ID 20130610
3 Importing I_WITH_EMAIL Call by reference Type reference (TYPE) RS_BOOL Boolean 20130610
4 Importing I_WITH_USERNAME Call by reference Type reference (TYPE) RS_BOOL Boolean 20130610

Method GET_USER_LIST on class CL_RSBPCE_USER has no exception.

Method HAS_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20130626
2 Importing I_APPL_ID Call by reference Type reference (TYPE) RSBPC_APPL_ID BPC: Application ID 20130626
3 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130626
4 Importing I_AUTH_OBJ Call by reference Type reference (TYPE) RSBPC_AUTH_OBJ BPC: Authorization Object 20130626
5 Importing I_FOLDER Call by reference Type reference (TYPE) RSBPCR_FOLDER BPC: Folder 20130705
6 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130805
7 Importing I_MODULE Call by reference Type reference (TYPE) RSBPC_MODULE_NAME BPC: Module Name 20130716
8 Importing I_RESOURCE_TYPE Call by reference Type reference (TYPE) RSBPCE_RESOURCE_TYPE BPC: Resource Type 20130626
9 Importing I_TEAM_ID Call by reference Type reference (TYPE) RSBPC_TEAM_ID BPC: Team ID 20130626
10 Importing I_TMPL_ID Call by reference Type reference (TYPE) RSBPCB_TMPL_ID BPC: BPF Template ID 20130626
11 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130626
12 Returning R_SUCCESS Value transfer Type reference (TYPE) RS_BOOL Boolean 20130626

Method HAS_AUTH on class CL_RSBPCE_USER has no exception.

Method IS_ACTIVE_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130321
2 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130321
3 Returning R_ACTIVE Value transfer Type reference (TYPE) RS_BOOL Boolean 20130610

Method IS_ACTIVE_USER on class CL_RSBPCE_USER has no exception.

Method IS_BELONGS_TO_TEAM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130403
2 Importing I_TEAM_ID Call by reference Type reference (TYPE) RSBPC_TEAM_ID BPC: Team ID 20130403
3 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130403
4 Returning R_BELONG Value transfer Type reference (TYPE) RS_BOOL Boolean 20130610

Method IS_BELONGS_TO_TEAM on class CL_RSBPCE_USER has no exception.

Method IS_LEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130403
2 Importing I_TEAM_ID Call by reference Type reference (TYPE) RSBPC_TEAM_ID BPC: Team ID 20130321
3 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID BPC: User ID 20130403
4 Returning R_LEADER Value transfer Type reference (TYPE) RS_BOOL Boolean 20130610

Method IS_LEADER on class CL_RSBPCE_USER has no exception.

Method IS_USERS_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EXISTED Call by reference Type reference (TYPE) RS_BOOL Boolean 20130610
2 Exporting E_T_INVALID_USER_ID Call by reference Type reference (TYPE) RSBPCE_T_USER_ID BPC: Table of user ID 20130610
3 Importing I_APPSET_ID Call by reference Type reference (TYPE) RSBPC_APPSET_ID BPC: AppSet ID 20130610
4 Importing I_T_USER_ID Call by reference Type reference (TYPE) RSBPCE_T_USER_ID BPC: Table of user ID 20130610

Method IS_USERS_EXIST on class CL_RSBPCE_USER has no exception.

Method _GET_EXISTED_ENVM_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DISPLAYABLE Call by reference Type reference (TYPE) RS_BOOL Boolean 20130820
2 Exporting E_MAINTAINABLE Call by reference Type reference (TYPE) RS_BOOL Boolean 20130820
3 Importing I_USER_ID Call by reference Type reference (TYPE) RSBPC_USER_ID 20130820

Method _GET_EXISTED_ENVM_AUTH on class CL_RSBPCE_USER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740