Hierarchy

⤷

⤷

IMG Activity
ID | /J7L/REA_PRICING | BAdI: Adapt Price and Cost Calculation |
Transaction Code | /J7L/85000051 | (empty) |
Created on | 20100727 | |
Customizing Attributes | /J7L/REA_PRICING | BAdI: Adapt Price and Cost Calculation |
Customizing Activity | /J7L/REA_PRICING | BAdI: Adapt Price and Cost Calculation |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /J7L/REA_PRICING |
Use
You can use this Business Add-In (BAdI) to adapt the algorithms for price and cost calculation that are used in the system in the following areas:
- Price calculation for individual master data objects (Price Calculation tab in the applications for editing master data) and for several master data objects (pricing analysis via information systems)
- Price calculation when condition records are created for Sales and Distribution (SD) or Materials Management (MM)
- Cost calculation when declarations are created per recycling partner (declaration system) or in standardized cost analysis (information system)
The interface /J7L/IF_REA_PRICING provides the following methods:
- GET_PRICE_DATE
The system uses this method to calculate the key date price.
- GET_PRICE_AVERAGE
The system uses this method to calculate the average price for a period.
- GET_PRICE_DETAILS
The system uses this method to run the detailed price and cost calculation for a key date, separated into item-dependent fee, weight-dependent fee, and header level.
- GET_PRICE_VERSIONS
This method provides the validity periods with identical prices for the calculations with the method GET_PRICE_DETAILS.
- GET_PRICE_LIST_HEADER
This method provides the price list header for the calculations with the method GET_PRICE_DETAILS.
- SET_MASTER_DATA
This method provides the master data for the calculations with the method GET_PRICE_DETAILS.
Requirements
Standard settings
If you do make make your own adaptations using this BAdI, the system uses the following implementations that guarantee the existing functions of the price and cost calculation:
- Fallback class /J7L/CL_PACK_DEFAULT_PRICING
The calculation of the license fee per packaging results from the sum of the weight-dependent fee (fraction weight * price per fraction) and the item-dependent fee (price per volume/are class * number of pieces).
The calculation of the license fee per article results from the sum of license fees per packaging. Petty rules, fraction formulas, and fee formulas that are stored in the recycling partner for price calculation are taken into account here. The system ignores price formulas.
- Sample implementation /J7L/CL_REPAK_01
The calculation of the license fee per packaging results from the weight-dependent fee (fraction weight * price per fraction) if the trade level requires it. Otherwise, the system calculates a blanket license fee (sum of fraction weights * price per trade level).
The calculation of the license fee per article results from the sum of license fees per packaging. The system determines the trade levels depending on the process (declaration, creating conditions) or the system uses the trade levels for the company code. Price formulas, petty rules, fraction formulas, or fee formulas that are stored in the recycling partner are not taken into account here.
- Sample implementation /J7L/CL_WEEE_HDLST
The calculation of the license fee per article results from the number of pieces if the price list unit of the trade level is nondimensional (number of pieces * price per trade level), or from the fraction weight if the price list unit of the trade level is not nondimensional (weight * price per trade level). The system always shows a license fee of 0 per packaging. The system determines the trade levels depending on the process (declaration, creating conditions) or the system uses the trade levels for the company code. Price formulas, petty rules, fraction formulas, or fee formulas that are stored in the recycling partner are not taken into account here.
Activities
Example
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 |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | /J7L/REA_PRICING | 0 | /J7L/REN0000003 | Recycling Administration Core Functions |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20100727 |
SAP Release Created in | 606 |