SAP ABAP Class CL_EPM_TEST_AUTHORISATIONS (EPM: Check for Authorisations - only used for eCATT tests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-NWD (Application Component) NetWeaver Demonstration
⤷
S_EPM_TESTING_UTILITIES (Package) EPM BO and Scenario Testing
⤷
⤷
Properties
| Class | CL_EPM_TEST_AUTHORISATIONS | |
| Short Description | EPM: Check for Authorisations - only used for eCATT tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_EPM_TESTING_UTILITIES | EPM BO and Scenario Testing |
| Created | 20110511 | SAP |
| Last change | 20141121 | |
| 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 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_EPM_TEST_AUTHORISATIONS has no interface implemented.
Friends
Class CL_EPM_TEST_AUTHORISATIONS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_EPM_DEMO' | Role Name | 20120202 | ||
| 2 | Constant | Public | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_EPM_BASE' | Role Name | 20120202 | ||
| 3 | Constant | Public | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_ECATT_TEST_DEV' | Role Name | 20120202 | ||
| 4 | Constant | Public | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_ECATT_TEST_FUN' | Role Name | 20130304 | ||
| 5 | Constant | Private | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_EPM_ESH' | Role Name | 20120224 | ||
| 6 | Constant | Private | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_FPM_ECATT' | Role Name | 20120202 | ||
| 7 | Constant | Public | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_EPM_WEBDYNPRO' | Role Name | 20120202 | ||
| 8 | Constant | Public | Type reference (TYPE) | AGR_NAME | 'SAP_INTNW_EPM_WEBSERV_CONSUMER' | Role Name | 20120202 | ||
| 9 | Constant | Private | Type reference (TYPE) | DEVCLASS | 'S_EPM_ES' | 20110511 | |||
| 10 | Constant | Private | Type reference (TYPE) | DEVCLASS | 'S_EPM_PI' | 20110511 | |||
| 11 | Constant | Private | Type reference (TYPE) | DEVCLASS | 'S_EPM_UX' | 20110511 | |||
| 12 | Constant | Private | Type reference (TYPE) | DEVCLASS | 'S_EPM_WD' | 20110511 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Checks if a package exists | 20110513 | |
| 2 | Static method | Private | Method | Checks if a role exists in system | 20110513 | |
| 3 | Static method | Private | Method | Checks whether a user exists in system | 20110513 | |
| 4 | Static method | Public | Method | Checks EPM profiles of user | 20110511 | |
| 5 | Static method | Private | Method | Supplies the list of EPM relevant roles | 20110511 | |
| 6 | Static method | Private | Method | get the stakeholer roles dependend on existence of packages | 20110511 |
Events
Class CL_EPM_TEST_AUTHORISATIONS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_ABAP_DEVCLASSES | Public | See coding | 20110511 | tt_abap_devclasses TYPE STANDARD TABLE OF devclass WITH DEFAULT KEY
|
||
| 2 | TT_BAPIAGR | Public | See coding | 20110921 | tt_bapiagr type TABLE OF BAPIAGR WITH DEFAULT KEY
|
||
| 3 | TT_BAPIPROF | Public | See coding | 20110921 | tt_BAPIPROF type TABLE OF BAPIPROF WITH DEFAULT KEY
|
||
| 4 | TT_ROLES | Public | See coding | 20110511 | tt_roles TYPE TABLE OF agr_name
|
||
| 5 | TT_ROLES_TO_CHECK | Public | See coding | 20110512 | tt_roles_to_check TYPE TABLE OF ty_role_to_check with key role
|
||
| 6 | TY_ROLE_TO_CHECK | Public | See coding | 20110512 | BEGIN OF ty_role_to_check.
TYPES: role TYPE agr_name.
TYPES: optional_role TYPE abap_bool.
TYPES END OF ty_role_to_check
|
Method Signatures
Method CHECK_EXISTENCE_OF_PACKAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | 20110513 | ||||
| 2 | RV_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110513 |
Method CHECK_EXISTENCE_OF_PACKAGE on class CL_EPM_TEST_AUTHORISATIONS has no exception.
Method CHECK_EXISTENCE_OF_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLE | Call by reference | Type reference (TYPE) | AGR_NAME | Activity groups | 20110513 | |||
| 2 | RV_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110513 |
Method CHECK_EXISTENCE_OF_ROLE on class CL_EPM_TEST_AUTHORISATIONS has no exception.
Method CHECK_EXISTENCE_OF_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110513 | ||||
| 2 | IV_UNAME | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | 20110513 |
Method CHECK_EXISTENCE_OF_USER on class CL_EPM_TEST_AUTHORISATIONS has no exception.
Method CHECK_USER_AUTHORISATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20110511 | |||
| 2 | IT_EXPECTED_ROLES | Call by reference | Type reference (TYPE) | TT_BAPIAGR | 20110512 | ||||
| 3 | IV_IGNORE_SUPERFL_ROLES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110706 | |||
| 4 | IV_UNAME | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20110511 |
Method CHECK_USER_AUTHORISATIONS on class CL_EPM_TEST_AUTHORISATIONS has no exception.
Method GET_EPM_ROLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLES | Value transfer | Type reference (TYPE) | TT_BAPIAGR | Tabellentyp: BAPIAGR | 20110511 |
Method GET_EPM_ROLES on class CL_EPM_TEST_AUTHORISATIONS has no exception.
Method GET_STAKEHOLDER_ROLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLES | Value transfer | Type reference (TYPE) | TT_BAPIAGR | 20110511 |
Method GET_STAKEHOLDER_ROLES on class CL_EPM_TEST_AUTHORISATIONS has no exception.
History
| Last changed by/on | SAP | 20141121 |
| SAP Release Created in | 731 |