SAP ABAP Data Element CPET_TERMTYPE (CPE Term - Term Calculation Type)
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_TERMTYPE
Short Description CPE Term - Term Calculation Type  
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 Calc.Type 
Medium 20 Calculation Type 
Long 40 Calculation Type of a Term 
Heading TrmType 
Documentation

Definition

Defines the term type, which determines how the term rate is calculated.

Use

A commodity pricing engine (CPE) formula can consist of several terms. Each term can have its own term calculation type.

The routine for the term calculation type is technically an implementation of the BADI_CPE_FE_TERM_TYPE Business Add-In (BAdI), and is called from the term evaluation.

Dependencies

The customer name space for routines is 30.000 to 99.999.

Example

  • 1 (Rate Based 1):        All values are converted into the format of the term rate
  • 2 (Rate Based 2):        All values are converted into the format of the quotation rate
  • 3 (Rate based 3):        All values are converted into the format of the surcharge rate
  • 20 (Fixed Term Rate):    The term rate is given by a fixed value, currency, price unit, and unit of measure
  • 1000 (Value Based):    All values are calculated with reference to the whole commodity quantity of the item

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