SAP ABAP Data Element CPET_MAXWEIGHTING (CPE Term - Maximum Weighting of a Element During Averaging)
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_MAXWEIGHTING
Short Description CPE Term - Maximum Weighting of a Element During Averaging  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type DEC2    
Data Type DEC   Counter or amount field with comma and sign 
Length 2    
Decimal Places 0    
Output Length 2    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
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 MaxWeight 
Medium 20 Max. Weighting 
Long 40 Maximum Weighting 
Heading Max 
Documentation

Definition

Defines the maximum number of occurrences of one timestamp in a commodity pricing engine (CPE) calculation.

Use

By using date substitution routines for missing data or closed market days, it may happen that one date or timestamp will occur several times in the date list of the period determination. This means that one price quotation or currency exchange rate could appear several times in the average calculation.

Specifying the maximum weighting can limit the effects of this.

Dependencies

Example

In a case where you are using Closed Days Routine 21 (Use Next Workday), and where there is a public holiday on Monday, and where the period also contains the whole weekend, then the data from Tuesday would count four times.

That is because Saturday, Sunday and Monday would all be replaced by Tuesday (the next workday), and because Tuesday itself is part of the period.

By setting the maximum weighting to 2, the Tuesday data would only count twice.

History
Last changed by/on SAP  20110908 
SAP Release Created in 2004_1_620