SAP ABAP Class CL_CPE_FE_RISK (CPE risk data calculation)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   CA-GTF-CPE (Application Component) Commodity Pricing Engine
     CPE_FA_FE (Package) Commodity Pricing: Formula Assembly and Evaluation (ABAP)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CPE_FE_RISK CPE risk data calculation interface 20121211
Properties
Class CL_CPE_FE_RISK  
Short Description CPE risk data calculation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CPE_FA_FE   Commodity Pricing: Formula Assembly and Evaluation (ABAP) 
Created 20121107   SAP 
Last change 20130531   SAP 
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
# Interface Abstract Final Description Created on
1 IF_CPE_FE_RISK CPE risk data calculation interface 20121211
Friends
Class CL_CPE_FE_RISK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_CUSTOMIZING Instance attribute Private Object reference (TYPE REF TO) LIF_CPE_FE_RISK_CUSTOMIZING 20121211
2 MV_CONVPLACE Instance attribute Protected Type reference (TYPE) CPET_CONVPLACE CPE - Conversion Place 20130108
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_RISK_QUANT_BY_SURCHARGE Instance method Protected Method Adjust the risk quantity considering surcharges 20121211
2 CALCULATE_EXERCISE_RISK_DATA Instance method Protected Method 20130410
3 CALCULATE_PRCQUOT_RISK_QUANT Instance method Protected Method Calculate the risk quantity per quotation 20130228
4 CALCULATE_RISK_QUANTITY Instance method Protected Method Calculate the risk quantity considering quantity conversions 20121211
5 CONSTRUCTOR Instance method Public Constructor 20121211
6 GET_CONVERSION_DATA Instance method Protected Method Get formula and term conversion data from the buffer 20121211
7 GET_FACTORS_FOR_CALC Instance method Protected Method Get factors for risk quantity calculation 20121211
8 GET_RELEV_TERMS_AND_RISK_DATA Instance method Protected Method Define risk relevant terms and other risk relevant data 20121211
9 GET_RISKUOM Instance method Protected Method Determine the risk UoM 20121211
10 GET_RISK_BY_TERMGROUP Instance method Protected Method Define risk relevant terms and count group entries 20121211
11 GET_ROUTINES_OF_FORMULA Instance method Protected Method Get combination and quantity splitting routines of formula 20121211
12 GET_SURCHARGE_FACTORS Instance method Protected Method Adjust the quotation risk quantity considering surcharges 20130228
13 GET_TERMS_AND_TOTAL_QUANTITY Instance method Protected Method Define risk relevant terms and determine total term quantity 20121211
14 GET_TERMS_FOR_RISK_AND_COUNT Instance method Protected Method Define risk relevant terms and count them 20121211
15 GET_TERM_QUANTITY_IN_FORMUOM Instance method Protected Method Get quantity of term in formula UoM 20121211
16 READ_CONVERSION_FROM_TERMCONV Instance method Protected Method Read data from the termconv table 20121211
17 READ_FORMCONV_TABLE Instance method Protected Method Read data from the formconv table 20121211
18 READ_SURCHARGE_BY_DOCUMENT Instance method Protected Method Read surcharges via CPE document data 20121211
19 READ_TERMCONV_TABLE Instance method Protected Method Read data from the termconv table 20121211
20 READ_TERMINPUT_WRK Instance method Protected Method Read the terminput data 20121211
21 SET_FACTORS_BY_TERMGROUP Instance method Protected Method Set factors for relevant terms by group entries 20121211
22 SET_RISK_DATA_BY_QUANTITY Instance method Protected Method Set risk data for relevant terms by quantity 20121211
23 SET_RISK_DATA_BY_TERMNUMBER Instance method Protected Method Set risk data for relevant terms by number of terms 20121211
24 SET_RISK_FACTORS Instance method Protected Method Set risk factors for final risk quantity adjustment 20121211
25 SET_RISK_VALUE Instance method Protected Method Set risk value based on risk quantity 20130108
26 UNIT_CONVERSION Instance method Protected Method Execute simple unit conversion 20121211
Events
Class CL_CPE_FE_RISK has no event.
Types
Class CL_CPE_FE_RISK has no local type.
Method Signatures

Method ADJUST_RISK_QUANT_BY_SURCHARGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_RISKQUANTITY Call by reference Type reference (TYPE) CPET_RISKQUANTITY CPE Term - Risk Quantity 20121211
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
4 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211
5 Importing IV_RISKUOM Call by reference Type reference (TYPE) CPET_RISKUOM CPE Term - Risk UoM 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211

Method CALCULATE_EXERCISE_RISK_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_EXERCISES Call by reference Type reference (TYPE) CPET_PRCFIX_EXERDETAIL_COM_TAB CPE - Communication Structure for Fixation Exercise 20130410
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20130423
3 Importing IS_EXTENSION_COM Call by reference Type reference (TYPE) CPET_EXTENSION_COM CPE - Communication Structure for Extension Data 20130410
4 Importing IS_ROOT_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT CPE Term - Generic Output Structure during Evaluation 20130423
5 Importing IS_ROOT_TERM_RISK_DATA Call by reference Type reference (TYPE) CPET_TERM_RISK Risk data of a CPE term 20130410

Method CALCULATE_EXERCISE_RISK_DATA on class CL_CPE_FE_RISK has no exception.

Method CALCULATE_PRCQUOT_RISK_QUANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PDT_PRCQUOT Call by reference Type reference (TYPE) CPET_PDT_PRCQUOT_WRK_TAB Table Type of Work Structure for Price Quotation Data 20130228
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20130515
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20130228
4 Importing IS_RISK_DATA Call by reference Type reference (TYPE) CPET_TERM_RISK Risk data of a CPE term 20130228
5 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT CPE Term - Generic Output Structure during Evaluation 20130228

Method CALCULATE_PRCQUOT_RISK_QUANT on class CL_CPE_FE_RISK has no exception.

Method CALCULATE_RISK_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RISKQUANTITY Call by reference Type reference (TYPE) CPET_RISKQUANTITY CPE Term - Risk Quantity 20121211
2 Exporting EV_RISKUOM Call by reference Type reference (TYPE) CPET_RISKUOM CPE Term - Risk UoM 20121211
3 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
4 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
5 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211
6 Importing IV_FACTDENOM Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE CPE - Factor 2 to Define Weighting of Risk Element 20121211
7 Importing IV_FACTNUM Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE CPE - Factor 1 to Define Weighting of Risk Element 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_CPE_FE_RISK has no parameter.
Method CONSTRUCTOR on class CL_CPE_FE_RISK has no exception.

Method GET_CONVERSION_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
2 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK 20121211
3 Importing IT_TERMOUTPUT_TAB Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB CPE Term - Table Type for Generic Term Output in Evaluation 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED 20121211

Method GET_FACTORS_FOR_CALC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FACTDENOM Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE CPE - Factor 2 to Define Weighting of Risk Element 20121211
2 Exporting EV_FACTNUM Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE CPE - Factor 1 to Define Weighting of Risk Element 20121211
3 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
4 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
5 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211

Method GET_FACTORS_FOR_CALC on class CL_CPE_FE_RISK has no exception.

Method GET_RELEV_TERMS_AND_RISK_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_RELEVANT_TERMS Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
2 Exporting EV_NUMBER_OF_TERMS Call by reference Type reference (TYPE) I 20121211
3 Exporting EV_NUMBER_OF_TERMS_A Call by reference Type reference (TYPE) I 20121211
4 Exporting EV_NUMBER_OF_TERMS_B Call by reference Type reference (TYPE) I 20121211
5 Exporting EV_SUM_QUANTITY_OF_TERMS Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE CPE - Used for internal calculation (rounding, conversion) 20121211
6 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
7 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
8 Importing IT_TERMOUTPUT_TAB Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
9 Importing IV_COMBINATION_ROUTINE Call by reference Type reference (TYPE) CPET_COMBROUT 20121211
10 Importing IV_SPLITTING_ROUTINE Call by reference Type reference (TYPE) CPET_QUANSPLITROUT 20121211

