Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_GRAC_API_ROLE | Role API | 20090910 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRAC_TECHNICAL_ROLE | Interface for technical role | 20100109 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_GRAC_API_DERIVED_ROLE | Derived Role API | 20090916 |
Properties
| Class | CL_GRAC_API_SINGLE_ROLE | |
| Short Description | Single Role API | |
| Super Class | CL_GRAC_API_ROLE | Role API |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRAC_ENTITY_API | Access Control GRC API Support |
| Created | 20090910 | 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_GRAC_TECHNICAL_ROLE | Interface for technical role | 20100109 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_GRFN_API_SESSION | 20090910 | Session Management for GRC APIs |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20100920 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check if the role has permission with it | 20100828 | |
| 2 | Instance method | Public | Method | Pull role auth from master role | 20100703 | |
| 3 | Instance method | Public | Method | Delete derived roles | 20100809 | |
| 4 | Instance method | Public | Method | Create Derived Role | 20090925 | |
| 5 | Instance method | Private | Method | Copy authorization data from master role to derived role | 20100630 | |
| 6 | Static method | Private | Method | Get instance | 20090910 | |
| 7 | Instance method | Public | Method | retrieve role authorization data for object by class view | 20091015 | |
| 8 | Instance method | Public | Method | Retrieve org values from the single role's authorization | 20091009 | |
| 9 | Instance method | Public | Method | Retrieve Role Action | 20091215 | |
| 10 | Instance method | Public | Method | retrieve role authorization data | 20091027 | |
| 11 | Instance method | Public | Method | Retrieve Role Function | 20091210 | |
| 12 | Instance method | Public | Method | Retrieve role organization fields | 20091013 | |
| 13 | Instance method | Public | Method | Retrieve Role Prerequisite | 20091215 | |
| 14 | Instance method | Public | Method | Retrieve Role Request | 20100219 | |
| 15 | Instance method | Public | Method | Retrieve Role Validity | 20091211 | |
| 16 | Instance method | Public | Method | Set the role to authorization step | 20100831 | |
| 17 | Instance method | Public | Method | Update role permission | 20091014 | |
| 18 | Instance method | Public | Method | Update Role Action | 20091215 | |
| 19 | Instance method | Public | Method | Update role function | 20091210 | |
| 20 | Instance method | Public | Method | Update Action and Permission for technical roles | 20100223 | |
| 21 | Instance method | Public | Method | Update role organization fields | 20091013 | |
| 22 | Instance method | Public | Method | Update Role Prerequisite | 20091215 | |
| 23 | Instance method | Public | Method | Update Role Request | 20100219 | |
| 24 | Instance method | Public | Method | Update role validity | 20091211 |
Events
Class CL_GRAC_API_SINGLE_ROLE has no event.
Types
Class CL_GRAC_API_SINGLE_ROLE has no local type.
Method Signatures
Method CHECK_PERMISSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RETURN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100828 |
Method CHECK_PERMISSIONS on class CL_GRAC_API_SINGLE_ROLE has no exception.
Method COPY_AUTH_PFCG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MASTER_ROLE_NAME | Call by reference | Type reference (TYPE) | GRAC_ROLE_NAME | Object ID | 20100703 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100703 |
Method DELETE_DERIVED_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DERIVED_ROLEID | Call by reference | Type reference (TYPE) | TABLE | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100809 |
Method DERIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DERIVED_ROLE_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20111114 | |||
| 2 | IS_DERIVED_ROLE | Call by reference | Type reference (TYPE) | GRAC_S_DERIVED_ROLE | Table type for derived roles | 20090930 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20090930 |
Method DERIVE_ROLE_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DERIVED_ROLE | Call by reference | Type reference (TYPE) | GRAC_S_DERIVED_ROLE | Structure to store derived role information | 20100630 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100701 |
Method GET 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 | 20090910 | |||
| 2 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20090910 | |||
| 3 | RO_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_GRAC_API_SINGLE_ROLE | Entity API class | 20090910 |
Method GET on class CL_GRAC_API_SINGLE_ROLE has no exception.
Method RETRIEVE_OBJECT_BY_CLASS_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_UI_AUTH_OBC | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Authorization - Object by Class | 20100324 | |||
| 2 | ET_UI_AUTH_OBC_A | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Authorization - Object by Action | 20100324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091029 |
Method RETRIEVE_ORGFIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELDS | Call by reference | Type reference (TYPE) | GRAC_T_FIELD | Table of org vals | 20091009 | |||
| 2 | ET_ORGVALS | Call by reference | Type reference (TYPE) | GRAC_T_ORGVAL | Table of org vals | 20100611 | |||
| 3 | IV_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | Role ID | 20091009 |
Method RETRIEVE_ORGFIELDS on class CL_GRAC_API_SINGLE_ROLE has no exception.
Method RETRIEVE_ROLE_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLE_ACTION | Call by reference | Type reference (TYPE) | GRAC_T_ROLEACT | Table type for Actions Detail | 20091215 | |||
| 2 | IV_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20091215 |
Method RETRIEVE_ROLE_ACTION on class CL_GRAC_API_SINGLE_ROLE has no exception.
Method RETRIEVE_ROLE_AUTHORIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLE_FLD_VAL | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_FLD_VAL | contains pfcg role field values | 20091027 | |||
| 2 | ET_ROLE_PERM | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM | table of pfcg role objects | 20091027 | |||
| 3 | ET_ROLE_PERM_AUTH | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM_AUTH | contains pfcg role permission's authorization | 20091027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091027 |
Method RETRIEVE_ROLE_FUNCTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLE_FUNCTION | Call by reference | Type reference (TYPE) | GRAC_T_API_ROLE_FUNCTION | Table of role function relationship | 20091210 | |||
| 2 | IV_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20091210 |
Method RETRIEVE_ROLE_FUNCTION on class CL_GRAC_API_SINGLE_ROLE has no exception.
Method RETRIEVE_ROLE_ORGFIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_LEAD_ORGLVLFLD | Call by reference | Type reference (TYPE) | GRAC_S_ORGFLD_VALUE | Organization Value Structure | 20091013 | |||
| 2 | ET_ORGLVLFLD | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20091013 | |||
| 3 | ET_ORG_VAL_MAPS | Call by reference | Type reference (TYPE) | GRAC_T_ORGVALMAP | Table type for org value mappings | 20091013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091013 |
Method RETRIEVE_ROLE_PREREQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLEID | Value transfer | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20091215 | |||
| 2 | RT_ROLE_PREREQ | Value transfer | Type reference (TYPE) | GRAC_T_API_ROLE_PREREQ | Table of role prerequisite | 20091215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091215 |
Method RETRIEVE_ROLE_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLEID | Value transfer | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20100219 | |||
| 2 | RT_ROLE_REQUEST | Value transfer | Type reference (TYPE) | GRAC_T_API_ROLE_REQUEST | Role Request | 20100219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100219 |
Method RETRIEVE_ROLE_VALIDITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLE_VALIDITY | Call by reference | Type reference (TYPE) | GRAC_T_API_ROLE_VALIDITY | Table of role validity | 20091211 | |||
| 2 | IV_ROLEID | Call by reference | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20091211 | |||
| 3 | IV_ROLE_TYPE | Call by reference | Type reference (TYPE) | GRAC_ROLE_TYPE | Role Type | 20100804 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091211 |
Method SET_ROLE_AUTH_STEP Signature
Method SET_ROLE_AUTH_STEP on class CL_GRAC_API_SINGLE_ROLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100831 |
Method UPDATE_PERMISSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ACTION | Call by reference | Type reference (TYPE) | GRAC_T_ACTION | Table type for Actions | 20091014 | |||
| 2 | IT_PERMISSION | Call by reference | Type reference (TYPE) | GRAC_T_PERM_FLD_VALUE | Table type for Object | 20091014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091029 |
Method UPDATE_ROLE_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ROLE_ACTION | Call by reference | Type reference (TYPE) | GRAC_T_ROLEACT | Table type for Actions | 20091215 | |||
| 2 | IT_ROLE_PERM | Call by reference | Type reference (TYPE) | GRAC_T_PERM_FLD_VALUE | Structure for permission field value | 20100121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091215 |
Method UPDATE_ROLE_FUNCTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ROLE_FUNCTION | Call by reference | Type reference (TYPE) | GRAC_T_API_ROLE_FUNCTION | Role Function relatioship | 20091210 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091210 |
Method UPDATE_ROLE_IMPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_LEADING_ORG | Call by reference | Type reference (TYPE) | GRAC_S_ORGFLD_VALUE | Organization Value Structure | 20100325 | |||
| 2 | IT_FLD_VAL | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_FLD_VAL | Table of permission field value | 20100715 | |||
| 3 | IT_OBJCLASS | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM | table of pfcg role objects | 20100904 | |||
| 4 | IT_PERM_AUTH | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM_AUTH | store pfcg role permission authorization | 20100223 | |||
| 5 | IT_ROLE_ACTION | Call by reference | Type reference (TYPE) | GRAC_T_ROLEACT | Table type for Role Actions | 20100223 | |||
| 6 | IT_ROLE_ORG | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20100224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100223 |
Method UPDATE_ROLE_ORGFIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ORGLVLFLD | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20091013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091013 |
Method UPDATE_ROLE_PREREQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ROLE_PREREQ | Call by reference | Type reference (TYPE) | GRAC_T_API_ROLE_PREREQ | Role Prequisite | 20091215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091215 |
Method UPDATE_ROLE_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ROLE_REQUEST | Call by reference | Type reference (TYPE) | GRAC_T_API_ROLE_REQUEST | Role Request | 20100219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100219 |
Method UPDATE_ROLE_VALIDITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ROLE_VALIDITY | Call by reference | Type reference (TYPE) | GRAC_T_API_ROLE_VALIDITY | Role Validity | 20091211 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091211 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |