SAP ABAP Data Element CPET_CALCROUT (CPE Term - Calculation Routine)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷ CA-GTF-CPE (Application Component) Commodity Pricing Engine
⤷ CPE_BASIS (Package) Commodity Pricing Engine: Basic Objects
⤷ CA-GTF-CPE (Application Component) Commodity Pricing Engine
⤷ CPE_BASIS (Package) Commodity Pricing Engine: Basic Objects
Basic Data
Data Element | CPET_CALCROUT |
Short Description | CPE Term - Calculation Routine |
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 | Cal.Rout. |
Medium | 20 | Calculation Routine |
Long | 40 | Routine for Calculation |
Heading | 7 | CalcRtn |
Documentation
Definition
Specifies the routine used to calculate the rate. It specifies the logic for calculating the rate - the value with reference to currency, price unit, and unit of measure - from a list of price quotations.
Use
The calculation routine is called by the calculation rule of a commodity pricing engine (CPE) term.
The routine is technically an implementation of the BADI_CPE_FE_CALCULATION_ROUTIN Business Add-In (BAdI). The import parameter comprises a list of price quotations.
Dependencies
The customer name space for routines is 30.000 to 99.999.
Example
- 1: Average
- 2: Minimum
- 3: Maximum
- 4: Average per Quotation Name, then average per Quotation Group
History
Last changed by/on | SAP | 20130604 |
SAP Release Created in | 2004_1_46C |