SAP ABAP Class CL_GRRM_RISK_CONSOLIDATION (model class of risk consolidation)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_RISK (Package) Package GRC-RM Risk
Properties
Class CL_GRRM_RISK_CONSOLIDATION  
Short Description model class of risk consolidation    
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 20110819   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRRM_RISK_CONSOLIDATION has no forward declaration.
Interfaces
Class CL_GRRM_RISK_CONSOLIDATION has no interface implemented.
Friends
Class CL_GRRM_RISK_CONSOLIDATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ACTION_AUTO_SUBMIT Constant Public Type reference (TYPE) J_VORGANG 'RC03' Auto Submit 20110823
2 GC_ACTION_REJECT Constant Public Type reference (TYPE) J_VORGANG 'RC04' Reject 20110823
3 GC_ACTION_RESULT_REJECTED Constant Public Type reference (TYPE) GRRM_RISKCONS_ACTION_RESULT 'REJECTED' Risk Consolidation Action Result 20110913
4 GC_ACTION_RESULT_REVIEWED Constant Public Type reference (TYPE) GRRM_RISKCONS_ACTION_RESULT 'REVIEWED' Risk Consolidation Action Result 20110913
5 GC_ACTION_SEND_FOR_REVIEW Constant Public Type reference (TYPE) J_VORGANG 'RC01' Send for Review 20110823
6 GC_ACTION_SUBMIT Constant Public Type reference (TYPE) J_VORGANG 'RC02' Submit 20110823
7 GC_AGENTSLOT_PERF_CONS Constant Private Type reference (TYPE) GRFN_AGENTSLOT '0RM_PERF_CONSOLIDATION' Business Event 20110826
8 GC_AGENTSLOT_VALI_CONS Constant Private Type reference (TYPE) GRFN_AGENTSLOT '0RM_VALI_CONSOLIDATION ' Business Event 20110905
9 GC_CONS_TASK_DRAFT Constant Public Type reference (TYPE) STRING 'TS76307914' 20111004
10 GC_CONS_TASK_REVIEW Constant Public Type reference (TYPE) STRING 'TS76307919' 20111004
11 GC_CONS_TASK_REWORK Constant Public Type reference (TYPE) STRING 'TS76307922' 20111223
12 GC_RISK_SELECTION_ALL Constant Private Type reference (TYPE) GRFN_RISK_SELECTION 'A' All Risks 20111021
13 GC_RISK_SELECTION_PUBLISHED Constant Private Type reference (TYPE) GRFN_RISK_SELECTION 'R' Published Risks Only 20111021
14 GC_RISK_SELECTION_RELEVENT Constant Private Type reference (TYPE) GRFN_RISK_SELECTION 'B' Published and Relevent Risks 20111021
15 GC_STATUS_AUTO_SUBMITTED Constant Public Type reference (TYPE) J_ISTAT 'IRC05' Auto Submitted 20110823
16 GC_STATUS_DRAFT Constant Public Type reference (TYPE) J_ISTAT 'IRC01' Draft 20110823
17 GC_STATUS_REVIEW Constant Public Type reference (TYPE) J_ISTAT 'IRC02' Review 20110823
18 GC_STATUS_REWORK Constant Public Type reference (TYPE) J_ISTAT 'IRC03' Rework 20110823
19 GC_STATUS_SUBMITTED Constant Public Type reference (TYPE) J_ISTAT 'IRC04' Submitted 20110823
20 GC_STATUS_TYPE Constant Public Type reference (TYPE) CRM_JSTO-OBTYP 'GCR' Object Category 20110823
21 MR_MODEL_CATALOGUE Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_MODEL_CATALOGUE communicate with entities 20110901
22 MR_SESSION Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_API_SESSION session 20110927
23 MR_STATUS Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_STATUS status instance 20110831
24 MS_API_HEADER Instance attribute Private Type reference (TYPE) GRRM_S_API_CONS_HEADER Header structure for Risk Consolidations 20110901
25 MS_CONS Instance attribute Private Type reference (TYPE) YS_CONS 20110831
26 MS_PLAN Instance attribute Private Type reference (TYPE) GRRMRISKCONSPLAN Infomation for one plan of risk consolidation. 20110901
27 MT_CONS_ACTION Instance attribute Private Type reference (TYPE) YT_CONS_ACTION 20110913
28 MT_CONS_DATA_SUB Instance attribute Private Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA consolidation data from sub orgunits 20110901
29 MT_HISTORY_PLAN Instance attribute Private Type reference (TYPE) GRFN_T_VALUE_LIST Query Value List 20110901
30 MT_REL_CONSOLIDATIONS Instance attribute Private Type reference (TYPE) GRFN_T_WD_REL_OBJECT related consolidation, includes only sub orgunits 20111104
31 MV_FIRST_TIME Instance attribute Private Type reference (TYPE) ABAP_BOOL 'X' boolean, model is initialized or not 20110905
32 MV_GUID Instance attribute Private Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20110826
33 MV_OBJECT_ID Instance attribute Private Type reference (TYPE) GRFN_API_OBJECT_ID api object id 20110829
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_API_CONS_DATA Instance method Private Method 20110901
2 COMPLETE_CURRENT_WORKITEM Instance method Private Method Complete current workitem 20111004
3 CREATE Static method Public Method 20110829
4 GET_ACTIVITY_LIST Instance method Public Method get the available activites 20110819
5 GET_AGENTS Instance method Public Method get the current responsible agent for workflow receiver 20110819
6 GET_ASSIGNED_REVIEWERS Instance method Private Method Get assigned reviewers 20110913
7 GET_AWAITING_REVIEWERS Instance method Public Method Get reviewers who have not done task 20110913
8 GET_INSTANCE Static method Public Method 20110829
9 GET_SESSION_DAILY Static method Public Method get session daily according to submitted time 20111216
10 GET_STATUS Instance method Public Method Current status 20110819
11 INIT_API_BUFFER Instance method Private Method 20110901
12 INIT_MODEL Instance method Private Method 20110826
13 NEW_INSTANCE Instance method Private Method 20110831
14 NOTIFY_WORKFLOW Instance method Private Method 20110829
15 ON_RISKCONS_AUTOSUBMITTED Instance method Public Method Auto submit risk consolidation 20111014
16 READ_CONS_DATA Instance method Private Method read the current cons data due to draft and risk model 20110901
17 READ_ORGUNIT Instance method Private Method read attr from orgunit 20110902
18 READ_RISK_ATTR Instance method Private Method 20110902
19 REMOVE_JOB Instance method Private Method 20110826
20 RETRIEVE Instance method Public Method API method 20110901
21 RETRIEVE_HISTORY Instance method Public Method 20110901
22 SAVE Instance method Public Method save all the data from buffers 20110831
23 SCHEDULE_JOB Instance method Private Method schedule a job for trigger risk consolidation auto submit 20110826
24 SET_ACTIVITY Instance method Public Method Change the status by set activity 20110819
25 SET_CONS_ACTION Instance method Private Method 20110913
26 START_WORKFLOW Instance method Private Method 20110829
27 SUBMIT_CURRENT_ORGUNIT_LEVEL Instance method Private Method submit the current consolidation at the orgunit level 20110901
28 UPDATE Instance method Public Method 20110901
29 UPDATE_STATUS_IN_DB Instance method Private Method 20110831
Events
Class CL_GRRM_RISK_CONSOLIDATION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_CONS Private See coding 20110831 BEGIN OF ys_cons , * include TYPE grrmriskcons, cons_id TYPE grfn_guid, plan_id TYPE grfn_guid, orgunit_id TYPE grfn_object_id, orgunit_parent TYPE grfn_object_id, due_date TYPE grfn_date, submitted TYPE j_istat, submit_time TYPE timestamp, submitted_by TYPE uname, SUBM_BY_MAINUSER TYPE uname, status TYPE j_istat, stat_objnr TYPE crmt_object_guid, status_txt TYPE j_txt30, current_period TYPE grfn_seqnr, PERFORMED_BY type uname, PERFORM_TIME type TIMESTAMP, REVIEWD_BY type uname, REVIEW_TIME type TIMESTAMP, END OF ys_cons
2 YS_CONS_ACTION Private See coding 20110913 BEGIN OF ys_cons_action, cons_action TYPE grrmriskconsact, new TYPE abap_bool, END OF ys_cons_action
3 YT_CONS Private See coding 20111021 yt_cons type table of ys_cons
4 YT_CONS_ACTION Private See coding 20110913 yt_cons_action TYPE TABLE OF ys_cons_action
5 YT_CONS_DATA Private See coding 20110901 yt_cons_data TYPE TABLE OF grrmriskconsdata
Method Signatures

