SAP ABAP IMG Activity BADI_CPE_CALCULATION (BAdI: CPE Formula Evaluation Calculation 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_CALCULATION BAdI: CPE Formula Evaluation Calculation Routine  
Transaction Code S_BY3_13000013   (empty) 
Created on 20100915    
Customizing Attributes BADI_CPE_CALCULATION   BAdI: CPE Formula Evaluation Calculation Routine 
Customizing Activity BADI_CPE_CALCULATION   BAdI: CPE Formula Evaluation Calculation Routine 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_CPE_FE_CALCULATION_ROUTIN    

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 (calculation routine) according to which the system is to calculate a term rate from several quotations to obtain, for example, the average, the highest, or the lowest commodity rate in a given period.

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 07, Calculation Routine.
  • You have specified the valid routines and made all term-specific settings for CPE. In particular you have defined the valid calculation rule in the Customizing activity Define Calculation Rule and entered the number of your logic as the calculation routine.
  • 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. In particular, you have created a results list with the stock market quotations for the specified quotation names if required by using BAdI BADI_CPE_FE_SOURCE_ROUTINE.

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:
CALCULATION_ROUTINE

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