SAP ABAP Data Element CPET_DATEOFFSETROUT (CPE Term - Date Offset 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_DATEOFFSETROUT
Short Description CPE Term - Date Offset 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 OffsetRtne 
Medium 20 Date Offset Routine 
Long 40 DateOff.Rtine:Period 
Heading OffsRtn 
Documentation

Definition

Specifies the routine for applying an offset to a given reference date.

Use

The date offset routine is called by the period determination routine 1.

The routine is technically an implementation of the BADI_CPE_FE_DATEOFFSET_ROUTINE Business Add-In (BAdI) The import parameters for this BAdI are reference date, time units, and calendar, and the output parameter is base date.

Dependencies

The customer name space for routines is 30.000 to 99.999.

Example

  • 0:    No Offset
  • 1:    N Days after
  • 2:    N Days before
  • 3:    N Weeks after
  • 4:    N Weeks before
  • 10:    First Workday of the Week
  • 11:    Last Workday of the Week
  • 12:    First Day of the Month
  • 13:    Last Day of the Month

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