Ansicht
Dokumentation

CRM_MKTPL_TSPEX - BAdI: Additional Settings for Trade Spend Exceptions

CRM_MKTPL_TSPEX - BAdI: Additional Settings for Trade Spend Exceptions

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Marketing(CRM-MKT) component.

You can use the BAdI to implement additional processing for trade spend exceptions in a trade promotion or deal.

In the standard system, there is no activated BAdI implementation. No default code is executed when there is no active customer implementation. The BAdI definition is not filter-dependent, and it is designed for single use.

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.

You want to distribute fixed spends according to volume. To determine the weighting for each product, the BAdI references a custom table that you created to store historical data, and which contains the volume sold for each. The system allots higher proportions of the fixed spend value to products that are sold more frequently.

The custom table for product volume sold contains the following values:

Product Volume
A 4,000
B 3,000
C 2,000
D 1,000
E 0

If the user enters a fixed spend of $ 10,000, the BAdI references the table and calculates the following distribution while the system creates trade spend exceptions:

Product Spend Value
A $4,000
B $3,000
C $2,000
D $1,000
E $0

E

This BAdI uses the interface IF_EX_CRM_MKTPL_TSPEX. For more information, display the interface in the Class Builder.






BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3129 Date: 20240523 Time: 164504     sap01-206 ( 103 ms )