SAP ABAP Class CL_CRM_UI_ROLE_ASSIGN (Assign PFCG roles to user)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI-APF (Application Component) Application Frame
⤷
CRM_BSP_UI_FRAME_CORE (Package) Application Frame DDIC, Services and Utilities

⤷

⤷

Properties
Class | CL_CRM_UI_ROLE_ASSIGN | |
Short Description | Assign PFCG roles to user | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | CRM_BSP_UI_FRAME_CORE | Application Frame DDIC, Services and Utilities |
Created | 20060418 | SAP |
Last change | 20110908 | 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) |
Interfaces
Class CL_CRM_UI_ROLE_ASSIGN has no interface implemented.
Friends
Class CL_CRM_UI_ROLE_ASSIGN has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_CRM_UI_ROLE_LOG | Role assignement log | 20060419 | ||
2 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_CRM_UI_PROFILE_DETERM | Profile determination | 20060418 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TY_PROFILE_TAB | Business role | 20060418 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SYMANDT | Client ID of Current User | 20081203 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RFCSENDSYS | RFC sending system | 20081128 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20081128 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SYSYSID | Name of the SAP System | 20081203 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | AGR_NAME | Framework PFCG role | 20060915 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CHAR1 | Modus (0=Update, 1=Sim, 2= Check) | 20060421 | ||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | LOGSYS | Logical system | 20081201 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Flag: update roles in CUA central system | 20081202 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Assign PFCG roles to user | 20060418 |
2 | ![]() |
Instance method | Public | Constructor | Constructor | 20060418 |
3 | ![]() |
Instance method | Public | Method | Determine new PFCG role for assignment to user | 20060418 |
4 | ![]() |
Instance method | Public | Method | Get Business roles for user | 20060418 |
5 | ![]() |
Instance method | Public | Method | Get corresponding PFCG role for a business role | 20060418 |
6 | ![]() |
Static method | Public | Method | Get status of CUA configuration | 20081126 |
7 | ![]() |
Instance method | Public | Method | Get PFCG roles assigned to user | 20060418 |
8 | ![]() |
Instance method | Public | Method | Is PFCG role UIU relevant? | 20060418 |
9 | ![]() |
Instance method | Public | Method | PFCG role log | 20060428 |
10 | ![]() |
Instance method | Public | Method | Process users according selection | 20060424 |
11 | ![]() |
Instance method | Public | Method | Process user | 20060418 |
Events
Class CL_CRM_UI_ROLE_ASSIGN has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_BAPIAGR_TAB | Public | See coding | Table of activity groups (PFCG roles) | 20060421 | ty_bapiagr_tab TYPE STANDARD TABLE OF bapiagr
|
|
2 | TY_BAPILOCAGR_TAB | Public | See coding | Table of activity groups (PFCG roles) | 20081201 | ty_bapilocagr_tab TYPE STANDARD TABLE OF bapilocagr
|
|
3 | TY_BAPIUSNAME_TAB | Public | See coding | Table type for BAPIUSNAME | 20060424 | ty_bapiusname_tab TYPE STANDARD TABLE OF bapiusname
|
|
4 | TY_PFCG_ROLE_NAME | Public | See coding | PFCG role name | 20060422 | BEGIN OF ty_pfcg_role_name,
pfcg_role TYPE agr_name,
flag TYPE char1,
END OF ty_pfcg_role_name
|
|
5 | TY_PFCG_ROLE_NAME_TAB | Public | See coding | Table of PFCG role names | 20060422 | ty_pfcg_role_name_tab TYPE STANDARD TABLE OF ty_pfcg_role_name
|
|
6 | TY_PROFILE_NAME_TAB | Public | See coding | Table of business role names | 20060418 | ty_profile_name_tab TYPE STANDARD TABLE OF crmt_ui_profile
|
|
7 | TY_PROFILE_TAB | Public | See coding | Table of profiles | 20060418 | ty_profile_tab TYPE STANDARD TABLE OF crmc_ui_profile
|
Method Signatures
Method ASSIGN_PFCG_ROLES_TO_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ACTGR_NEW | Call by reference | Type reference (TYPE) | TY_BAPIAGR_TAB | PFCG roles have to be assigned to user | 20060418 | ||
2 | ![]() |
IT_CUA_ACTGR_NEW | Call by reference | Type reference (TYPE) | TY_BAPILOCAGR_TAB | Table of activity groups (PFCG roles) | 20081201 | ||
3 | ![]() |
IV_USER_NAME | Call by reference | Type reference (TYPE) | BAPIBNAME-BAPIBNAME | User Name in User Master Record | 20060418 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Failed | 20060428 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_CRM_UI_ROLE_LOG | Role assignement log | 20060419 |
Method CONSTRUCTOR on class CL_CRM_UI_ROLE_ASSIGN has no exception.
Method DETERMINE_NEW_PFCG_ROLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_ACTGR_NEW | Call by reference | Type reference (TYPE) | TY_BAPIAGR_TAB | PFCG roles have to be assigned to user | 20060418 | ||
2 | ![]() |
ET_UIU_PFCG_ROLE | Call by reference | Type reference (TYPE) | TY_PFCG_ROLE_NAME_TAB | Table of UIU relevant PFCG roles with assignment flags | 20060422 | ||
3 | ![]() |
EV_UPDATE_REQUIRED | Call by reference | Type reference (TYPE) | CRMT_UI_BOOLEAN | Update of the PFCG role assignment to user required | 20060422 | ||
4 | ![]() |
IT_ACTGR | Call by reference | Type reference (TYPE) | TY_BAPIAGR_TAB | PFCG roles currently assignded to user | 20060418 | ||
5 | ![]() |
IT_ACTGR_FROM_BR | Call by reference | Type reference (TYPE) | TY_BAPIAGR_TAB | PFCG roles have to be assigned to user based on bus. roles | 20060418 |
Method DETERMINE_NEW_PFCG_ROLES on class CL_CRM_UI_ROLE_ASSIGN has no exception.
Method GET_BUSINESSROLES_FOR_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PROFILE_NAME | Call by reference | Type reference (TYPE) | TY_PROFILE_NAME_TAB | Table of Business role names | 20060418 | ||
2 | ![]() |
IV_USER_NAME | Call by reference | Type reference (TYPE) | BAPIBNAME-BAPIBNAME | User Name in User Master Record | 20060418 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Failed | 20060419 |
Method GET_CORRESPONDING_PFCG_ROLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_ACTGR_FROM_BR | Call by reference | Type reference (TYPE) | TY_BAPIAGR_TAB | PFCG roles have to be assigned to user based on bus. roles | 20060418 | ||
2 | ![]() |
IT_PROFILE_NAME | Call by reference | Type reference (TYPE) | TY_PROFILE_NAME_TAB | Table of Business role names | 20060418 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Failed | 20060419 |
Method GET_CUA_STATUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_CENTRAL_SYSTEM_CLNT | Call by reference | Type reference (TYPE) | SYMANDT | Client ID of Current User | 20081127 | ||
2 | ![]() |
EV_CENTRAL_SYSTEM_LOGSYS | Call by reference | Type reference (TYPE) | RFCSENDSYS | RFC sending system | 20081127 | ||
3 | ![]() |
EV_CENTRAL_SYSTEM_RFC_DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20081127 | ||
4 | ![]() |
EV_CENTRAL_SYSTEM_SYSID | Call by reference | Type reference (TYPE) | SYSYSID | Name of the SAP System | 20081127 | ||
5 | ![]() |
EV_SET_ROLES_GLOBALLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag: update roles in CUA central system | 20081202 |
Method GET_CUA_STATUS on class CL_CRM_UI_ROLE_ASSIGN has no exception.
Method GET_USER_PFCG_ROLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_ACTGR | Call by reference | Type reference (TYPE) | TY_BAPIAGR_TAB | PFCG roles currently assigned to user | 20060418 | ||
2 | ![]() |
ET_CUA_ACTGR | Call by reference | Type reference (TYPE) | TY_BAPILOCAGR_TAB | PFCG roles currently assigned to user | 20081201 | ||
3 | ![]() |
IV_USER_NAME | Call by reference | Type reference (TYPE) | BAPIBNAME-BAPIBNAME | User Name in User Master Record | 20060418 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Failed | 20060419 |
Method IS_PFCG_ROLE_UIU_RELEVANT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ACTGR_NAME | Call by reference | Type reference (TYPE) | AGR_NAME | Activity group name | 20060418 | ||
2 | ![]() |
RV_RESULT | Value transfer | Type reference (TYPE) | CRMT_UI_BOOLEAN | Logical Variable | 20060418 |
Method IS_PFCG_ROLE_UIU_RELEVANT on class CL_CRM_UI_ROLE_ASSIGN has no exception.
Method PFCG_ROLE_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_UIU_PFCG_ROLE | Call by reference | Type reference (TYPE) | TY_PFCG_ROLE_NAME_TAB | Table of UIU relevant PFCG roles with assignment flags | 20060428 | ||
2 | ![]() |
IV_USER_NAME | Call by reference | Type reference (TYPE) | BAPIBNAME-BAPIBNAME | User Name | 20060428 |
Method PFCG_ROLE_LOG on class CL_CRM_UI_ROLE_ASSIGN has no exception.
Method PROCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_BAPIUSNAME | Call by reference | Type reference (TYPE) | TY_BAPIUSNAME_TAB | Selected users | 20060424 | ||
2 | ![]() |
IV_FRW_PFCG_ROLE | Call by reference | Type reference (TYPE) | AGR_NAME | Framework PFCG Role | 20060915 | ||
3 | ![]() |
IV_MODE | Call by reference | Type reference (TYPE) | CHAR1 | Mode | 20060424 |
Method PROCESS on class CL_CRM_UI_ROLE_ASSIGN has no exception.
Method PROCESS_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_USER_NAME | Call by reference | Type reference (TYPE) | BAPIBNAME-BAPIBNAME | User Name in User Master Record | 20060418 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Failed | 20060419 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 700 |