Method GET_RELEV_TERMS_AND_RISK_DATA on class CL_CPE_FE_RISK has no exception.

Method GET_RISKUOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CONVPLACE Call by reference Type reference (TYPE) CPET_CONVPLACE CPE - Conversion Place 20121211
2 Exporting EV_RISKUOM Call by reference Type reference (TYPE) CPET_RISKUOM CPE Term - UoM for Risk Calculation 20121211
3 Importing IS_TERMINPUT_WRK Call by reference Type reference (TYPE) CPET_TERMINPUT_WRK CPE Term - Work Struct. for Changed Input for General Data 20121211
4 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT CPE Term - Generic Output Structure during Evaluation 20121211
5 Importing IV_EVAL_TIMESTAMP Call by reference Type reference (TYPE) CPET_EVAL_TIMESTAMP CPE Formula - Evaluation Date and Time 20121211

Method GET_RISKUOM on class CL_CPE_FE_RISK has no exception.

Method GET_RISK_BY_TERMGROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_RELEVANT_TERMS Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
2 Exporting EV_NUMBER_OF_TERMS Call by reference Type reference (TYPE) I 20121211
3 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
4 Importing IT_TERMOUTPUT_TAB Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
5 Importing IV_TERMGROUP Call by reference Type reference (TYPE) CPET_TERMGROUP 20121211

Method GET_RISK_BY_TERMGROUP on class CL_CPE_FE_RISK has no exception.

Method GET_ROUTINES_OF_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COMBROUT Call by reference Type reference (TYPE) CPET_COMBROUT 20121211
2 Exporting EV_QUANSPLITROUT Call by reference Type reference (TYPE) CPET_QUANSPLITROUT 20121211
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK 20121211
4 Importing IS_FORMINPUT_WRK Call by reference Type reference (TYPE) CPET_FORMINPUT_WRK 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED 20121211

Method GET_SURCHARGE_FACTORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SURCHARGEFACTOR1 Call by reference Type reference (TYPE) CPET_SURCHARGEFACTOR1 CPE Term - Factor 1 when Combining Surcharge and Quotation 20130228
2 Exporting EV_SURCHARGEFACTOR2 Call by reference Type reference (TYPE) CPET_SURCHARGEFACTOR1 CPE Term - Factor 1 when Combining Surcharge and Quotation 20130228
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20130228
4 Importing IS_QUOTGRPPOS Call by reference Type reference (TYPE) CPEC_QUOTGRPPOS CPE Term - Position in Quotation Group 20130228

Method GET_SURCHARGE_FACTORS on class CL_CPE_FE_RISK has no exception.

Method GET_TERMS_AND_TOTAL_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_RELEVANT_TERMS Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
2 Exporting EV_SUM_QUANTITY_OF_TERMS Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE 20121211
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
4 Importing IT_TERMOUTPUT_TAB Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
5 Importing IV_COMBINATION_ROUTINE Call by reference Type reference (TYPE) CPET_COMBROUT 20121211
6 Importing IV_SPLITTING_ROUTINE Call by reference Type reference (TYPE) CPET_QUANSPLITROUT 20121211

Method GET_TERMS_AND_TOTAL_QUANTITY on class CL_CPE_FE_RISK has no exception.

Method GET_TERMS_FOR_RISK_AND_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_RELEVANT_TERMS Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
2 Exporting EV_NUMBER_OF_TERMS Call by reference Type reference (TYPE) I 20121211
3 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
4 Importing IT_TERMOUTPUT_TAB Call by reference Type reference (TYPE) CPET_TERMOUTPUT_TAB 20121211
5 Importing IV_TERMGROUP Call by reference Type reference (TYPE) CPET_TERMGROUP 20121211

Method GET_TERMS_FOR_RISK_AND_COUNT on class CL_CPE_FE_RISK has no exception.

Method GET_TERM_QUANTITY_IN_FORMUOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_QUANTITY_OF_TERM Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE 20121211
2 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
3 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211

