SAP ABAP Data Element CPET_REFDATEROUT (CPE Term - Reference Date and Time 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
Basic Data
Data Element CPET_REFDATEROUT
Short Description CPE Term - Reference Date and Time 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_REFDATEROUT    
Search Help: Parameters REFDATEROUT   
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 RefDate 
Medium 20 RefDate Routine 
Long 40 Reference Date Routine 
Heading DateRtn 
Documentation

Definition

Contains the logic for determining the reference date of a period.

Use

The reference date routine is called within the period determination routine 1.

The reference date (and time) is used as the starting point for calculating the period.

The reference dates per application can be defined in the commodity pricing engine (CPE) Customizing activity Choose Reference Date and Time Routines.

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

Dependencies

The different possible reference dates have to be provided by the calling application of the CPE.

The customer name space for routines is 30.000 to 99.999.

Example

  • 1: Item Pricing Date
  • 2: Item Exchange Rate Date
  • 3: Item Creation Date

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