SAP ABAP IMG Activity BADI_CPE_DATEOFFSET (BAdI: CPE Formula Evaluation Date Offset Routine)
PI_BASIS (Software Component) Basis Plug-In
   CA-GTF-CPE (Application Component) Commodity Pricing Engine
     CPE_FA_FE (Package) Commodity Pricing: Formula Assembly and Evaluation (ABAP)
IMG Activity
ID BADI_CPE_DATEOFFSET BAdI: CPE Formula Evaluation Date Offset Routine  
Transaction Code S_BY3_13000007   (empty) 
Created on 20100915    
Customizing Attributes BADI_CPE_DATEOFFSET   BAdI: CPE Formula Evaluation Date Offset Routine 
Customizing Activity BADI_CPE_DATEOFFSET   BAdI: CPE Formula Evaluation Date Offset Routine 
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.


This Business Add-In (BAdI) is used in the Commodity Pricing Engine (CA-GTF-CPE) component. You can use this BAdI to define a customer-specific logic (date offset routine) according to which the system is to determine the base date. The base date is the reference date that has been postponed by a specific time period. The system uses the base date during formula evaluation to determine the valid period for pricing.

This BAdI is called during the CPE formula evaluation process.


You have defined the required routines and corresponding descriptions for the commodity pricing engine (CPE) in the Customizing activity Define CPE Routine for the submodule 13, Date Offset Routine.

You have assigned the valid date offset routine in Customizing for Commodity Pricing Engine under Term-Specific CPE Settings --> Define Period Determination Rule.

You can create and activate an implementation of the BADI_CPE_FE_REF_DATE_ROUTINE BAdI for determining the valid reference date.

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).


For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.


See also

BAdI method documentation:

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
Last changed by/on SAP  20100915 
SAP Release Created in 731