SAP ABAP IMG Activity BADI_CPE_TERM_TYPE (BAdI: CPE Formula Evaluation Term Type 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_TERM_TYPE BAdI: CPE Formula Evaluation Term Type Routine  
Transaction Code S_BY3_13000004   (empty) 
Created on 20100915    
Customizing Attributes BADI_CPE_TERM_TYPE   BAdI: CPE Formula Evaluation Term Type Routine 
Customizing Activity BADI_CPE_TERM_TYPE   BAdI: CPE Formula Evaluation Term Type Routine 
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_CPE_FE_TERM_TYPE    


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 (term type routine) according to which the system is to calculate the term rate and currency, as well as the valid price unit and unit of measure for a special term type. For example, depending on the term type the system copies fixed term rates and term rates from reference documents or calculates the term rate based on the assigned term rule.

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 05,Term Type Routine.

You have assigned the valid term type to the corresponding term key, for example in Customizing for Materials Management under Commodity Pricing --> MM-Specific CPE Objects --> Define CPE Term or in Customizing for Sales and Distribution under Basic Functions --> Commodity Pricing --> SD-Specific CPE Objects --> Define CPE Term.

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