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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_EPM_BO 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 GC_INT_ROLE_UX Constant Public Type reference (TYPE) AGR_NAME 'SAP_INTNW_EPM_DEMO' Role Name 20120202
2 GC_ROLE_BASE Constant Public Type reference (TYPE) AGR_NAME 'SAP_INTNW_EPM_BASE' Role Name 20120202
3 GC_ROLE_ECATT Constant Public Type reference (TYPE) AGR_NAME 'SAP_INTNW_ECATT_TEST_DEV' Role Name 20120202
4 GC_ROLE_ECATT_FUN Constant Public Type reference (TYPE) AGR_NAME 'SAP_INTNW_ECATT_TEST_FUN' Role Name 20130304
5 GC_ROLE_ESH_SEARCH Constant Private Type reference (TYPE) AGR_NAME 'SAP_INTNW_EPM_ESH' Role Name 20120224
6 GC_ROLE_FPM_ECATT Constant Private Type reference (TYPE) AGR_NAME 'SAP_INTNW_FPM_ECATT' Role Name 20120202
7 GC_ROLE_WEBDYNPRO Constant Public Type reference (TYPE) AGR_NAME 'SAP_INTNW_EPM_WEBDYNPRO' Role Name 20120202
8 GC_ROLE_WEBSERVICE Constant Public Type reference (TYPE) AGR_NAME 'SAP_INTNW_EPM_WEBSERV_CONSUMER' Role Name 20120202
9 GC_STAKEHOLDER_PACKAGE_ES Constant Private Type reference (TYPE) DEVCLASS 'S_EPM_ES' 20110511
10 GC_STAKEHOLDER_PACKAGE_PI Constant Private Type reference (TYPE) DEVCLASS 'S_EPM_PI' 20110511
11 GC_STAKEHOLDER_PACKAGE_UX Constant Private Type reference (TYPE) DEVCLASS 'S_EPM_UX' 20110511
12 GC_STAKEHOLDER_PACKAGE_WD Constant Private Type reference (TYPE) DEVCLASS 'S_EPM_WD' 20110511
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_EXISTENCE_OF_PACKAGE Static method Private Method Checks if a package exists 20110513
2 CHECK_EXISTENCE_OF_ROLE Static method Private Method Checks if a role exists in system 20110513
3 CHECK_EXISTENCE_OF_USER Static method Private Method Checks whether a user exists in system 20110513
4 CHECK_USER_AUTHORISATIONS Static method Public Method Checks EPM profiles of user 20110511
5 GET_EPM_ROLES Static method Private Method Supplies the list of EPM relevant roles 20110511
6 GET_STAKEHOLDER_ROLES 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 Importing IV_PACKAGE Call by reference Type reference (TYPE) DEVCLASS 20110513
2 Returning 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 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME Activity groups 20110513
2 Returning 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 Returning EV_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20110513
2 Importing 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 Exporting ET_RESULT Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110511
2 Importing IT_EXPECTED_ROLES Call by reference Type reference (TYPE) TT_BAPIAGR 20110512
3 Importing IV_IGNORE_SUPERFL_ROLES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110706
4 Importing 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 Returning 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 Returning 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