SAP ABAP Class CL_GRRM_OB_AG_SERVICE (Aggregation service class)
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_AG_SERVICE  
Short Description Aggregation service class    
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 20110503   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
Class CL_GRRM_OB_AG_SERVICE has no interface implemented.
Friends
Class CL_GRRM_OB_AG_SERVICE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DTEL_COLOR Constant Public Type reference (TYPE) ROLLNAME 'GRRM_OB_AG_COLOR_ID' Data element (semantic domain) 20110503
2 GC_LANGU_EN Constant Public Type reference (TYPE) SYLANGU 'E' Language Key of Current Text Environment 20110506
3 GC_LOOKUP_DATA_NODE_NAME Constant Public Type reference (TYPE) STRING 'LOOKUP_DATA' 20110504
4 GC_PREFIX_OBJECT_COLOR Constant Public Type reference (TYPE) FIELDNAME 'OBJECT_COLOR_' Field Name 20110504
5 GC_RESULT_COLOR Constant Public Type reference (TYPE) FIELDNAME 'RESULT_COLOR' Field Name 20110503
6 GC_RUN_ACTION_CLOSE Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_ACTION 'CLOSE' Aggr Run Action: Close 20110511
7 GC_RUN_ACTION_IN_PROCESS Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_ACTION 'IN_PROCESS' Aggr Run Action: In Process 20110511
8 GC_RUN_ACTION_JOB_ERROR Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_ACTION 'JOB_ERROR' Aggr Run Action: Job Error 20110511
9 GC_RUN_ACTION_PUBLISH Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_ACTION 'PUBLISH' Aggr Run Action: Publish 20110511
10 GC_RUN_STATUS_CLOSED Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_STATUS 'CLOSED' Aggr. Run Status: Closed 20110511
11 GC_RUN_STATUS_IN_PROCESS Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_STATUS 'IN_PROCESS' Aggr. Run Status: In Process 20110511
12 GC_RUN_STATUS_JOB_ERROR Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_STATUS 'JOB_ERROR' Aggr. Run Status: Job Error 20110511
13 GC_RUN_STATUS_PUBLISHED Constant Public Type reference (TYPE) GRRM_OB_AG_RUN_STATUS 'PUBLISHED' Aggr. Run Status: Published 20110511
14 GC_SETTINGS_NOT_DEFINED_IGNORE Constant Public Type reference (TYPE) GRRM_OB_AG_RULE_NOT_DEFINED 'I' Not defined behavior 20110527
15 GC_SETTINGS_NOT_DEFINED_PROPAG Constant Public Type reference (TYPE) GRRM_OB_AG_RULE_NOT_DEFINED '' Not defined behavior 20110527
Methods
# Method Level Visibility Method type Description Created on
1 COLOR_TO_SCORE Static method Public Method Translate aggregatuib color to score 20110509
2 DESERIALIZE_LOOKUP Static method Public Method Descerialize lookup 20110503
3 DESERIALIZE_SETTINGS Static method Public Method Deserialize settings 20110526
4 DESERIALIZE_WAVERAGE Static method Public Method Deserialize weighting average 20110503
5 GENERATE Static method Private Method Generate 20110504
6 GET_AG_COLOR Static method Public Method Get aggregation color 20110506
7 GET_AG_COLORS Static method Public Method Get all aggregation colors 20110506
8 GET_AG_COLOR_TEXT Static method Public Method Get aggregation color description 20110506
9 GET_LOOKUP_TABLE_DATA Static method Public Method Create lookup table 20110509
10 GET_LOOKUP_TABLE_DEFINITION Static method Public Method Build structure 20110509
11 RAISE_ERROR Static method Private Method Raise error 20110610
12 SCORE_TO_COLOR Static method Public Method Translate aggregation score to color 20110509
13 SERIALIZE_LOOKUP Static method Public Method Seriazlize lookup 20110503
14 SERIALIZE_SETTINGS Static method Public Method Serialize settings 20110526
15 SERIALIZE_WAVERAGE Static method Public Method Serialize weighting average 20110503
Events
Class CL_GRRM_OB_AG_SERVICE has no event.
Types
Class CL_GRRM_OB_AG_SERVICE has no local type.
Method Signatures

Method COLOR_TO_SCORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COLOR_ID Call by reference Type reference (TYPE) GRRM_OB_AG_COLOR_ID Aggregation Color - Color ID 20110509
2 Returning RV_SCORE Value transfer Type reference (TYPE) GRFN_SCORE Aggregation Score 20110509

Method COLOR_TO_SCORE on class CL_GRRM_OB_AG_SERVICE has no exception.

Method DESERIALIZE_LOOKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_DATA Call by reference Object reference (TYPE REF TO) DATA Lookup table data 20110504
2 Exporting ET_FIELDMAP Call by reference Type reference (TYPE) GRRM_OB_T_AG_FIELDMAP Lookup table field mapping 20110504
3 Importing IV_DATA_XML Call by reference Type reference (TYPE) GRFN_XML XML 20110504

Method DESERIALIZE_LOOKUP on class CL_GRRM_OB_AG_SERVICE has no exception.

Method DESERIALIZE_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATA Call by reference Type reference (TYPE) GRFN_XML XML 20110526
2 Returning RS_SETTINGS Value transfer Type reference (TYPE) GRRM_OB_S_AG_RULE_SETTINGS 20110526

Method DESERIALIZE_SETTINGS on class CL_GRRM_OB_AG_SERVICE has no exception.

Method DESERIALIZE_WAVERAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SETTINGS Call by reference Type reference (TYPE) GRRM_OB_S_AG_RULE_SETTINGS Aggregation rule settings 20110613
2 Exporting ET_WEIGHT Call by reference Type reference (TYPE) GRRM_OB_T_AG_WEIGHT Objects weight 20110613
3 Importing IV_DATA Call by reference Type reference (TYPE) GRFN_XML XML 20110503

Method DESERIALIZE_WAVERAGE on class CL_GRRM_OB_AG_SERVICE has no exception.

Method GENERATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PATTERN_LINE Call by reference Object reference (TYPE REF TO) DATA The source line 20110504
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20110505
3 Importing IO_STRUCDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Descriptor of the lines in result table 20110504
4 Importing IO_TABLE Call by reference Object reference (TYPE REF TO) DATA The source line 20110504
5 Importing IT_COLOR Call by reference Type reference (TYPE) GRRM_OB_T_AG_COLOR The list of colors 20110504
6 Importing IT_FIELDMAP Call by reference Type reference (TYPE) GRRM_OB_T_AG_FIELDMAP The list of fields 20110504
7 Importing IV_COLUMN Call by reference Type reference (TYPE) GRRM_OB_AG_COLUMN_NAME The column name which values are varied 20110504

Method GENERATE on class CL_GRRM_OB_AG_SERVICE has no exception.

Method GET_AG_COLOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COLOR_ID Call by reference Type reference (TYPE) GRRM_OB_AG_COLOR_ID 20110506
2 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU 20110506
3 Importing IV_TEXT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110506
4 Returning RS_RESULT Value transfer Type reference (TYPE) GRRM_OB_S_AG_COLOR 20110506

Method GET_AG_COLOR on class CL_GRRM_OB_AG_SERVICE has no exception.

Method GET_AG_COLORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Description language 20110506
2 Importing IV_TEXT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Include score descriptions 20110506
3 Returning RT_RESULT Value transfer Type reference (TYPE) GRRM_OB_T_AG_COLOR List of aggregation scores 20110506

Method GET_AG_COLORS on class CL_GRRM_OB_AG_SERVICE has no exception.

Method GET_AG_COLOR_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COLOR_ID Call by reference Type reference (TYPE) GRRM_OB_AG_COLOR_ID Aggregation score interval ID 20110506
2 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language description 20110506
3 Returning RV_RESULT Value transfer Type reference (TYPE) GRRM_OB_AG_COLOR_DESCRIPT Score description 20110506

Method GET_AG_COLOR_TEXT on class CL_GRRM_OB_AG_SERVICE has no exception.

Method GET_LOOKUP_TABLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_DATA Call by reference Object reference (TYPE REF TO) DATA Aggregation lookup table 20110509
2 Exporting ET_FIELDMAP Call by reference Type reference (TYPE) GRRM_OB_T_AG_FIELDMAP Aggregation lookup table fieldmap 20110509
3 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20110509
4 Importing IT_OBJECT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID List of input objects for aggregation lookup table 20110509
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110509

Method GET_LOOKUP_TABLE_DEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_STRUCDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Reference to the lookup structrure descriptor 20110509
2 Exporting EO_STRUCTURE Call by reference Object reference (TYPE REF TO) DATA 20110509
3 Exporting EO_TABLE Call by reference Object reference (TYPE REF TO) DATA 20110509
4 Exporting EO_TABLEDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Reference to the lookup table descriptor 20110509
5 Exporting ET_FIELDMAP Call by reference Type reference (TYPE) GRRM_OB_T_AG_FIELDMAP Field map for lookup aggregation 20110509
6 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20110509
7 Importing IT_OBJECT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Input objet IDs for lookup 20110509
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110509

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 20110610
2 Importing PAR1 Call by reference Type reference (TYPE) ANY 20110610
3 Importing PAR2 Call by reference Type reference (TYPE) ANY 20110610
4 Importing PAR3 Call by reference Type reference (TYPE) ANY 20110610
5 Importing PAR4 Call by reference Type reference (TYPE) ANY 20110610
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110610

Method SCORE_TO_COLOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SCORE Call by reference Type reference (TYPE) GRFN_SCORE Score 20110509
2 Returning RV_COLOR Value transfer Type reference (TYPE) GRRM_OB_AG_COLOR_ID Aggregation Color - Color ID 20110509

Method SCORE_TO_COLOR on class CL_GRRM_OB_AG_SERVICE has no exception.

Method SERIALIZE_LOOKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DATA Call by reference Object reference (TYPE REF TO) DATA Look up table with data 20110504
2 Importing IT_FIELDMAP Call by reference Type reference (TYPE) GRRM_OB_T_AG_FIELDMAP Field map for the look up table 20110504
3 Returning RV_DATA_XML Value transfer Type reference (TYPE) GRFN_XML XML 20110504

Method SERIALIZE_LOOKUP on class CL_GRRM_OB_AG_SERVICE has no exception.

Method SERIALIZE_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SETTINGS Call by reference Type reference (TYPE) GRRM_OB_S_AG_RULE_SETTINGS 20110526
2 Returning RV_DATA Value transfer Type reference (TYPE) GRFN_XML XML 20110526

Method SERIALIZE_SETTINGS on class CL_GRRM_OB_AG_SERVICE has no exception.

Method SERIALIZE_WAVERAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SETTINGS Call by reference Type reference (TYPE) GRRM_OB_S_AG_RULE_SETTINGS Aggregation rule settings 20110613
2 Importing IT_WEIGHT Call by reference Type reference (TYPE) GRRM_OB_T_AG_WEIGHT Objects weight 20110503
3 Returning RV_DATA Value transfer Type reference (TYPE) GRFN_XML XML 20110503

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