SAP ABAP Class CL_GRRM_PRISK_MODEL (Risk proposal and escallation model)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_RISK (Package) Package GRC-RM Risk
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_CUSTOMFIELD_MODEL Model extension to handle the custom fields 20130226
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_MODEL Interface for handling of GRC API models 20120105
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_MODEL_STATUS Enable to retrieve MCF information for object from model 20130226
Properties
Class CL_GRRM_PRISK_MODEL  
Short Description Risk proposal and escallation model    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRRM_RISK   Package GRC-RM Risk 
Created 20120105   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)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_CUSTOMFIELD_MODEL Model extension to handle the custom fields 20130226
2 IF_GRFN_API_MODEL Interface for handling of GRC API models 20120105
3 IF_GRFN_MODEL_STATUS Enable to retrieve MCF information for object from model 20130226
Friends
Class CL_GRRM_PRISK_MODEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_CI_GRRM_PRISK Constant Public Type reference (TYPE) STRING 'CI_GRRM_PRISK' 20130226
2 MO_MODEL_CDF Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_UTIL_CDF_MODEL CDF Model utility class 20130226
3 MR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_GRRM_PRISK_MODEL Risk proposal and escallation model 20120106
4 MT_LOCKS Instance attribute Private Type reference (TYPE) YT_LOCKS 20120106
5 MT_PRISK_BUFFER Instance attribute Private Type reference (TYPE) YT_PRISK_BUFFER 20120106
6 MV_PRISK_BUFFERED Instance attribute Private Type reference (TYPE) ABAP_BOOL 20120106
7 M_LANGU Instance attribute Private Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20120106
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20120106
2 CREATE_PRISK Instance method Public Method 20120106
3 DELETE_PRISK Instance method Public Method 20120106
4 ENTITY_ENQUEUE Instance method Public Method 20120106
5 EXISTS Instance method Public Method TODO 20120111
6 EXISTS_FOR_ORGUNIT Instance method Public Method Check prisk exists for one orgunit 20130313
7 GET_CUSTOM_FIELD Instance method Public Method 20130226
8 GET_PRISKS Instance method Public Method 20120106
9 IS_LOCKED Instance method Public Method 20120106
10 RAISE_ERROR Instance method Private Method Raise error 20120106
11 READ_PRISK Instance method Public Method 20120106
12 SET_CUSTOM_FIELD Instance method Public Method 20130226
13 UPDATE_PRISK Instance method Public Method 20120106
14 UPDATE_STATUS Instance method Public Method 20120111
Events
Class CL_GRRM_PRISK_MODEL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_LOCK Private See coding 20120106 begin of ys_lock, id type grfn_guid, end of ys_lock
2 YS_PRISK_BUFFER Private See coding 20120106 begin of ys_prisk_buffer, prisk type grrm_s_prisk, updated type xfeld, t_resp type grrm_t_prisk_resp, end of ys_prisk_buffer
3 YT_LOCKS Private See coding 20120106 yt_locks type sorted table of ys_lock with unique default key
4 YT_PRISK_BUFFER Private See coding 20120106 yt_prisk_buffer type sorted table of ys_prisk_buffer with unique key prisk-prisk_id
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20120106

Method CONSTRUCTOR on class CL_GRRM_PRISK_MODEL has no exception.

Method CREATE_PRISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PRISK Call by reference Type reference (TYPE) GRRM_S_PRISK Proposed Risk 20120106
2 Importing IT_PRISK_RESP Call by reference Type reference (TYPE) GRRM_T_PRISK_RESP Proposed Risk Responses 20120106
3 Returning RV_PRISK_ID Value transfer Type reference (TYPE) GRFN_GUID Proposed Risk ID 20120106
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120106

Method DELETE_PRISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRISK_ID Call by reference Type reference (TYPE) GRFN_GUID PRisk ID 20120106
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120106

Method ENTITY_ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOCKED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20120106
2 Exporting EV_LOCKED_BY Call by reference Type reference (TYPE) SYUNAME User Name 20120106
3 Importing IV_PRISK_ID Call by reference Type reference (TYPE) GRFN_GUID GUID 20120106

Method ENTITY_ENQUEUE on class CL_GRRM_PRISK_MODEL has no exception.

Method EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRISK_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20120111
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120111

Method EXISTS_FOR_ORGUNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORGUNIT Call by reference Type reference (TYPE) HROBJID Object ID 20130313
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20130313

Method EXISTS_FOR_ORGUNIT on class CL_GRRM_PRISK_MODEL has no exception.

Method GET_CUSTOM_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_FIELD Value transfer Type reference (TYPE) TY_NAMEVALUEASSTRING NAMEVALUEASSTRING 20130226
2 Importing I_PRISK_ID Call by reference Type reference (TYPE) SCMG_CASE_GUID Technical Case Key (Case GUID) 20130226

Method GET_CUSTOM_FIELD on class CL_GRRM_PRISK_MODEL has no exception.

Method GET_PRISKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PRISK Value transfer Type reference (TYPE) GRRM_T_PRISK Proposed Risk / Ad-hoc escallation 20120106
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120106

Method IS_LOCKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRISK_ID Call by reference Type reference (TYPE) GRFN_GUID GUID 20120106
2 Returning RV_LOCKED Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20120106

Method IS_LOCKED on class CL_GRRM_PRISK_MODEL has no exception.

Method RAISE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NO Call by reference Type reference (TYPE) SY-MSGNO Message Number 20120106
2 Importing PAR1 Call by reference Type reference (TYPE) ANY Message Variable 20120106
3 Importing PAR2 Call by reference Type reference (TYPE) ANY Message Variable 20120106
4 Importing PAR3 Call by reference Type reference (TYPE) ANY Message Variable 20120106
5 Importing PAR4 Call by reference Type reference (TYPE) ANY Message Variable 20120106
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120106

Method READ_PRISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRISK Call by reference Type reference (TYPE) GRRM_S_PRISK Proposed Risk 20120106
2 Exporting ET_PRISK_RESP Call by reference Type reference (TYPE) GRRM_T_PRISK_RESP Proposed Risk Responses 20120106
3 Importing IV_PRISK_ID Call by reference Type reference (TYPE) GRFN_GUID PRisk ID 20120106
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120106

Method SET_CUSTOM_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) GRPC_API_CUSTOMFIELD_NAME Name of the custom field 20130226
2 Importing I_PRISK_ID Call by reference Type reference (TYPE) SCMG_CASE_GUID Technical Case Key (Case GUID) 20130226
3 Importing I_VALUE Call by reference Type reference (TYPE) GRPC_API_CUSTOMFIELD_VALUE Value of the customer defined field 20130226

Method SET_CUSTOM_FIELD on class CL_GRRM_PRISK_MODEL has no exception.

Method UPDATE_PRISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PRISK Call by reference Type reference (TYPE) GRRM_S_PRISK Proposed Risk 20120106
2 Importing IT_PRISK_RESP Call by reference Type reference (TYPE) GRRM_T_PRISK_RESP Proposed Risk Responses 20120106
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120106

Method UPDATE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRISK_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20120111
2 Importing IV_PRISK_STATUS Call by reference Type reference (TYPE) GRRM_PRISK_STATUS Proposed Risk 20120111
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120111
History
Last changed by/on SAP  20141106 
SAP Release Created in V1100