SAP ABAP Class CL_GRFN_UTIL_CALCULATOR (Distribution Calculator)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_UTILITIES (Package) Various helping infrastructure for GRC ABAP
⤷
⤷
Properties
| Class | CL_GRFN_UTIL_CALCULATOR | |
| Short Description | Distribution Calculator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_UTILITIES | Various helping infrastructure for GRC ABAP |
| Created | 20080901 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GRFN_UTIL_CALCULATOR has no forward declaration.
Interfaces
Class CL_GRFN_UTIL_CALCULATOR has no interface implemented.
Friends
Class CL_GRFN_UTIL_CALCULATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | YT_FACTOR | Factor Table for Distribution Calculator | 20080901 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | to fill the factor table | 20080901 | |
| 2 | Instance method | Public | Method | to get the result of the distribution | 20080901 | |
| 3 | Instance method | Public | Method | to set the calculator to initial stage | 20080901 | |
| 4 | Instance method | Public | Method | to round the values. | 20081017 | |
| 5 | Instance method | Public | Method | to call the distribution "engine" | 20080901 |
Events
Class CL_GRFN_UTIL_CALCULATOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | FLOAT | Public | Type reference (TYPE) | F | 20080901 | |
|
| 2 | YS_FACTOR | Private | See coding | 20080901 | begin of yS_FACTOR,
pos type i,
base type float,
factor type float,
result type float,
end of ys_factor
|
||
| 3 | YT_FACTOR | Private | See coding | 20080901 | yt_factor type sorted table of ys_factor with unique key pos
|
Method Signatures
Method ADD_FACTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BASE | Value transfer | Type reference (TYPE) | FLOAT | Result of KPI Valuation: Value | 20080901 | |||
| 2 | I_FACTOR | Value transfer | Type reference (TYPE) | FLOAT | Factor for the Distribution | 20080901 | |||
| 3 | I_POS | Value transfer | Type reference (TYPE) | I | Synchronized Combination ID | 20080901 |
Method ADD_FACTOR on class CL_GRFN_UTIL_CALCULATOR has no exception.
Method GET_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_VALUE | Value transfer | Type reference (TYPE) | FLOAT | Result of KPI Valuation: Value | 20080901 | |||
| 2 | I_POS | Value transfer | Type reference (TYPE) | I | Synchronized Combination ID | 20080901 |
Method GET_RESULT on class CL_GRFN_UTIL_CALCULATOR has no exception.
Method RESET Signature
Method RESET on class CL_GRFN_UTIL_CALCULATOR has no parameter.
Method RESET on class CL_GRFN_UTIL_CALCULATOR has no exception.
Method ROUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DECIMALS | Value transfer | Type reference (TYPE) | GRFN_DECIMAL | Number of Decimal Places | 20081017 | |||
| 2 | IV_VALUE | Value transfer | Type reference (TYPE) | FLOAT | 20081017 | ||||
| 3 | RV_RESULT | Value transfer | Type reference (TYPE) | FLOAT | 20081017 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081020 |
Method SPREAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DECIMALS | Value transfer | Type reference (TYPE) | DECIMALS | Number of Decimal Places | 20080901 | |||
| 2 | I_VALUE | Value transfer | Type reference (TYPE) | FLOAT | Result of KPI Valuation: Value | 20080901 |
Method SPREAD on class CL_GRFN_UTIL_CALCULATOR has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 300 |