SAP ABAP Class CL_GRAC_MODEL_SOD_RISK (Class Model for SOD Risk)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-AC (Application Component) Access Control
     GRAC_SOD (Package) Access Control GRC SoD Rules and etc.
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 20090901
Properties
Class CL_GRAC_MODEL_SOD_RISK  
Short Description Class Model for SOD Risk    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRAC_SOD   Access Control GRC SoD Rules and etc. 
Created 20090829   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 GRAC0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 GRACM 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 20090901
Friends
Class CL_GRAC_MODEL_SOD_RISK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_RISK_BUFFER Instance attribute Private Type reference (TYPE) GRAC_S_SODRISK_BUFFER SOD Risk Buffer table 20090901
2 MS_RISK_DESC Instance attribute Private Type reference (TYPE) GRACSODRISKT SOD Risk Description 20100413
3 MS_RISK_OLD Instance attribute Private Type reference (TYPE) GRAC_S_SODRISK_BUFFER SOD Risk Buffer 20100410
4 MT_OLD_RISKOWNER Instance attribute Private Type reference (TYPE) GRACM_T_RISK_OWNER_BUFFER 20100413
5 MT_OLD_RISKRLSET Instance attribute Private Type reference (TYPE) GRACM_T_RISK_RLSET_BUFFER 20100413
6 MT_OLD_RISK_FUNCTION Instance attribute Private Type reference (TYPE) GRAC_T_SODRISKFUNC SOD Risk Function Table 20100412
7 MT_RISKFUNC_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_RISK_FUNC_BUFFER SOD Risk Function Buffer table 20090831
8 MT_RISKOWNER_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_RISK_OWNER_BUFFER SOD Risk Owner Buffer table 20090831
9 MT_RISKRLSET_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_RISK_RLSET_BUFFER SOD Risk Rule Set Buffer table 20090831
10 MT_RISK_LOCKED Instance attribute Private Type reference (TYPE) YT_RISK_LOCKED 20091113
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_OWNER_ASSIGNED Static method Public Method Get Risk for Risk Owner 20100813
2 CREATE_RISK Instance method Public Method Create Risk into model buffer 20090829
3 DELETE_RISK Instance method Public Method Delete Risk by Risk ID 20090829
4 DEQUEUE Instance method Public Method Unlock Risk 20091113
5 ENQUEUE Instance method Public Method Lock Risk 20091113
6 GET_FILTERED_RISKS Static method Public Method Get the filtered Risks 20101221
7 GET_FUNCTIONS Static method Public Method Get Functions 20091006
8 GET_OVS_SODRISKS Static method Public Method Retrieve SOD risks for OVS for other components 20100324
9 GET_RISK Instance method Public Method Get Risk by Risk ID 20090829
10 GET_RISKLEVELS Static method Public Method Get All Risk Levels from C Table 20090930
11 GET_RISKLEVEL_TEXT Static method Public Method Get All Risk Levels from C Table 20100420
12 GET_RISKS_FROM_FUNCION Static method Public Method Get Risk IDs for a given Function ID 20090914
13 GET_RISK_ATTB Static method Public Method Get All Risk Levels from C Table 20100617
14 GET_RISK_LIST Static method Public Method Get the list of Risks - Obsolete 20090829
15 GET_RISK_LIST_DEEP Static method Public Method Get the list of Risks 20090910
16 GET_RISK_LIST_EXTD_SEARCH Static method Public Method Filter Risks based on search criteria 20101204
17 GET_RISK_OWNER Static method Public Method Get Risk Owner 20100712
18 GET_RULESETS Static method Public Method Get RuleSets 20091014
19 RAISE_ERROR Instance method Private Method Raise Error 20100804
20 RISK_EXISTS Static method Public Method Check for Risk Exists 20100513
21 SAVE_FUNCTIONS Instance method Private Method Save Functions - Insert/Update/Delete 20090919
22 SAVE_RISKOWNERS Instance method Private Method Save Risk Owners - Insert/Update/Delete 20090919
23 SAVE_RULESETS Instance method Private Method Save Rule Sets - Insert/Update/Delete 20090919
24 UPDATE_RISK Instance method Public Method Update the Risk by Risk ID 20090829
25 VALIDATE_RISK Static method Public Method Validate Risks 20091002
Events
Class CL_GRAC_MODEL_SOD_RISK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_RISK_LOCKED Private See coding 20091113 BEGIN OF ys_risk_locked, riskid TYPE grac_sodrisk_id, END OF ys_risk_locked
2 YT_RISK_LOCKED Private See coding 20091113 yt_risk_locked TYPE SORTED TABLE OF ys_risk_locked WITH UNIQUE KEY riskid
Method Signatures

