Ansicht
Dokumentation

CRM_MKTPL_ALLOC_BADI - Extend Standard Functions in Allocation Planning

CRM_MKTPL_ALLOC_BADI - Extend Standard Functions in Allocation Planning

General Data in Customer Master   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In CRM_MKTPL_ALLOC_BADI enables you to connect additional functionality (for allocation planning in the Marketing Planner) to CRM.

To do so, the interface provides different methods that are called in the allocation planning function in CRM, whenever an enhancement has been implemented and activated.

NOTE: Whatever the scenario arising through the BADI's methods, CRM is always the leading system: every function is initiated from CRM.

This BAdI provides the following methods:

  1. EXTEND_ALLOCATION
    When saving an allocation, use this BAdI method in order to fill customer defined fields in append structures for the allocation header (DB table CRMD_MKTPL_AL00), the product assignments (DB table CRMD_MKTPL_AL01), the target group assignments (DB table CRMD_MKTPL_AL02), and the allocation data (DB table CRMD_MKTPL_AL03)
  2. FILL_MBDOC
    -- currently not used --
  3. GET_VISIBILITY_OFFSET
This method is designed for allocation planning using the visibility method. It can be used to calculate an offset quantity to be subtracted from the total quantity calculated for a product. A promotion could, for example, involve two products that are dependent on each other. The planned quantity of the second product should therefore take into account the planned quantity of the first (to ensure that the business partner is not over-allocated). In such a situation, this method would calculate the planned quantity of the dependent product within the period and subtract this quantity from the total allocation period.
  1. GET_PRODUCT_LIFT
This method can be used to calculate a product share within a brand share. This method is used in the visibility method.
  1. RANKING_EXIT
This method can be used to apply customer-specific ranking logic where standard ranking does not fulfill their needs, and/or to overwrite the input ranking parameters.
  1. POST_ALLOCATION
This method can be used to calculate customer-specific results that could help them to evaluate the allocation (whether generated or simulated). It can also modify the allocation data if some business requirements applied.
  1. GET_VALUATION
This method can be used to get the product valuation from the system. The allocation function will make the valuation field in the product grid ready for input whenever no valuation is retrieved from the system.
  1. REPORT_ALLOC
Before saving the allocation, the report allocation method can be used to analyze the allocation in extended reporting mode. To do so, it can call BW or InfoSet queries.
  1. CONVERT_UOM
This method can be used to apply a customer-specific unit of measure, whenever a standard unit of measure cannot be used.
  1. BUDGET_EXIT
This method can be used to apply customer-specific business rules if the allocation is over budget.
  1. UPDATE_ALLOCATION
    Business partners in target groups may be eliminated from or added to it, while the target group is still attached to an allocation. Use this method in order to implement how you want to deal with altering target groups. SAP delivers a default implementation for this method which implements a reallocation for altered target groups. This method is called when you press the button Update on the initial screen in the Allocations tabstrip.






General Material Data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4219 Date: 20240523 Time: 155229     sap01-206 ( 84 ms )