SAP ABAP Class CL_GRFN_ROLE_ASSIGNMENT_MODEL (Model class for role assignment (HR object))
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_API_MODEL Interface for handling of GRC API models 20080424
Properties
Class CL_GRFN_ROLE_ASSIGNMENT_MODEL  
Short Description Model class for role assignment (HR object)    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_ACCESS   Roles, authorization, menu, access 
Created 20080424   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 GRFNH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_MODEL Interface for handling of GRC API models 20080424
Friends
Class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_INFOTYPE Constant Private Type reference (TYPE) CHAR4 '1852' InfoType for role assignment 20080424
2 MS_DATES Instance attribute Private Type reference (TYPE) GRFN_S_TF_DATES Timeframe details 20080424
3 MT_CASE_REPLACE Instance attribute Private Type reference (TYPE) YT_CASE_REPLACE 20091014
4 MT_ROLES_BUFFER Instance attribute Private Type reference (TYPE) YT_ROLES_BUFFER 20080424
5 MV_LANGUAGE Instance attribute Private Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080424
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Private Constructor 20080424
2 GET_ROLE_ASSIGNMENTS Instance method Public Method Get role assignments for a certain object 20080424
3 RAISE_EXCEPTION Instance method Private Method 20080708
4 REPLACE_CASE Instance method Public Method perform replacement on cases 20091014
5 SET_ROLE_ASSIGNMENTS Instance method Public Method Set role assignments for a certain object 20080424
Events
Class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no event.
Types
Class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080424
2 Importing IV_TF_YEAR Call by reference Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20080424
3 Importing IV_TIMEFRAME Call by reference Type reference (TYPE) GRFN_TIMEFRAME Timeframe 20080424

Method CONSTRUCTOR on class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no exception.

Method GET_ROLE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BYPASS_BUFFER Call by reference Type reference (TYPE) GRFN_BOOLEAN ABAP_FALSE Indicator 20110906
2 Importing IV_OBJID Call by reference Type reference (TYPE) GRFN_OBJECTID 20080424
3 Importing IV_OBJTYPE Call by reference Type reference (TYPE) GRFN_OBJTYPE 20080424
4 Importing IV_USAGE_TYPE Call by reference Type reference (TYPE) GRFN_OBJTYPE_TYP Usage Type 20080722
5 Returning RT_ROLE_ASSIGNMENT Value transfer Type reference (TYPE) GRFN_T_ROLE_ASSIGNMENT Table of role assignments 20080424
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080424

Method RAISE_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NUMBER Call by reference Type reference (TYPE) SY-MSGNO 20080708
2 Importing IV_PAR1 Call by reference Type reference (TYPE) SY-MSGV1 20080708
3 Importing IV_PAR2 Call by reference Type reference (TYPE) SY-MSGV2 20080708
4 Importing IV_PAR3 Call by reference Type reference (TYPE) SY-MSGV3 20080708
5 Importing IV_PAR4 Call by reference Type reference (TYPE) SY-MSGV4 20080708
6 Importing IV_TYPE Call by reference Type reference (TYPE) BAPIRETURN-TYPE 20080708
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080708

Method REPLACE_CASE 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 20140623
2 Importing IV_CASE Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20091014
3 Importing IV_ENTITY Value transfer Type reference (TYPE) GRFN_API_ENTITY_ID Entity ID 20091014
4 Importing IV_NEW_USER Value transfer Type reference (TYPE) SYUNAME User Name 20091014
5 Importing IV_OLD_USER Value transfer Type reference (TYPE) SYUNAME User Name 20091014
6 Importing IV_RESPONSIBLE Value transfer Type reference (TYPE) ABAP_BOOL 20091014

Method REPLACE_CASE on class CL_GRFN_ROLE_ASSIGNMENT_MODEL has no exception.

Method SET_ROLE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROLE_ASSIGNMENTS Call by reference Type reference (TYPE) GRFN_T_ROLE_ASSIGNMENT Table of role assignments 20080424
2 Importing IV_ALL_REG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110530
3 Importing IV_OBJID Call by reference Type reference (TYPE) GRFN_OBJECTID 20080424
4 Importing IV_OBJTYPE Call by reference Type reference (TYPE) GRFN_OBJTYPE 20080424
5 Importing IV_REGULATION Call by reference Type reference (TYPE) GRFN_REGULATION Regulation 20090107
6 Importing IV_USAGE_TYPE Call by reference Type reference (TYPE) GRFN_OBJTYPE_TYP Usage Type 20080722
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080424
History
Last changed by/on SAP  20141106 
SAP Release Created in 300