Method CHECK_OWNER_ASSIGNED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_ASSIGNED Call by reference Type reference (TYPE) ABAP_BOOL Is Owner Assigned 20100814
2 Importing IV_OWNER Call by reference Type reference (TYPE) GRAC_OWNER Owner Description 20100814

Method CHECK_OWNER_ASSIGNED on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method CREATE_RISK 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 20090829
2 Importing IS_RISK Call by reference Type reference (TYPE) GRAC_S_SODRISK SOD Risk 20090831
3 Importing IT_RISKFUNC Call by reference Type reference (TYPE) GRAC_T_SODRISKFUNC SOD Risk Function Table 20090831
4 Importing IT_RISKOWN Call by reference Type reference (TYPE) GRAC_T_SODRISKOWN SOD Risk Owner Table 20090831
5 Importing IT_RISKRS Call by reference Type reference (TYPE) GRAC_T_SODRISKRS SOD Risk Rule Set Table 20090831
6 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20090831

Method CREATE_RISK on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method DELETE_RISK 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 20090922
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRAC_SODRISK_ID SOD Risk id 20090909

Method DELETE_RISK on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RISKID Call by reference Type reference (TYPE) GRAC_SODRISK_ID UUID of the GRC object (char32) 20091113

Method DEQUEUE on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method 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) ABAP_BOOL Locked 20091113
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRAC_SODRISK_ID SOD Risk id 20091113
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100804

Method GET_FILTERED_RISKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_LIST_DEEP Call by reference Type reference (TYPE) GRAC_T_SODRISK_DEEP SOD Risk Deep Table 20101221
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20101221
3 Importing IS_RISK_SEARCH_RANGE Call by reference Type reference (TYPE) GRAC_S_SOD_RISK_SEARCH SOD Risk 20101221
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20101221

Method GET_FILTERED_RISKS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FUNCTION Call by reference Type reference (TYPE) GRAC_S_SOD_FUNC_DETAIL SOD Function Structure 20091006
2 Returning RT_FUNCTIONS Value transfer Type reference (TYPE) GRAC_T_SOD_FUNC_DETAIL SOD Function Table 20091006

Method GET_FUNCTIONS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_OVS_SODRISKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SODRISK Call by reference Type reference (TYPE) GRAC_T_ORGRULE_RISK Orgrule Risk for OVS 20100324
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRAC_SODRISK_ID SOD Risk id 20100324

Method GET_OVS_SODRISKS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RISK Call by reference Type reference (TYPE) GRAC_S_SODRISK SOD Risk 20090901
2 Exporting ET_RISKFUNC_LIST Call by reference Type reference (TYPE) GRAC_T_SODRISKFUNC SOD Risk Function Table 20090901
3 Exporting ET_RISKOWN_LIST Call by reference Type reference (TYPE) GRAC_T_SODRISKOWN SOD Risk Owner Table 20090901
4 Exporting ET_RISKRS_LIST Call by reference Type reference (TYPE) GRAC_T_SODRISKRS SOD Risk Rule Set Table 20090901
5 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20090829
6 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20090901
7 Importing IV_RISKID Call by reference Type reference (TYPE) GRAC_SODRISK_ID SOD Risk id 20090902

Method GET_RISK on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISKLEVELS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_RISKLVLS Value transfer Type reference (TYPE) GRAC_T_DDIC_DOMAIN Table to contain DDIC domain value/text. 20090930

Method GET_RISKLEVELS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISKLEVEL_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RISK_TEXT Call by reference Type reference (TYPE) GRAC_VSDESCN Table to contain DDIC domain value/text. 20100420
2 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU Language Key 20100420
3 Importing IV_RISKLEVEL Value transfer Type reference (TYPE) GRAC_SODRISK_LEVEL SOD Risk Level 20100420

Method GET_RISKLEVEL_TEXT on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISKS_FROM_FUNCION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_IDS Call by reference Type reference (TYPE) GRAC_T_SODRISK SOD Risk Table 20090914
2 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Id 20090914

Method GET_RISKS_FROM_FUNCION on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISK_ATTB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RISK_BPROC Call by reference Type reference (TYPE) GRAC_BPROC Business Process 20100617
2 Exporting EV_RISK_LEVEL Call by reference Type reference (TYPE) GRAC_SODRISK_LEVEL SOD Risk Level 20100617
3 Exporting EV_RISK_LEVEL_TEXT Call by reference Type reference (TYPE) GRAC_VSDESCN Table to contain DDIC domain value/text. 20100617
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU Language Key 20100617
5 Importing IV_RISKID Value transfer Type reference (TYPE) GRAC_SODRISK_ID SOD Risk Level 20100617