Method GET_TERM_QUANTITY_IN_FORMUOM on class CL_CPE_FE_RISK has no exception.

Method READ_CONVERSION_FROM_TERMCONV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TERMCONV Call by reference Type reference (TYPE) CPET_TERMCONVOUT_WRK CPE Term - Work Struct. for Result of Conversion 20121211
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
3 Importing IV_CONVPLACE Call by reference Type reference (TYPE) CPET_CONVPLACE CPE - Conversion Place 20121211
4 Importing IV_TERMCONVOUT_GUID Call by reference Type reference (TYPE) CPET_TERMCONVOUT_GUID CPE Term - GUID for Conversion Result 20121211
5 Importing IV_USEDUOM_FROM Call by reference Type reference (TYPE) CPET_UOMFROM CPE - Unit of Measure to Be Converted During Conv. ('From') 20121211
6 Importing IV_USEDUOM_TO Call by reference Type reference (TYPE) CPET_UOMTO CPE - Unit of Measure Converted to During Conversion 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211

Method READ_FORMCONV_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_USEDFACTORFROM Call by reference Type reference (TYPE) CPET_USEDFACTORFROM CPE - From-Factor Used for Conversion 20121211
2 Exporting EV_USEDFACTORTO Call by reference Type reference (TYPE) CPET_USEDFACTORTO CPE - To-Factor Used for Conversion 20121211
3 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
4 Importing IV_USEDUOM_FROM Call by reference Type reference (TYPE) CPET_UOMFROM CPE - Unit of Measure to Be Converted During Conv. ('From') 20121211
5 Importing IV_USEDUOM_TO Call by reference Type reference (TYPE) CPET_UOMTO CPE - Unit of Measure Converted to During Conversion 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211

Method READ_SURCHARGE_BY_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SURCHARGEFACTOR1 Call by reference Type reference (TYPE) CPET_SURCHARGEFACTOR1 CPE Term - Factor 1 when Combining Surcharge and Quotation 20121211
2 Exporting EV_SURCHARGEFACTOR2 Call by reference Type reference (TYPE) CPET_SURCHARGEFACTOR2 CPE Term - Factor 2 when Combining Surcharge and Quotation 20121211
3 Importing IV_COND_TYPE Call by reference Type reference (TYPE) CPET_COND_TYPE CPE: Condition Type for Commodity Pricing 20121211
4 Importing IV_DOCITEM_GUID Call by reference Type reference (TYPE) CPET_DOCITEM_GUID CPE Caller - GUID of Document Item 20130411
5 Importing IV_EVAL_TIMESTAMP Call by reference Type reference (TYPE) CPET_EVAL_TIMESTAMP CPE Formula - Evaluation Date and Time 20121211
6 Importing IV_FORMID Call by reference Type reference (TYPE) CPET_FORMID CPE Formula - Key 20130411
7 Importing IV_FORMINPUT_GUID Call by reference Type reference (TYPE) CPET_FORMINPUT_GUID CPE Formula - GUID of Changed Input for General Data 20121211
8 Importing IV_TERMNO Call by reference Type reference (TYPE) CPET_TERMNO CPE Term - Number in Formula 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211

Method READ_TERMCONV_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TERMCONV Call by reference Type reference (TYPE) CPET_TERMCONVOUT_WRK CPE Term - Work Struct. for Result of Conversion 20121211
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
3 Importing IV_CONVPLACE Call by reference Type reference (TYPE) CPET_CONVPLACE CPE - Conversion Place 20121211
4 Importing IV_TERMCONVOUT_GUID Call by reference Type reference (TYPE) CPET_TERMCONVOUT_GUID CPE Term - GUID for Conversion Result 20121211
5 Importing IV_USEDUOM_FROM Call by reference Type reference (TYPE) CPET_UOMFROM CPE - Unit of Measure to Be Converted During Conv. ('From') 20121211
6 Importing IV_USEDUOM_TO Call by reference Type reference (TYPE) CPET_UOMTO CPE - Unit of Measure Converted to During Conversion 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211

