SAP ABAP Class CL_GRFN_ROLE_ASSIGNMENT_MODEL (Model class for role assignment (HR object))
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_ACCESS (Package) Roles, authorization, menu, access
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20080424 |
Properties
| Class | CL_GRFN_ROLE_ASSIGNMENT_MODEL | |
| Short Description | Model class for role assignment (HR object) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_ACCESS | Roles, authorization, menu, access |
| Created | 20080424 | SAP |
| Last change | 20141106 | |
| 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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20080424 |
Friends
Class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | CHAR4 | '1852' | InfoType for role assignment | 20080424 | ||
| 2 | Instance attribute | Private | Type reference (TYPE) | GRFN_S_TF_DATES | Timeframe details | 20080424 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | YT_CASE_REPLACE | 20091014 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | YT_ROLES_BUFFER | 20080424 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080424 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Constructor | 20080424 | ||
| 2 | Instance method | Public | Method | Get role assignments for a certain object | 20080424 | |
| 3 | Instance method | Private | Method | 20080708 | ||
| 4 | Instance method | Public | Method | perform replacement on cases | 20091014 | |
| 5 | Instance method | Public | Method | Set role assignments for a certain object | 20080424 |
Events
Class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no event.
Types
Class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080424 | |||
| 2 | IV_TF_YEAR | Call by reference | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20080424 | |||
| 3 | IV_TIMEFRAME | Call by reference | Type reference (TYPE) | GRFN_TIMEFRAME | Timeframe | 20080424 |
Method CONSTRUCTOR on class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no exception.
Method GET_ROLE_ASSIGNMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BYPASS_BUFFER | Call by reference | Type reference (TYPE) | GRFN_BOOLEAN | ABAP_FALSE | Indicator | 20110906 | ||
| 2 | IV_OBJID | Call by reference | Type reference (TYPE) | GRFN_OBJECTID | 20080424 | ||||
| 3 | IV_OBJTYPE | Call by reference | Type reference (TYPE) | GRFN_OBJTYPE | 20080424 | ||||
| 4 | IV_USAGE_TYPE | Call by reference | Type reference (TYPE) | GRFN_OBJTYPE_TYP | Usage Type | 20080722 | |||
| 5 | RT_ROLE_ASSIGNMENT | Value transfer | Type reference (TYPE) | GRFN_T_ROLE_ASSIGNMENT | Table of role assignments | 20080424 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080424 |
Method RAISE_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NUMBER | Call by reference | Type reference (TYPE) | SY-MSGNO | 20080708 | ||||
| 2 | IV_PAR1 | Call by reference | Type reference (TYPE) | SY-MSGV1 | 20080708 | ||||
| 3 | IV_PAR2 | Call by reference | Type reference (TYPE) | SY-MSGV2 | 20080708 | ||||
| 4 | IV_PAR3 | Call by reference | Type reference (TYPE) | SY-MSGV3 | 20080708 | ||||
| 5 | IV_PAR4 | Call by reference | Type reference (TYPE) | SY-MSGV4 | 20080708 | ||||
| 6 | IV_TYPE | Call by reference | Type reference (TYPE) | BAPIRETURN-TYPE | 20080708 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080708 |
Method REPLACE_CASE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20140623 | |||
| 2 | IV_CASE | Value transfer | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20091014 | |||
| 3 | IV_ENTITY | Value transfer | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20091014 | |||
| 4 | IV_NEW_USER | Value transfer | Type reference (TYPE) | SYUNAME | User Name | 20091014 | |||
| 5 | IV_OLD_USER | Value transfer | Type reference (TYPE) | SYUNAME | User Name | 20091014 | |||
| 6 | IV_RESPONSIBLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20091014 |
Method REPLACE_CASE on class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no exception.
Method SET_ROLE_ASSIGNMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ROLE_ASSIGNMENTS | Call by reference | Type reference (TYPE) | GRFN_T_ROLE_ASSIGNMENT | Table of role assignments | 20080424 | |||
| 2 | IV_ALL_REG | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110530 | |||
| 3 | IV_OBJID | Call by reference | Type reference (TYPE) | GRFN_OBJECTID | 20080424 | ||||
| 4 | IV_OBJTYPE | Call by reference | Type reference (TYPE) | GRFN_OBJTYPE | 20080424 | ||||
| 5 | IV_REGULATION | Call by reference | Type reference (TYPE) | GRFN_REGULATION | Regulation | 20090107 | |||
| 6 | IV_USAGE_TYPE | Call by reference | Type reference (TYPE) | GRFN_OBJTYPE_TYP | Usage Type | 20080722 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080424 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 300 |