SAP ABAP Class CL_GRFN_UTIL_AUTH (Authorization Wrapper for Common Master Data)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_UTILITIES (Package) Various helping infrastructure for GRC ABAP
⤷
⤷
Properties
| Class | CL_GRFN_UTIL_AUTH | |
| Short Description | Authorization Wrapper for Common Master Data | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_UTILITIES | Various helping infrastructure for GRC ABAP |
| Created | 20100610 | 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) |
Interfaces
Class CL_GRFN_UTIL_AUTH has no interface implemented.
Friends
Class CL_GRFN_UTIL_AUTH has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | AGRFIELD | 'ACTVT' | Field name of an authorization | 20100610 | ||
| 2 | Constant | Public | See coding | 20100610 | |||||
| 3 | Constant | Public | Type reference (TYPE) | AGOBJECT | 'GRAC_MITC' | Auth. Object in User Master Maintenance | 20100610 | ||
| 4 | Constant | Public | Type reference (TYPE) | AGOBJECT | 'GRAC_OUNIT' | Auth. Object in User Master Maintenance | 20100610 | ||
| 5 | Constant | Public | Type reference (TYPE) | AGRFIELD | 'GRAC_OUTYP' | Field name of an authorization | 20100610 | ||
| 6 | Constant | Public | See coding | 20100617 | |||||
| 7 | Constant | Public | Type reference (TYPE) | GRFN_AUTH_CUST_FIELD | 'SKIP_DL_2ND_LEVEL' | Skip second-level check for delegate | 20140115 | ||
| 8 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20131101 | ||||
| 9 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20131101 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Authorize field group | 20100707 | |
| 2 | Static method | Public | Method | Authorize entity fields | 20100707 | |
| 3 | Static method | Public | Method | Authorize in all components | 20100610 | |
| 4 | Static method | Public | Method | Authorize in any component | 20100614 | |
| 5 | Static method | Public | Method | Authorize edit in any component | 20100707 | |
| 6 | Static method | Private | Method | Authorize PFCG | 20100610 | |
| 7 | Static method | Public | Method | Get app components according to user authorization by object | 20100610 | |
| 8 | Static method | Public | Method | Get app components according to user authorization by entity | 20100628 | |
| 9 | Static method | Public | Method | Map operation | 20100614 | |
| 10 | Static method | Public | Method | Map GRC API fields to AC PFCG fields | 20100614 | |
| 11 | Static method | Public | Method | Is authorization via OU active? | 20131101 |
Events
Class CL_GRFN_UTIL_AUTH has no event.
Types
Class CL_GRFN_UTIL_AUTH has no local type.
Method Signatures
Method AUTHORIZE_FLDGRP 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 | 20100707 | |||
| 2 | IT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100707 | |||
| 3 | IV_FLDGRP | Call by reference | Type reference (TYPE) | GRFN_FLDGRP | Field metadata table | 20100707 | |||
| 4 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | |||
| 5 | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | GRFN0_C_OPERATION-UPDATE | The ID of the operation | 20100707 | ||
| 6 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | |||
| 7 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100707 |
Method AUTHORIZE_FLDGRP on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTHORIZE_FLDS 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 | 20100707 | |||
| 2 | IT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100707 | |||
| 3 | IT_FLD | Call by reference | Type reference (TYPE) | GRFN_T_FLD | Field metadata table | 20100707 | |||
| 4 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | |||
| 5 | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | GRFN0_C_OPERATION-UPDATE | The ID of the operation | 20100707 | ||
| 6 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | |||
| 7 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100707 |
Method AUTHORIZE_FLDS on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_ALL 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 | 20100610 | |||
| 2 | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100610 | |||
| 3 | IT_RELEVANT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100611 | |||
| 4 | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100610 | |||
| 5 | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100610 | |||
| 6 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100617 | |||
| 7 | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100610 | |||
| 8 | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100610 | |||
| 9 | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100610 | |||
| 10 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100610 |
Method AUTH_ALL on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_ANY 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 | 20100614 | |||
| 2 | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100614 | |||
| 3 | IT_RELEVANT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100614 | |||
| 4 | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100614 | |||
| 5 | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100614 | |||
| 6 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100617 | |||
| 7 | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100614 | |||
| 8 | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100614 | |||
| 9 | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100614 | |||
| 10 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100614 |
Method AUTH_ANY on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_EDIT 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 | 20100707 | |||
| 2 | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100707 | |||
| 3 | IT_RELEVANT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100707 | |||
| 4 | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100707 | |||
| 5 | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100707 | |||
| 6 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100707 | |||
| 7 | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | |||
| 8 | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | IFR Proxy Operation Name | 20100707 | |||
| 9 | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100707 | |||
| 10 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100707 |
Method AUTH_EDIT on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_PFCG 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 | 20100610 | |||
| 2 | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100610 | |||
| 3 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100610 |
Method AUTH_PFCG on class CL_GRFN_UTIL_AUTH has no exception.
Method GET_APP_COMPS 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 | 20100610 | |||
| 2 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100610 | |||
| 3 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100610 | |||
| 4 | RT_APP_COMPS | Value transfer | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100610 |
Method GET_APP_COMPS on class CL_GRFN_UTIL_AUTH has no exception.
Method GET_APP_COMPS_BY_ENTITY 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 | 20100628 | |||
| 2 | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100628 | |||
| 3 | RT_APP_COMPS | Value transfer | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100628 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100707 |
Method MAP_OPERATION_TO_ACTVT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100614 | |||
| 2 | RV_ACTVT | Value transfer | Type reference (TYPE) | AGVAL | Authorization value | 20100614 |
Method MAP_OPERATION_TO_ACTVT on class CL_GRFN_UTIL_AUTH has no exception.
Method MAP_TO_AUTH_PFCG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100614 | |||
| 2 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100708 | |||
| 3 | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100614 | |||
| 4 | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100614 | |||
| 5 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100617 | |||
| 6 | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100614 | |||
| 7 | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100614 | |||
| 8 | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100614 |
Method MAP_TO_AUTH_PFCG on class CL_GRFN_UTIL_AUTH has no exception.
Method RISK_AUTH_VIA_OU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20131101 |
Method RISK_AUTH_VIA_OU on class CL_GRFN_UTIL_AUTH has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |