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 T_FACTOR Instance attribute Private Type reference (TYPE) YT_FACTOR Factor Table for Distribution Calculator 20080901
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FACTOR Instance method Public Method to fill the factor table 20080901
2 GET_RESULT Instance method Public Method to get the result of the distribution 20080901
3 RESET Instance method Public Method to set the calculator to initial stage 20080901
4 ROUND Instance method Public Method to round the values. 20081017
5 SPREAD 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 Importing I_BASE Value transfer Type reference (TYPE) FLOAT Result of KPI Valuation: Value 20080901
2 Importing I_FACTOR Value transfer Type reference (TYPE) FLOAT Factor for the Distribution 20080901
3 Importing 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 Returning E_VALUE Value transfer Type reference (TYPE) FLOAT Result of KPI Valuation: Value 20080901
2 Importing 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 Importing IV_DECIMALS Value transfer Type reference (TYPE) GRFN_DECIMAL Number of Decimal Places 20081017
2 Importing IV_VALUE Value transfer Type reference (TYPE) FLOAT 20081017
3 Returning RV_RESULT Value transfer Type reference (TYPE) FLOAT 20081017
# Exception Resumable Description Created on
1 ROUND_FAILED 20081020

Method SPREAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DECIMALS Value transfer Type reference (TYPE) DECIMALS Number of Decimal Places 20080901
2 Importing 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