SAP ABAP Data Element CPET_DATELISTROUT (CPE Term - Date List Routine for Period Determination)
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_DATELISTROUT
Short Description CPE Term - Date List Routine for Period Determination  
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 List Rtine 
Medium 20 Date List Routine 
Long 40 DateListRtne:Period 
Heading ListRtn 
Documentation

Definition

Specifies the routine for creating a list of timestamps within the determined period.

The commodity pricing engine (CPE) reads quotation and currency data by using timestamps as a key field. The determined period, with its start and end timestamps, has to be converted into a list of timestamps that specify the key fields searched by the CPE for the requested data.

Use

The date list routine can be assigned to a period determination rule and is called by period determination routine 1.

The routine is technically an implementation of the BADI_CPE_FE_DATE_LIST_ROUTINE Business Add-In (BAdI). The import parameters are first timestamp, last timestamp, and calendar.

Dependencies

The customer name space for routines is 30.000 to 99.999.

Example

  • 1:    1 Entry per Day: without Time (Default)
  • 2:    1 Entry per Day: at 12:00:00
  • 10:    1 Entry per Week: Monday without Time

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