SAP ABAP Data Element CPET_PERDETRULE_Q (CPE Term - Period Determination Rule for Commodity Rates)
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_PERDETRULE_Q
Short Description CPE Term - Period Determination Rule for Commodity Rates  
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_PERDETRULE    
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 PerDetRule 
Medium 15 Period Det.Rule 
Long 20 Period Determ. Rule 
Heading 20 Period DetRule 
Documentation

Definition

Defines the rule for determining the period during which price quotations are considered.

Use

The period determination rule for commodity rates defines the following details:

  • Period determination routine - for calculating the period
  • Source Routine - for reading quotations from a specific table
  • Fields for calculating the period include the following:
    • Reference Date Routine - for choosing the starting point of the period determination
    • Date Offset Routine and Number of Time Units - for calculating the base date out of the reference date
    • Time UoM Routine and Time Units Before and Time Units After - for defining the length of the period before and after the base date
    • Excluding Base Date flag - to exclude the base date from the period
    • or
    • Fix Start Date/Time and Fix End Date/Time
  • Read-until routine - to restrict the use of data after a certain date
  • Date list routine - to define the number of entries within the period
  • Period determination calendar - to determine the dates when the market is closed
  • Missing entry routine - for handling missing data
  • Closed days routine - for handling days with closed market
  • Maximum weighting - to define the maximal weight of one entry during the calculation

You define period determination rules in the commodity pricing engine (CPE) Customizing activity, Define Period Determination Rule.

Dependencies

Example

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