Method BUILD_API_CONS_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONS_DATA Call by reference Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA Table type for GRRM_S_API_CONSOLIDATION_DATA 20110901
2 Importing IR_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20111216
3 Importing IS_SUBMITTED_FROM_SUB Call by reference Type reference (TYPE) BOOLEAN sub mitted from sub orgunit 20111216
4 Importing IT_CONS_DATA_DB Call by reference Type reference (TYPE) YT_CONS_DATA 20110901
5 Importing IV_MINIMAL_IMPACT Call by reference Type reference (TYPE) GRRM_IMPACT_LEVEL Impact Level 20111021
6 Importing IV_RISK_SELECTION Call by reference Type reference (TYPE) GRFN_RISK_SELECTION Risk Selection in Consolidaitons 20111021
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110901

Method COMPLETE_CURRENT_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COMPLETE_WI Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20111004
2 Importing IV_OBJ_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20111004
3 Importing IV_USER Call by reference Type reference (TYPE) UNAME User Name 20111004

Method COMPLETE_CURRENT_WORKITEM on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) GRRMRISKCONSORG Orgnization hierarchy of Risk Consolidations 20110829
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110831

Method GET_ACTIVITY_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ACTIVITY Call by reference Type reference (TYPE) GRFN_T_ACTIVITY_FOR_STATUS Texts for Business Transactions 20110819
# Exception Resumable Description Created on
1 CX_GRFN_STATUS status management 20110901

