SAP ABAP Data Element CPET_CALCRULE (CPE Term - Calculation Rule)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   CA-GTF-CPE (Application Component) Commodity Pricing Engine
     CPE_BASIS (Package) Commodity Pricing Engine: Basic Objects
Basic Data
Data Element CPET_CALCRULE
Short Description CPE Term - Calculation Rule  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CPE_RULE    
Data Type CHAR   Character String 
Length 5    
Decimal Places 0    
Output Length 5    
Value Table      
Further Characteristics
Search Help: Name CPE_CALCRULE    
Search Help: Parameters RULE   
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Cal. Rule 
Medium 20 Calculation Rule 
Long 40 Rule for Calculation 
Heading CalRl 
Documentation

Definition

Defines how the commodity pricing engine (CPE) calculates one rate out of a list of price quotations.

Use

The calculation rule can be assigned to a term rule or maintained directly in a term.

During the term evaluation, all price quotations within the given period are returned to the calculation rule. From this input data, one rate - the value with reference to currency, price unit, and unit of measure (UoM) - is calculated. The internal logic behind this calculation is defined by the specified calculation routine assigned to the calculation rule.

It is also possible to define a minimum and a maximum rate to ensure that the calculated value will not be beyond certain limits.

Calculation rules can be defined in the CPE Customizing activity, Define Calculation Rule.

Dependencies

The customer namespace for Rules is A0000 to ZZZZZ.

Example

  • 1 (Average (Default)):    The average of the price quotations is calculated, no limits.
  • 2 (Minimum):        The lowest price quotation is taken, no limits.
  • 3 (Maximum):        The highest price quotation is taken, no limits.

History
Last changed by/on SAP  20130604 
SAP Release Created in 2004_1_46C