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 | 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 | Constant | Public | Type reference (TYPE) | ROLLNAME | 'GRRM_OB_AG_COLOR_ID' | Data element (semantic domain) | 20110503 | ||
| 2 | Constant | Public | Type reference (TYPE) | SYLANGU | 'E' | Language Key of Current Text Environment | 20110506 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'LOOKUP_DATA' | 20110504 | |||
| 4 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'OBJECT_COLOR_' | Field Name | 20110504 | ||
| 5 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'RESULT_COLOR' | Field Name | 20110503 | ||
| 6 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_ACTION | 'CLOSE' | Aggr Run Action: Close | 20110511 | ||
| 7 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_ACTION | 'IN_PROCESS' | Aggr Run Action: In Process | 20110511 | ||
| 8 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_ACTION | 'JOB_ERROR' | Aggr Run Action: Job Error | 20110511 | ||
| 9 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_ACTION | 'PUBLISH' | Aggr Run Action: Publish | 20110511 | ||
| 10 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_STATUS | 'CLOSED' | Aggr. Run Status: Closed | 20110511 | ||
| 11 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_STATUS | 'IN_PROCESS' | Aggr. Run Status: In Process | 20110511 | ||
| 12 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_STATUS | 'JOB_ERROR' | Aggr. Run Status: Job Error | 20110511 | ||
| 13 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RUN_STATUS | 'PUBLISHED' | Aggr. Run Status: Published | 20110511 | ||
| 14 | Constant | Public | Type reference (TYPE) | GRRM_OB_AG_RULE_NOT_DEFINED | 'I' | Not defined behavior | 20110527 | ||
| 15 | 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 | Static method | Public | Method | Translate aggregatuib color to score | 20110509 | |
| 2 | Static method | Public | Method | Descerialize lookup | 20110503 | |
| 3 | Static method | Public | Method | Deserialize settings | 20110526 | |
| 4 | Static method | Public | Method | Deserialize weighting average | 20110503 | |
| 5 | Static method | Private | Method | Generate | 20110504 | |
| 6 | Static method | Public | Method | Get aggregation color | 20110506 | |
| 7 | Static method | Public | Method | Get all aggregation colors | 20110506 | |
| 8 | Static method | Public | Method | Get aggregation color description | 20110506 | |
| 9 | Static method | Public | Method | Create lookup table | 20110509 | |
| 10 | Static method | Public | Method | Build structure | 20110509 | |
| 11 | Static method | Private | Method | Raise error | 20110610 | |
| 12 | Static method | Public | Method | Translate aggregation score to color | 20110509 | |
| 13 | Static method | Public | Method | Seriazlize lookup | 20110503 | |
| 14 | Static method | Public | Method | Serialize settings | 20110526 | |
| 15 | 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 | IV_COLOR_ID | Call by reference | Type reference (TYPE) | GRRM_OB_AG_COLOR_ID | Aggregation Color - Color ID | 20110509 | |||
| 2 | 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 | EO_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Lookup table data | 20110504 | |||
| 2 | ET_FIELDMAP | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_FIELDMAP | Lookup table field mapping | 20110504 | |||
| 3 | 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 | IV_DATA | Call by reference | Type reference (TYPE) | GRFN_XML | XML | 20110526 | |||
| 2 | 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 | ES_SETTINGS | Call by reference | Type reference (TYPE) | GRRM_OB_S_AG_RULE_SETTINGS | Aggregation rule settings | 20110613 | |||
| 2 | ET_WEIGHT | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_WEIGHT | Objects weight | 20110613 | |||
| 3 | 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 | IO_PATTERN_LINE | Call by reference | Object reference (TYPE REF TO) | DATA | The source line | 20110504 | |||
| 2 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20110505 | |||
| 3 | IO_STRUCDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Descriptor of the lines in result table | 20110504 | |||
| 4 | IO_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | The source line | 20110504 | |||
| 5 | IT_COLOR | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_COLOR | The list of colors | 20110504 | |||
| 6 | IT_FIELDMAP | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_FIELDMAP | The list of fields | 20110504 | |||
| 7 | 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 | IV_COLOR_ID | Call by reference | Type reference (TYPE) | GRRM_OB_AG_COLOR_ID | 20110506 | ||||
| 2 | IV_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | 20110506 | |||
| 3 | IV_TEXT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110506 | |||
| 4 | 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 | IV_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Description language | 20110506 | ||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Include score descriptions | 20110506 | ||
| 3 | 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 | IV_COLOR_ID | Call by reference | Type reference (TYPE) | GRRM_OB_AG_COLOR_ID | Aggregation score interval ID | 20110506 | |||
| 2 | IV_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Language description | 20110506 | ||
| 3 | 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 | EO_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Aggregation lookup table | 20110509 | |||
| 2 | ET_FIELDMAP | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_FIELDMAP | Aggregation lookup table fieldmap | 20110509 | |||
| 3 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20110509 | |||
| 4 | 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 | 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 | EO_STRUCDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Reference to the lookup structrure descriptor | 20110509 | |||
| 2 | EO_STRUCTURE | Call by reference | Object reference (TYPE REF TO) | DATA | 20110509 | ||||
| 3 | EO_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20110509 | ||||
| 4 | EO_TABLEDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Reference to the lookup table descriptor | 20110509 | |||
| 5 | ET_FIELDMAP | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_FIELDMAP | Field map for lookup aggregation | 20110509 | |||
| 6 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20110509 | |||
| 7 | 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 | Generic GRC API exception | 20110509 |
Method RAISE_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NO | Call by reference | Type reference (TYPE) | SY-MSGNO | Message Number | 20110610 | |||
| 2 | PAR1 | Call by reference | Type reference (TYPE) | ANY | 20110610 | ||||
| 3 | PAR2 | Call by reference | Type reference (TYPE) | ANY | 20110610 | ||||
| 4 | PAR3 | Call by reference | Type reference (TYPE) | ANY | 20110610 | ||||
| 5 | PAR4 | Call by reference | Type reference (TYPE) | ANY | 20110610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_SCORE | Call by reference | Type reference (TYPE) | GRFN_SCORE | Score | 20110509 | |||
| 2 | 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 | IO_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Look up table with data | 20110504 | |||
| 2 | IT_FIELDMAP | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_FIELDMAP | Field map for the look up table | 20110504 | |||
| 3 | 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 | IS_SETTINGS | Call by reference | Type reference (TYPE) | GRRM_OB_S_AG_RULE_SETTINGS | 20110526 | ||||
| 2 | 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 | IS_SETTINGS | Call by reference | Type reference (TYPE) | GRRM_OB_S_AG_RULE_SETTINGS | Aggregation rule settings | 20110613 | |||
| 2 | IT_WEIGHT | Call by reference | Type reference (TYPE) | GRRM_OB_T_AG_WEIGHT | Objects weight | 20110503 | |||
| 3 | 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 |