Method GET_AGENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_AGENT Call by reference Type reference (TYPE) SWFUAGENTS List of Organizational Objects 20110819
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110829

Method GET_ASSIGNED_REVIEWERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REVIEWER Call by reference Type reference (TYPE) SPERS_ULST User names table 20110913
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110913

Method GET_AWAITING_REVIEWERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_USER Call by reference Type reference (TYPE) GRFN_T_RECIPIENT_USER Recipients defined by user name 20110913
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110913

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20110829
2 Returning RO_RESULT Value transfer Object reference (TYPE REF TO) CL_GRRM_RISK_CONSOLIDATION model class of risk consolidation 20110829
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120302

Method GET_SESSION_DAILY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20111216
2 Importing IV_SUBMIT_TIME Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20111216

Method GET_SESSION_DAILY on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_STATUS Value transfer Type reference (TYPE) GRFN_S_STATUS Status 20110819
# Exception Resumable Description Created on
1 CX_GRFN_STATUS status management 20110902

Method INIT_API_BUFFER Signature

Method INIT_API_BUFFER on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110927

Method INIT_MODEL Signature

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

Method NEW_INSTANCE Signature

Method NEW_INSTANCE on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20111103
2 CX_GRFN_STATUS status management 20111103

Method NOTIFY_WORKFLOW Signature

Method NOTIFY_WORKFLOW on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
Method NOTIFY_WORKFLOW on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method ON_RISKCONS_AUTOSUBMITTED Signature

Method ON_RISKCONS_AUTOSUBMITTED on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
Method ON_RISKCONS_AUTOSUBMITTED on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method READ_CONS_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONS_DATA Call by reference Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA Table type for GRRM_S_API_CONSOLIDATION_DATA 20110901
2 Importing IR_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20111216
3 Importing IS_CONS Call by reference Type reference (TYPE) YS_CONS 20111021
4 Importing IV_RISK_SELECTION Call by reference Type reference (TYPE) GRFN_RISK_SELECTION Risk Selection in Consolidaitons 20111021
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110901

Method READ_ORGUNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ORGUNIT_LTXT Call by reference Type reference (TYPE) STRING 20111104
2 Exporting EV_ORGUNIT_NAME Call by reference Type reference (TYPE) GRFN_TITLE Title/Short Name 20110902
3 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20110902
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110902

Method READ_RISK_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20111216
2 Changing XS_CONS_DATA Call by reference Type reference (TYPE) GRRM_S_API_CONSOLIDATION_DATA Risk Consolidation Data 20110902
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110902

Method REMOVE_JOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_JOB_NAME Value transfer Type reference (TYPE) BTCJOB Background job name 20110826

Method REMOVE_JOB on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method RETRIEVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) GRRM_S_API_CONS_HEADER Header structure for Risk Consolidations 20110901
2 Exporting ET_CONS_DATA Call by reference Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA Table type for GRRM_S_API_CONSOLIDATION_DATA 20110901
3 Exporting ET_CONS_DATA_SUB Call by reference Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA data from the sub orgunits 20110901
4 Exporting ET_HISTORY_PLAN Call by reference Type reference (TYPE) GRFN_T_VALUE_LIST History plan_id & name 20110901
5 Exporting ET_REL_CONSOLIDATIONS Call by reference Type reference (TYPE) GRFN_T_WD_REL_OBJECT Related objects 20111104
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110901

Method RETRIEVE_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) GRRM_S_API_CONS_HEADER Header structure for Risk Consolidations 20111024
2 Exporting ET_CONS_DATA Call by reference Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA Table type for GRRM_S_API_CONSOLIDATION_DATA 20110901
3 Exporting ET_CONS_DATA_SUB Call by reference Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA data from sub orgunits 20110901
4 Exporting ET_REL_CONSOLIDATIONS Call by reference Type reference (TYPE) GRFN_T_WD_REL_OBJECT Related objects 20111107
5 Exporting EV_CONS_API_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20111014
6 Importing IV_HISTORY_PLAN Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20110901
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110901

Method SAVE Signature

Method SAVE on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
Method SAVE on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method SCHEDULE_JOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_JOB_NAME Value transfer Type reference (TYPE) BTCJOB Background job name 20110829

Method SCHEDULE_JOB on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method SET_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY Call by reference Type reference (TYPE) J_VORGANG Business Transaction 20110819
# Exception Resumable Description Created on
1 CX_GRFN_STATUS status management 20110901

Method SET_CONS_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PRE_STATUS Value transfer Type reference (TYPE) GRFN_S_STATUS Character Field Length = 10 20110913
2 Importing IS_STATUS Value transfer Type reference (TYPE) GRFN_S_STATUS Character Field Length = 10 20110913
3 Importing IV_ACTIVITY Value transfer Type reference (TYPE) J_VORGANG Business Transaction 20110913
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110913

Method START_WORKFLOW Signature

Method START_WORKFLOW on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
Method START_WORKFLOW on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method SUBMIT_CURRENT_ORGUNIT_LEVEL Signature

Method SUBMIT_CURRENT_ORGUNIT_LEVEL on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
Method SUBMIT_CURRENT_ORGUNIT_LEVEL on class CL_GRRM_RISK_CONSOLIDATION has no exception.

Method UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CONS_DATA Call by reference Type reference (TYPE) GRRM_T_API_CONSOLIDATION_DATA Table type for GRRM_S_API_CONSOLIDATION_DATA 20110901
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110901

Method UPDATE_STATUS_IN_DB Signature

Method UPDATE_STATUS_IN_DB on class CL_GRRM_RISK_CONSOLIDATION has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_STATUS status management 20110831
History
Last changed by/on SAP  20141106 
SAP Release Created in V1100