SAP ABAP IMG Activity W_VPK_BADI_0002 (BAdI: Change to Calculation When Generating Pricing Worklist)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-RPC (Application Component) Retail Pricing
     WCV1 (Package) IS-R: Sales pricing (Customizing)
IMG Activity
ID W_VPK_BADI_0002 BAdI: Change to Calculation When Generating Pricing Worklist  
Transaction Code S_AL0_96000674   (empty) 
Created on 20020115    
Customizing Attributes W_VPK_BADI   BAdI Attribute for Sales Pricing 
Customizing Activity W_VPK_BADI_0002   BAdI: Change to Calculation When Generating Pricing Worklist 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PWL_SP_DETERMINATION    

Use

This Business Add-In (BAdI) enables you influence the creation of price calculations to suit your own needs when structuring the pricing worklist in pricing.

You can make the following changes to the standard system:

  1. Check as to whether an entry is to be created in the pricing worklist.

    In the standard system, no entry is created if it is discovered when structuring the pricing item, that the vendor, the basic purchse price and the purchase price (net/net) have not changed.
    However, you can stipulate, for example, that no entry is to be created if the purchase price (net/net) has only changed marginally, or by less than a certain percentage, (see example).
  2. Definition of the sales price determination sequence

    In the standard system, sales price determination sequence '01' is used with a markup calculation when structuring a price calculation for the pricing worklist. You can also use other sales price determination sequencesthat you have defined in Customizing for pricing (see example).

You must create a suitable implementation for the method "PROCESSCHECK_AND_SP_DETSEQ_SET" for the two changes mentioned.

  1. Change to sales price calculation

    In the standard system, the price calculation is closed following structuring. However, this BAdI enables you to check whether a pricing worklist entry is to be generated at all. This means that you can still make changes to the price calculation (see example).

To change a price calculation, you need an implementation for the method "CALCULATION_ITEM_MODIFY".

Requirements

Standard settings

The Business Add-In is not activated in the standard system. The system behaves as described for the standard above.

Activities

Example

  • Check as to whether an entry is to be created in the pricing worklist

The check also allows you to analyze data for the material and the organizational level. As such, you can exclude entries for perishables from the pricing worklist, as these are priced daily based on changing wholesale prices.
Data from the pricing item can also be included. You can, for example, use the current sales price and the new purchase price (net/net) to calculate a margin and then make the decision regarding a new entry dependent on this margin or change to the margin.
You can also take into account in your decision whether the purchase price has increased or decreased.

  • Sales price determination sequence

For highly competitive materials, the sales price should not normally change, but you want to create a pricing worklist entry to so that you can check the margin. In this case, you could set sales price determination sequence '02' ("copy current sales price").

  • Second check as to whether an entry is to be generated in the pricing worklist

Following structuring of the sales price calculation, it is discovered that the sales price has not changed, despite that fact that the purchase price has changed. This could, for example, be due to the fact that an identical price point was determined in price point rounding. In this case, no entry needs to be created in the pricing worklist. The check may also be more detailed, in that the change to the margin is checked, for example.

  • Change to sales price calculation

There is an increase in the purchase price (net/net), and for certain material groups, such as those that are slightly competitive, you only want to pass on part of the sales price increase to the customer. You therefore calculate the amount by which you want to increase the current sales price from the calculated and the current sales price, according to certain rules. You then use this sales price in the price calculation (in the list field final price "ENDPR" if price point rounding is no longer to take place, or in list field sales price (gross) "VKPBR" if rounding is to continue). The sales price calculation is adjusted by the system.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020116 
SAP Release Created in 470