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

Use

This Business Add-In (BAdI) is used in the Commodity Pricing Engine (CA-GTF-CPE) component. It is called during the CPE formula evaluation process.

You can use this BAdI to implement your own logic (rounding routine) that you want the system to use for rounding when you execute a rounding rule.

You define the valid rounding rule in the Customizing activity Define Rounding Rule.

You can assign the rounding rule with its corresponding rounding routine at the following levels, listed least specific to most specific:

  • Application level (such as CRM, SD, or MM)
    • There is one default rounding rule per application.
    • The rounding rule is part of the default conversion rule per application.
  • Formula level
    • There is one default rounding rule per conversion place.
    • The rounding rule is part of the default conversion rule per conversion place.
  • Term level
    • There is one rounding rule for a term-specific conversion place.
    • The rounding rule is part of a conversion rule for a term specific conversion place.

If you make an assignment at more than one level, the system considers the most specific one during formula evaluation. For example, if you assign the rounding rule at both application level and formula level, the system considers the assignment at formula level during the evaluation.

You can assign the rounding rule

  • At application level in the Customizing activity Activate Commodity Pricing Engine
  • At formula or term level during the maintenance of a formula in Customizing or in a document.

In addition, you can assign the rounding rule to a conversion rule or quantity conversion rule in the following Customizing activities: Define Conversion Rule or Define Quantity Conversion Rule.

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 24, Rounding Routine.
  • You have defined the valid rounding rule in the Customizing activity Define Rounding Rule and entered the number of your logic as the rounding 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: ROUNDING

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