SAP ABAP Data Element CPET_PERDETROUT (CPE Term- Period Determination Routine for Commodity Pricing)
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_PERDETROUT
Short Description CPE Term- Period Determination Routine for Commodity Pricing  
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 PerDetRtne 
Medium 20 Period Det. Routine 
Long 40 Period Determination Routine 
Heading PerDtRt 
Documentation

Definition

Specifies the routine for calculating a period and a list of dates that should be evaluated.

Use

The period determination routine is called by the period determination rule.

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

Dependencies

The customer name space for routines is 30.000 to 99.999.

Example

  • 1 (SAP CPE Period Determination):
    This implementation applies the offset to the reference date to obtain the base date. Then it adds time units before and after the base date, possibly excluding the base date. This implementation constructs a list of time stamps that is limited by the calculated start and end date # and for which the quotation or currency date should be read. This list can also be restricted up to a certain 'read-until' date.

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