SAP ABAP IMG Activity BADI_CPE_DATE_SUBST (BAdI: CPE Formula Evaluation Date Substitution Routine)
Hierarchy
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_DATE_SUBST BAdI: CPE Formula Evaluation Date Substitution Routine  
Transaction Code S_BY3_13000012   (empty) 
Created on 20100915    
Customizing Attributes BADI_CPE_DATE_SUBST   BAdI: CPE Formula Evaluation Date Substitution Routine 
Customizing Activity BADI_CPE_DATE_SUBST   BAdI: CPE Formula Evaluation Date Substitution Routine 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_CPE_FE_DATE_SUBST_ROUTINE    

Use

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 substitution routine) according to which the system is to proceed if it cannot read any market data for commodities or currencies for a timestamp of the date list.

This BAdI is called during the CPE formula evaluation process.

Requirements

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 25, Date Substitution Routine.

You have specified the valid closed market days routine and the missing entry routine in the Customizing activity Define Period Determination Rule.

You have created and activated an implementation of the BAdIs that are relevant for all the parts of CPE Formula Evaluation for which you want to create your own logic. Most importantly, you have used BAdI BADI_CPE_FE_DATE_LIST_ROUTINE to create a list of timestamps for which the BAdI BADI_CPE_FE_SOURCE_ROUTINE reads the appropriate market data.

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).

Activities

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

Example

See also

BAdI method documentation:
SUBSTITUTE_DATES

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 
History
Last changed by/on SAP  20100915 
SAP Release Created in 731