Ansicht
Dokumentation

BADI_CPE_CONVERSION - BAdI: CPE Formula Evaluation Conversion Routine

BADI_CPE_CONVERSION - BAdI: CPE Formula Evaluation Conversion Routine

ROGBILLS - Synchronize billing plans   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

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 define how to convert a rate from one combination of currency, price unit, and unit of measure to another combination. You define which currency, price unit, and unit of measure the system should convert the original rate to. You can have the system run the currency conversion for a specific day or with an average value for the currency exchange rate. You can use BAdI BADI_CPE_FE_QTY_CONV_ROUTINE to define how the quantity is converted from one unit of measure to another. For example, you can use routines or factors with fixed values for the conversion.

This logic is used when a conversion rule is executed.

You define the valid conversion rule in the Customizing activity Define Conversion Rule.

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

  • Application level (such as CRM, SD, or MM)
    There is one default conversion rule per application.
  • Formula level
    There is one default conversion rule per conversion place.
  • Term level
    There is one conversion rule per term-specific conversion place.

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

You assign the conversion rule:

  • At formula or term level during the maintenance of a formula in Customizing or in a document.

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 20,Conversion Routine.

You have specified the valid conversion rule in the Customizing activity Define Conversion Rule and entered the number of your new logic as the Conversion 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 defined the conversion for quantities from one unit of measure to another using BAdI BADI_CPE_FE_QTY_CONV_ROUTINE, if relevant.

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 the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

BAdI method documentation:
CONVERSION_ROUTINE






rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4316 Date: 20240523 Time: 231233     sap01-206 ( 122 ms )