SAP ABAP Class CL_GRFN_UTIL_REPLACEMENT (Utility class for reaplcements)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_ACCESS (Package) Roles, authorization, menu, access
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_MENU_ITEM_AUTH Menu Item Authorization 20081017
Properties
Class CL_GRFN_UTIL_REPLACEMENT  
Short Description Utility class for reaplcements    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_ACCESS   Roles, authorization, menu, access 
Created 20080714   SAP 
Last change 20141106    
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 GRRM0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_MENU_ITEM_AUTH Menu Item Authorization 20081017
Friends
Class CL_GRFN_UTIL_REPLACEMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_STATUS_CREATED Constant Public Type reference (TYPE) GRFN_REPLACE_STATUS 'C' Status 'Created' 20080717
2 MC_ACTION_CORR Constant Public Type reference (TYPE) GRPC_CAPA_ACTION_TYPE 'C' CAPA action type 20091014
3 MC_ACTION_PRVT Constant Public Type reference (TYPE) GRPC_CAPA_ACTION_TYPE 'P' CAPA action type 20091014
4 MC_ROLE_AD_ISSUE_PROCESSOR Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_FN_ADISSUE_PROCESS' Role Name 20130604
5 MC_ROLE_CAPA_REMEDIATOR Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_$$$_CAPA_RMDA' Role Name 20091014
6 MC_ROLE_CA_REMEDIATOR Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_$$$_CA_RMDA' Role Name 20091014
7 MC_ROLE_ISSUE_PROCESSOR Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_$$$_ISSUE_PROC' Role Name 20091014
8 MC_ROLE_PA_REMEDIATOR Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_$$$_PA_RMDA' Role Name 20091014
9 MC_ROLE_RESPONSE_PROCESSOR Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_$$$_RESP_PROC' Role Name 20091014
10 MC_ROLE_RMPLAN_PROCESSOR Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_$$$_RMPLAN_PROC' Role Name 20091014
11 MC_ROLE_RMPLAN_RESPONSIBLE Constant Public Type reference (TYPE) AGR_NAME 'SAP_GRC_$$$_RMPLAN_RESP' Role Name 20091014
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_REPLACEMENT Static method Public Method Delete a certain replacement 20080722
2 FIND_ORGUNIT Static method Private Method 20091014
3 GET_REPLACEMENTS Static method Public Method Get available replacements for a certain timeframe 20080714
4 GET_ROLE_TEXT Static method Public Method Get text of the role 20100331
5 IS_CASE_ROLE Static method Public Method determines the virtual case roles 20091014
6 QUERY Static method Public Method Query replacement records with authorization 20090303
7 REPLACEMENT_CAPA Static method Private Method Get Active CAPA Plan by CA or PA Remediator 20091014
8 REPLACEMENT_CASES Static method Private Method Get Active Issue Plan by Processor or Owner 20091014
9 REPLACEMENT_ORGUNITS Static method Private Method 20091014
10 REPLACEMENT_ROLES Static method Private Method 20091014
11 REPLACE_CASE Static method Public Method Perform replacement of the case and CAPA 20091014
Events
Class CL_GRFN_UTIL_REPLACEMENT has no event.
Types
Class CL_GRFN_UTIL_REPLACEMENT has no local type.
Method Signatures

Method DELETE_REPLACEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080722
2 Importing IV_ROLE Call by reference Type reference (TYPE) AGR_NAME Role Name 20080722
3 Importing IV_USERNAME Call by reference Type reference (TYPE) UNAME User Name 20080722
4 Importing IV_VALID_FROM Call by reference Type reference (TYPE) GRFN_VALIDFROM Begin Date 20080722

Method DELETE_REPLACEMENT on class CL_GRFN_UTIL_REPLACEMENT has no exception.

Method FIND_ORGUNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091014
2 Importing IV_OBJECT Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091014
3 Returning RV_ORGUNIT Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091014

Method FIND_ORGUNIT on class CL_GRFN_UTIL_REPLACEMENT has no exception.

Method GET_REPLACEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20080714
2 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation Type 20081209
3 Returning RT_REPLACEMENTS Value transfer Type reference (TYPE) GRFN_T_REPLACEMENT Role Replacements 20080714

Method GET_REPLACEMENTS on class CL_GRFN_UTIL_REPLACEMENT has no exception.

Method GET_ROLE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ROLE Value transfer Type reference (TYPE) AGR_NAME Role Name 20100331
2 Returning RV_TEXT Value transfer Type reference (TYPE) AGR_TITLE Role name 20100331

Method GET_ROLE_TEXT on class CL_GRFN_UTIL_REPLACEMENT has no exception.

Method IS_CASE_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ROLE Value transfer Type reference (TYPE) AGR_NAME Role Name 20091014
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20091014

Method IS_CASE_ROLE on class CL_GRFN_UTIL_REPLACEMENT has no exception.

Method QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20090303
2 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20090303
3 Importing IV_USERNAME Value transfer Type reference (TYPE) SY-UNAME User Name 20090303
4 Returning RT_ROLE_LIST Value transfer Type reference (TYPE) GRFN_T_ROLE_LIST New table of entity level roles 20090303
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090303

Method REPLACEMENT_CAPA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091014
2 Importing IV_USERNAME Value transfer Type reference (TYPE) SYUNAME SAP System, User Logon Name 20091014
3 Returning RT_CASE_LIST Value transfer Type reference (TYPE) GRFN_T_ROLE_LIST New table of entity level roles 20091014

Method REPLACEMENT_CAPA on class CL_GRFN_UTIL_REPLACEMENT has no exception.

Method REPLACEMENT_CASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091014
2 Importing IV_USERNAME Value transfer Type reference (TYPE) SYUNAME SAP System, User Logon Name 20091014
3 Returning RT_CASE_LIST Value transfer Type reference (TYPE) GRFN_T_ROLE_LIST New table of entity level roles 20091014

Method REPLACEMENT_CASES on class CL_GRFN_UTIL_REPLACEMENT has no exception.

Method REPLACEMENT_ORGUNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091014
2 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091014
3 Returning RT_ORGUNIT Value transfer Type reference (TYPE) YT_ORGUNIT_LIST 20091014
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091014

Method REPLACEMENT_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091014
2 Importing IV_USERNAME Value transfer Type reference (TYPE) SY-UNAME User Name 20091014
3 Returning RT_ROLE_LIST Value transfer Type reference (TYPE) GRFN_T_ROLE_LIST New table of entity level roles 20091014
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091014

Method REPLACE_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091014
2 Importing IS_REPLACE Value transfer Type reference (TYPE) GRFN_S_API_REPLACE_ROLE_ASS Replace a certain role assignment 20091014
3 Importing IV_CASE Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091014
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091014
History
Last changed by/on SAP  20141106 
SAP Release Created in 300