Method GET_RISK_ATTB on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISK_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISKFUNC_LIST Call by reference Type reference (TYPE) GRAC_T_SODRISKFUNC SOD Risk Function Table 20090902
2 Exporting ET_RISKOWN_LIST Call by reference Type reference (TYPE) GRAC_T_SODRISKOWN SOD Risk Owner Table 20090902
3 Exporting ET_RISKRS_LIST Call by reference Type reference (TYPE) GRAC_T_SODRISKRS SOD Risk Rule Set Table 20090902
4 Exporting ET_RISK_LIST Call by reference Type reference (TYPE) GRAC_T_SODRISK SOD Risk Table 20090829
5 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20090829
6 Importing IS_RISK_SEARCH_DATA Call by reference Type reference (TYPE) GRAC_S_SODRISK SOD Risk 20090831
7 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20090831

Method GET_RISK_LIST on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISK_LIST_DEEP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_LIST_DEEP Call by reference Type reference (TYPE) GRAC_T_SODRISK_DEEP SOD Risk Deep Table 20090910
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20090910
3 Importing IS_RISK_SEARCH_RANGE Call by reference Type reference (TYPE) GRAC_S_SOD_RISK_SEARCH SOD Risk 20091026
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20090910

Method GET_RISK_LIST_DEEP on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISK_LIST_EXTD_SEARCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_LIST_DEEP Call by reference Type reference (TYPE) GRAC_T_SODRISK_SEARCH SOD Risk Deep Table 20101204
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20101204
3 Importing IS_RISK_SEARCH_RANGE Call by reference Type reference (TYPE) GRAC_S_SOD_RISK_SEARCH SOD Risk 20101204
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20101204

Method GET_RISK_LIST_EXTD_SEARCH on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RISK_OWNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_OWNER Call by reference Type reference (TYPE) GRAC_T_OWNER_LIST Owner List 20100713
2 Importing IV_RISKID Call by reference Type reference (TYPE) GRAC_SODRISK_ID SOD Risk id 20100712

Method GET_RISK_OWNER on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method GET_RULESETS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RULESET Call by reference Type reference (TYPE) GRAC_S_RULESET_DETAIL Rule Set 20091014
2 Returning RT_RULESETS Value transfer Type reference (TYPE) GRAC_T_RULESET_DETAIL Rule Set 20091014

Method GET_RULESETS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method RAISE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NUM Value transfer Type reference (TYPE) SYMSGNO Message Number 20100804
2 Importing IV_PAR1 Value transfer Type reference (TYPE) SYMSGV Message Variable 20100804
3 Importing IV_PAR2 Value transfer Type reference (TYPE) SYMSGV Message Variable 20100804
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100804

Method RISK_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RISK Call by reference Type reference (TYPE) GRAC_S_SODRISK SOD Risk 20100513
2 Returning RV_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20100513

Method RISK_EXISTS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method SAVE_FUNCTIONS Signature

Method SAVE_FUNCTIONS on class CL_GRAC_MODEL_SOD_RISK has no parameter.
Method SAVE_FUNCTIONS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method SAVE_RISKOWNERS Signature

Method SAVE_RISKOWNERS on class CL_GRAC_MODEL_SOD_RISK has no parameter.
Method SAVE_RISKOWNERS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method SAVE_RULESETS Signature

Method SAVE_RULESETS on class CL_GRAC_MODEL_SOD_RISK has no parameter.
Method SAVE_RULESETS on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method UPDATE_RISK 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 20090829
2 Importing IS_SODRISK Call by reference Type reference (TYPE) GRAC_S_SODRISK SOD Risk 20090901
3 Importing IT_SODRISKFUNC Call by reference Type reference (TYPE) GRAC_T_SODRISKFUNC SOD Risk Function Table 20090901
4 Importing IT_SODRISKOWN Call by reference Type reference (TYPE) GRAC_T_SODRISKOWN SOD Risk Owner Table 20090901
5 Importing IT_SODRISKRS Call by reference Type reference (TYPE) GRAC_T_SODRISKRS SOD Risk Rule Set Table 20090901
6 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANG Language ID 20090901

Method UPDATE_RISK on class CL_GRAC_MODEL_SOD_RISK has no exception.

Method VALIDATE_RISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RISK Call by reference Type reference (TYPE) GRAC_S_SODRISK SOD Risk 20091002
2 Importing IT_RISKFUNC Call by reference Type reference (TYPE) GRAC_T_SODRISKFUNC SOD Risk Function Table 20091002
3 Importing IT_RISKOWN Call by reference Type reference (TYPE) GRAC_T_SODRISKOWN SOD Risk Owner Table 20091002
4 Importing IT_RISKRS Call by reference Type reference (TYPE) GRAC_T_SODRISKRS SOD Risk Rule Set Table 20091002
5 Returning RV_BOOL Value transfer Type reference (TYPE) ABAP_BOOL ABAP/4 language-internal type declarations 20091002
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091002
History
Last changed by/on SAP  20141106 
SAP Release Created in 600