Method READ_TERMINPUT_WRK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TERMINPUT_WRK Call by reference Type reference (TYPE) CPET_TERMINPUT_WRK CPE Term 20121211
2 Importing IV_COND_TYPE Call by reference Type reference (TYPE) CPET_COND_TYPE CPE: Condition Type for Commodity Pricing 20121211
3 Importing IV_DOCITEM_GUID Call by reference Type reference (TYPE) CPET_DOCITEM_GUID CPE Caller - GUID of Document Item 20130411
4 Importing IV_EVAL_TIMESTAMP Call by reference Type reference (TYPE) CPET_EVAL_TIMESTAMP CPE Formula - Evaluation Date and Time 20121211
5 Importing IV_FORMID Call by reference Type reference (TYPE) CPET_FORMID CPE Formula - Key 20130411
6 Importing IV_FORMINPUT_GUID Call by reference Type reference (TYPE) CPET_FORMINPUT_GUID CPE Formula - GUID of Changed Input for General Data 20121211
7 Importing IV_TERMNO Call by reference Type reference (TYPE) CPET_TERMNO CPE Term - Number in Formula 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211

Method SET_FACTORS_BY_TERMGROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FACTDENOM Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE CPE - Used for internal calculation (rounding, conversion) 20121211
2 Exporting EV_FACTNUM Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE CPE - Used for internal calculation (rounding, conversion) 20121211
3 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
4 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211

Method SET_FACTORS_BY_TERMGROUP on class CL_CPE_FE_RISK has no exception.

Method SET_RISK_DATA_BY_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RISK_DATA Call by reference Type reference (TYPE) CPET_TERM_RISK 20121211
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
4 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211
5 Importing IV_SUM_QUANTITY_OF_TERMS Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE 20121211

Method SET_RISK_DATA_BY_QUANTITY on class CL_CPE_FE_RISK has no exception.

Method SET_RISK_DATA_BY_TERMNUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RISK_DATA Call by reference Type reference (TYPE) CPET_TERM_RISK Risk data of a CPE term 20121211
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
4 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211

Method SET_RISK_DATA_BY_TERMNUMBER on class CL_CPE_FE_RISK has no exception.

Method SET_RISK_FACTORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RISKFACTDENOM Call by reference Type reference (TYPE) CPET_RISKFACTOR2 CPE - Factor 2 to Define Weighting of Risk Element 20121211
2 Exporting EV_RISKFACTNUM Call by reference Type reference (TYPE) CPET_RISKFACTOR1 CPE - Factor 1 to Define Weighting of Risk Element 20121211
3 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20121211
4 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20121211
5 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20121211

Method SET_RISK_FACTORS on class CL_CPE_FE_RISK has no exception.

Method SET_RISK_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_RISK_DATA Call by reference Type reference (TYPE) CPET_TERM_RISK Risk data of a CPE term 20130108
2 Importing IR_RISK_DATA Call by reference Object reference (TYPE REF TO) CL_CPE_FE_RISK_DATA CPE risk data 20130108
3 Importing IS_FORMDOC_WRK Call by reference Type reference (TYPE) CPET_FORMDOC_WRK CPE Formula - Work Struct. for Grouping and General Result 20130108
4 Importing IS_TERMOUTPUT Call by reference Type reference (TYPE) CPET_TERMOUTPUT 20130108

Method SET_RISK_VALUE on class CL_CPE_FE_RISK has no exception.

Method UNIT_CONVERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UOM_FROM Call by reference Type reference (TYPE) MSEHI Unit of Measurement 20121211
2 Importing IV_UOM_TO Call by reference Type reference (TYPE) MSEHI Unit of Measurement 20121211
3 Importing IV_USEDQUAN Call by reference Type reference (TYPE) CPET_INTERNAL_VALUE 20121211
4 Returning RV_USED_QUANTITY Value transfer Type reference (TYPE) CPET_INTERNAL_VALUE 20121211
# Exception Resumable Description Created on
1 CX_CPE_EVALUATION_TERMINATED CPE Evaluation Terminated 20121211
History
Last changed by/on SAP  20130531 
SAP Release Created in