Hierarchy

⤷

⤷

IMG Activity
ID | BADI_CPE_QTY_CONVERS | BAdI: CPE Formula Evaluation Quantity Conversion Routine |
Transaction Code | S_BY3_13000018 | (empty) |
Created on | 20100915 | |
Customizing Attributes | BADI_CPE_QTY_CONVERS | BAdI: CPE Formula Evaluation Quantity Conversion Routine |
Customizing Activity | BADI_CPE_QTY_CONVERS | BAdI: CPE Formula Evaluation Quantity Conversion Routine |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_CPE_FE_QTY_CONV_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 (quantity conversion routine) according to which the system converts quantities from one unit of measure to another. The system uses this logic when a quantity conversion rule is executed, which in turn takes place during execution of a conversion rule.
You define the quantity conversion rule in the Customizing activity Define Quantity Conversion Rule.
You define the conversion rule in the Customizing activity Define Conversion Rule.
You can assign the conversion rule with its corresponding quantity conversion routine at the following levels, listed 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 an 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.
SAP delivers a set of predefined quantity sources for providing the quantity data required for the conversion using an application-specific logic that you can implement in your BAdI. You can specify which quantity sources you want the system to retrieve the data from and assign them individually to each document category in the Customizing activity Choose Quantity Conversion Sources. You can also define your own quantity sources and fill their quantity data by implementing the corresponding application-specific BAdI.
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 22, Quantity Conversion Routine.
If you want to use data from your own quantity sources you have performed the following steps:
- You have specified the sources that you want to use for quantity conversion factors in CPE formulas in the Customizing activity Define Quantity Conversion Source.
- You have defined the documents for which the data of your own quantity source should be filled in the Customizing activity Choose Quantity Conversion Sources.
You have specified the valid quantity conversion rules in the Customizing activity Define Quantity Conversion Rule and entered the number of your new logic as the Quantity Conversion 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:
DO_QUANTITY_CONVERSION
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 |