SAP ABAP Class CL_POC_AUTHORIZATION (Authorization Class)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT-POC (Application Component) Process Orchestration for Built-In Processes
⤷
BS_POC_MAIN (Package) Process Orchestration - Runtime
⤷
⤷
Properties
| Class | CL_POC_AUTHORIZATION | |
| Short Description | Authorization Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BS_POC_MAIN | Process Orchestration - Runtime |
| Created | 20100917 | SAP |
| Last change | 20130531 | 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_POC_AUTHORIZATION has no interface implemented.
Friends
Class CL_POC_AUTHORIZATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | POC_T_AUTHORIZATION_DETAILS | Table of authorization details for processes | 20101201 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | POC_AUTH_ACTIVITY | ABAP_FALSE | Activity to which these authorization details belong | 20101201 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Method for Authorization Check | 20100930 | |
| 2 | Static method | Public | Method | Method for Authorization Check | 20120330 | |
| 3 | Static method | Public | Method | Retrive authorization details for a set of processes | 20101011 | |
| 4 | Static method | Public | Method | Retrive authorization details for all processes | 20101201 | |
| 5 | Static method | Public | Method | Get Process Definitions Authorization DETAILS | 20120423 |
Events
Class CL_POC_AUTHORIZATION has no event.
Types
Class CL_POC_AUTHORIZATION has no local type.
Method Signatures
Method AUTHORITY_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_AUTH_STATUS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Boolean | 20101001 | |||
| 2 | IV_POC_USER_ACTIVITY | Call by reference | Type reference (TYPE) | POC_AUTH_ACTIVITY | Activity | 20100930 | |||
| 3 | IV_POC_USER_INFO | Call by reference | Type reference (TYPE) | POC_AUTH_PROCESS_USER_INFO | POC User Information | 20100930 | |||
| 4 | IV_POC_USER_PROCESS_SCOPE | Call by reference | Type reference (TYPE) | POC_AUTH_USER_PROCESS_SCOPE | POC User Compound Realized Process Scope | 20100930 | |||
| 5 | IV_PROC_DEF_ID | Call by reference | Type reference (TYPE) | POC_PROCESS_TYPE_ID | POC Process Type Id | 20101001 | |||
| 6 | IV_REAL_PROC_CHAIN_SCOPE | Call by reference | Type reference (TYPE) | POC_AUTH_PROCESS_E2E_SCOPE | POC Realized Process Chain Scope | 20100930 | |||
| 7 | IV_UNAME | Call by reference | Type reference (TYPE) | XUSER | SY-UNAME | User name | 20100930 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameters not supported | 20101012 |
Method DEFINITION_AUTHORITY_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_AUTH_STATUS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Boolean | 20120330 | |||
| 2 | IV_PROC_DEF_ACTIV_SCOPE | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20120330 | |||
| 3 | IV_PROC_DEF_E2E_SCOPE | Call by reference | Type reference (TYPE) | POC_AUTH_PROCESS_E2E_SCOPE | POC Realized Process Chain Scope | 20120330 | |||
| 4 | IV_PROC_DEF_ID | Call by reference | Type reference (TYPE) | POC_PROCESS_TYPE_ID | POC Process Type Id | 20120423 | |||
| 5 | IV_UNAME | Call by reference | Type reference (TYPE) | XUSER | SY-UNAME | User name | 20120330 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization Object not maintained | 20120426 | ||
| 2 | Parameters not supported | 20120330 | ||
| 3 | User Invalid | 20120426 |
Method GET_AUTHORIZATION_DETAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AUTHORIZATION_DETAILS | Call by reference | Type reference (TYPE) | POC_T_AUTHORIZATION_DETAILS | Table of authorization details for processes | 20101011 | |||
| 2 | EV_AUTHORIZED | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20101011 | |||
| 3 | IT_PROCESS_TYPE_ID | Call by reference | Type reference (TYPE) | POC_T_PROCESS | Process | 20101011 | |||
| 4 | IV_POC_USER_ACTIVITY | Call by reference | Type reference (TYPE) | POC_AUTH_ACTIVITY | POC Authorization Activity | 20101011 | |||
| 5 | IV_UNAME | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20101011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid input supplied | 20110228 | ||
| 2 | No authorization for the requested activity | 20110228 |
Method GET_AUTHPRIZATION_DETAILS_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AUTHORIZATION_DETAILS | Call by reference | Type reference (TYPE) | POC_T_AUTHORIZATION_DETAILS | Table of authorization details for processes | 20101201 | |||
| 2 | EV_AUTHORIZED | Call by reference | Type reference (TYPE) | BOOLEAN | 20101201 | ||||
| 3 | IV_POC_USER_ACTIVITY | Call by reference | Type reference (TYPE) | POC_AUTH_ACTIVITY | Activity | 20101201 | |||
| 4 | IV_UNAME | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User name | 20101201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid input supplied | 20110228 |
Method GET_DEFN_AUTHORIZATION_DETAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AUTHORIZATION_DETAILS | Call by reference | Type reference (TYPE) | POC_T_AUTH_DEFN_DETAILS | Table of authorization details for processes | 20120423 | |||
| 2 | EV_AUTHORIZED | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20120423 | |||
| 3 | IT_PROCESS_TYPE_ID | Call by reference | Type reference (TYPE) | POC_T_PROCESS | Process | 20120423 | |||
| 4 | IV_POC_DEFN_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20120423 | |||
| 5 | IV_UNAME | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20120423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization not maintained | 20120426 | ||
| 2 | Invalid Input | 20120423 | ||
| 3 | Missing Authorization | 20120423 | ||
| 4 | Missing Edit Authorizaton | 20120503 | ||
| 5 | User Invalid | 20120426 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |