SAP ABAP Class CL_GRRM_OB_LOSS_ANALYSIS (CL_GRRM_OB_LOSS_ANALYSIS)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_OB_REPORTING (Package) Operational Risk Management for Banks: Reporting
Properties
Class CL_GRRM_OB_LOSS_ANALYSIS  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRRM_OB_REPORTING   Operational Risk Management for Banks: Reporting 
Created 20110119   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 CL_GRRM_OB_UTIL_LOSEVT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 RSDS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GRRM_OB_LOSS_ANALYSIS has no interface implemented.
Friends
Class CL_GRRM_OB_LOSS_ANALYSIS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_AMOUNT_ESTIMATE Constant Public Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'ESTIMATE' Estimated Loss 20110510
2 GC_AMOUNT_GROSS_LOSS Constant Public Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'GROSS_LOSS' Gross Loss Amount 20110510
3 GC_AMOUNT_NET_LOSS_AMOUNT Constant Public Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'NET_LOSS_A' Net Loss Amount 20110510
4 GC_AMOUNT_POTENTIAL Constant Public Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'POTENTIAL' Potential Loss 20110510
5 GC_AMOUNT_RECOVERY Constant Public Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'RECOV_LOSS' Recovery Gross Loss Amount 20110510
6 GC_AMOUNT_TOTAL_AMOUNT Constant Public Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'TOTAL_AMOU' Total Loss Amount 20110510
7 GC_LEAD_DIM_ORG Constant Public Type reference (TYPE) GRRM_OB_LOSS_REP_DIMENSION 'OU' Orgunits 20110511
8 GC_LEAD_DIM_PROC Constant Public Type reference (TYPE) GRRM_OB_LOSS_REP_DIMENSION 'PC' Processes 20110511
9 GC_LEAD_DIM_PROD Constant Public Type reference (TYPE) GRRM_OB_LOSS_REP_DIMENSION 'PD' Products 20110511
10 GC_RATIO_CREDIT Constant Public Type reference (TYPE) GRRM_OB_LOSS_SHARE_TYPE 'CR' Credit Risk 20110510
11 GC_RATIO_MARKET Constant Public Type reference (TYPE) GRRM_OB_LOSS_SHARE_TYPE 'MA' Market Rist 20110510
12 GC_RATIO_OPERATIONAL Constant Public Type reference (TYPE) GRRM_OB_LOSS_SHARE_TYPE 'OP' Operational Risk 20110510
13 GC_RATIO_TOTAL Constant Public Type reference (TYPE) GRRM_OB_LOSS_SHARE_TYPE 'TO' Total 20110510
Methods
# Method Level Visibility Method type Description Created on
1 COLLECT_LOSSES Static method Public Method Collects all losses from the system 20110119
2 CONVERT_WHERE_TAB_TO_STRING Static method Public Method Converts RSDS_WHERE_TAB tab to String 20140130
3 GET_LOSS_ANALYSIS Static method Public Method Get aggregated loss amounts / frequencies 20110119
4 GET_LOSS_ANALYSIS_FAST Static method Public Method Get aggregated loss amounts / frequencies (direct select) 20140203
5 GET_LOSS_SUMMARY Static method Public Method Get a summary of losses per IC / OU 20110119
6 GET_LOSS_SUMMARY_FAST Static method Public Method Get a summary of losses per IC / OU (Loss matrix analyzer) 20140130
7 GET_RISK_CATEGORY Static method Private Method 20110119
8 UPDATE_SELECTION_CRITERIA Static method Private Method Helper: Update selection table 20140130
Events
Class CL_GRRM_OB_LOSS_ANALYSIS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_LOSS_POOL Public See coding 20110119 begin of ys_loss_pool, loss_date type grrm_ild_loss_loss_date, driver_cat type grrm_cc_id, impact_cat type grrm_impact_cat, amount type grfn_amount, currency type grfn_currency, end of ys_loss_pool
2 YT_LOSS_POOL Public See coding 20110119 yt_loss_pool type standard table of ys_loss_pool
Method Signatures

Method COLLECT_LOSSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ORGUNIT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110119
2 Importing IT_PROCESS Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110510
3 Importing IT_PRODUCT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110510
4 Importing IT_RISK_CAT Call by reference Type reference (TYPE) GRRM_T_API_CRGROUP_LIST Table type for common risk group list 20110607
5 Importing IT_SELECTION Call by reference Type reference (TYPE) GRRM_T_SELECTION Advanced selection 20110506
6 Importing IV_AMOUNT_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'ESTIMATE' Loss amount type 20110506
7 Importing IV_CURRENCY Call by reference Type reference (TYPE) GRFN_CURRENCY Currency 20110510
8 Importing IV_DATE_FROM Call by reference Type reference (TYPE) GRFN_DATE_FROM Event Loss - Day of Impact 20110119
9 Importing IV_DATE_TO Call by reference Type reference (TYPE) GRFN_DATE_TO Event Loss - Day of Impact 20110119
10 Importing IV_DATE_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_DATE_TYPE CL_GRRM_OB_UTIL_LOSEVT=>GC_DATE_TYPE_VALIDITY Loss date Type 20110615
11 Importing IV_HIERARCHY Call by reference Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20110126
12 Importing IV_RC_VIEW Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20110321
13 Importing IV_SHARE_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_SHARE_TYPE 'TO' Type of Loss Share 20110510
14 Returning RT_LOSSES Value transfer Type reference (TYPE) GRRM_T_OB_LOSS_ANALYSIS Losses for Analysis 20110119

Method COLLECT_LOSSES on class CL_GRRM_OB_LOSS_ANALYSIS has no exception.

Method CONVERT_WHERE_TAB_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_WHERE_TAB Call by reference Type reference (TYPE) RSDS_WHERE_TAB Where tab 20140130
2 Returning RV_WHERE Value transfer Type reference (TYPE) STRING Where string 20140130

Method CONVERT_WHERE_TAB_TO_STRING on class CL_GRRM_OB_LOSS_ANALYSIS has no exception.

Method GET_LOSS_ANALYSIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOSSES Call by reference Type reference (TYPE) GRRM_T_OB_AGGREGAT_LOSSES Losses for Analysis 20110119
2 Importing IT_IMPACT_CAT Call by reference Type reference (TYPE) GRRM_T_CATEGORY Table of categories 20110119
3 Importing IT_ORGUNIT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110119
4 Importing IT_PROCESS Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110517
5 Importing IT_PRODUCT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110517
6 Importing IT_RISK_CAT Call by reference Type reference (TYPE) GRRM_T_API_CRGROUP_LIST Table type for common risk group list 20110119
7 Importing IV_AMOUNT_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'ESTIMATE' Loss Amount Type 20110608
8 Importing IV_CURRENCY Call by reference Type reference (TYPE) GRFN_CURRENCY Currency 20110119
9 Importing IV_DATE_FROM Call by reference Type reference (TYPE) GRFN_DATE_FROM Valid from Date 20110119
10 Importing IV_DATE_TO Call by reference Type reference (TYPE) GRFN_DATE_TO Valid to Date 20110119
11 Importing IV_DATE_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_DATE_TYPE CL_GRRM_OB_UTIL_LOSEVT=>GC_DATE_TYPE_VALIDITY Loss date Type 20110610
12 Importing IV_HIERARCHY Call by reference Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20110128
13 Importing IV_RC_HIER Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20110518
14 Importing IV_SELECT_IND_LOSSES Call by reference Type reference (TYPE) GRFN_BOOLEAN ABAP_FALSE True - select individual losses, False - aggregate 20140214

Method GET_LOSS_ANALYSIS on class CL_GRRM_OB_LOSS_ANALYSIS has no exception.

Method GET_LOSS_ANALYSIS_FAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOSSES Call by reference Type reference (TYPE) GRRM_T_OB_AGGREGAT_LOSSES Losses for Analysis 20140203
2 Exporting EV_CONV_FAILED_COUNT Call by reference Type reference (TYPE) I 20140203
3 Importing IT_ORGUNIT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20140203
4 Importing IT_PROCESS Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20140203
5 Importing IT_PRODUCT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20140203
6 Importing IT_RISK_CAT Call by reference Type reference (TYPE) GRRM_T_API_CRGROUP_LIST Table type for common risk group list 20140203
7 Importing IV_AMOUNT_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'ESTIMATE' Loss Amount Type 20140203
8 Importing IV_CURRENCY Call by reference Type reference (TYPE) GRFN_CURRENCY Currency 20140203
9 Importing IV_DATE_FROM Call by reference Type reference (TYPE) GRFN_DATE_FROM Valid from Date 20140203
10 Importing IV_DATE_TO Call by reference Type reference (TYPE) GRFN_DATE_TO Valid to Date 20140203
11 Importing IV_DATE_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_DATE_TYPE CL_GRRM_OB_UTIL_LOSEVT=>GC_DATE_TYPE_VALIDITY Loss date Type 20140203
12 Importing IV_HIERARCHY Call by reference Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20140203
13 Importing IV_RC_HIER Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20140203
# Exception Resumable Description Created on
1 NOT_SUPPORTED 20140203

Method GET_LOSS_SUMMARY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_IMPACT_CAT Call by reference Type reference (TYPE) GRRM_T_CATEGORY Table of categories 20110119
2 Importing IT_ORGUNIT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110119
3 Importing IT_PROCESS Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110510
4 Importing IT_PRODUCT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20110510
5 Importing IT_RISK_CAT Call by reference Type reference (TYPE) GRRM_T_API_CRGROUP_LIST Table type for common risk group list 20110119
6 Importing IT_SELECTION Call by reference Type reference (TYPE) GRRM_T_SELECTION Advanced Selection 20110506
7 Importing IV_AMOUNT_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE 'ESTIMATE' Loss Amount Type 20110506
8 Importing IV_CURRENCY Call by reference Type reference (TYPE) GRFN_CURRENCY Currency 20110119
9 Importing IV_DATE_FROM Call by reference Type reference (TYPE) GRFN_DATE_FROM Valid from Date 20110119
10 Importing IV_DATE_TO Call by reference Type reference (TYPE) GRFN_DATE_TO Valid to Date 20110119
11 Importing IV_HIERARCHY Call by reference Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20110126
12 Importing IV_RC_VIEW Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20110321
13 Importing IV_SHARE_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_SHARE_TYPE 'TO' Type of Loss Share 20110510
14 Returning RT_LOSS_SUMMARY Value transfer Type reference (TYPE) GRRM_T_ILD_LOSS_SUMMARY Loss Summary 20110119

Method GET_LOSS_SUMMARY on class CL_GRRM_OB_LOSS_ANALYSIS has no exception.

Method GET_LOSS_SUMMARY_FAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOSS_SUMMARY Value transfer Type reference (TYPE) GRRM_T_ILD_LOSS_SUMMARY Loss Summary 20140204
2 Importing IT_ORGUNIT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20140130
3 Importing IT_PROCESS Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20140130
4 Importing IT_PRODUCT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20140130
5 Importing IT_RISK_CAT Call by reference Type reference (TYPE) GRRM_T_API_CRGROUP_LIST Table type for common risk group list 20140130
6 Importing IT_SELECTION Call by reference Type reference (TYPE) GRRM_T_SELECTION Advanced Selection 20140130
7 Importing IV_AGGR_DIM Call by reference Type reference (TYPE) GRRM_OB_LOSS_REP_DIMENSION OU/Product/Process 20140204
8 Importing IV_AMOUNT_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_AMOUNT_TYPE GC_AMOUNT_ESTIMATE Loss Amount Type 20140130
9 Importing IV_CURRENCY Call by reference Type reference (TYPE) GRFN_CURRENCY Currency 20140130
10 Importing IV_DATE_FROM Call by reference Type reference (TYPE) GRFN_DATE_FROM Valid from Date 20140130
11 Importing IV_DATE_TO Call by reference Type reference (TYPE) GRFN_DATE_TO Valid to Date 20140130
12 Importing IV_DATE_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_DATE_TYPE CL_GRRM_OB_UTIL_LOSEVT=>GC_DATE_TYPE_VALIDITY Loss date Type 20140204
13 Importing IV_GROUP_BY_DATE Call by reference Type reference (TYPE) GRFN_BOOLEAN ABAP_FALSE true - group also by date 20140204
14 Importing IV_HIERARCHY Call by reference Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20140130
15 Importing IV_RC_VIEW Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20140130
16 Importing IV_SHARE_TYPE Call by reference Type reference (TYPE) GRRM_OB_LOSS_SHARE_TYPE GC_RATIO_TOTAL Type of Loss Share 20140130
# Exception Resumable Description Created on
1 NOT_SUPPORTED 20140130

Method GET_RISK_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) DATUM Date 20110119
2 Importing IV_RISK Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20110119
3 Returning RV_RISK_CATEGORY Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20110119

Method GET_RISK_CATEGORY on class CL_GRRM_OB_LOSS_ANALYSIS has no exception.

Method UPDATE_SELECTION_CRITERIA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SELECTION Call by reference Type reference (TYPE) GRRM_T_SELECTION Advanced selection 20140130
2 Importing IT_API_OBJECTS Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20140130
3 Importing IV_FIELD_NAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20140130

Method UPDATE_SELECTION_CRITERIA on class CL_GRRM_OB_LOSS_ANALYSIS has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in V1000