SAP ABAP Data Element CPET_COMBROUT (CPE Formula - Routine for Combining Terms)
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_COMBROUT
Short Description CPE Formula - Routine for Combining Terms  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CPE_ROUTINE    
Data Type NUMC   Character string with only digits 
Length 7    
Decimal Places 0    
Output Length 7    
Value Table      
Further Characteristics
Search Help: Name CPE_ROUTINE    
Search Help: Parameters E_ROUTINE   
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 Comb. Rtn 
Medium 20 Combination Routine 
Long 40 Combination Routine 
Heading CombRtn 
Documentation

Definition

Specifies how the calculated rates of the terms are combined to calculate a rate for the formula.

Use

The combination routine is the part of the commodity pricing engine (CPE) that contains the logic for how to combine the calculated rates of the terms in order to calculate a rate for the formula.

The combination routine is called by the combination rule (called by Formula Evaluation Routine 1).

The routine is technically an implementation of the BADI_CPE_FE_COMBINATION_ROUTIN Business Add-In (BAdI).

The factors and quantities on formula level can be used as import parameters for this routine, for example, for calculating a weighted sum of the term rates.

Dependencies

The customer name space for routines is 30.000 to 99.999.

Example

  • 1: Lowest Term
  • 2: Highest Term
  • 3: Average of Terms
  • 4: Weighted Sum of Terms
  • 5: Sum of Terms
  • 20: Average of Summed Term Groups

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