Ansicht
Dokumentation

CRM_MKT_BADI_MTKPL3 - BAdI: Additional Marketing Assignment Checking and Controlling Options

CRM_MKT_BADI_MTKPL3 - BAdI: Additional Marketing Assignment Checking and Controlling Options

Addresses (Business Address Services)   BAL Application Log Documentation  
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 this BAdI to implement additional processing for assignments in trade promotion management and campaign management. The BAdI is called for each individual assignment. An example of an assignment is a product.

The following BAdI implementations are activated by default:

  • CRM_MKTPL_OL_ASG_TPM_PROD_DIM
  • CRM_MKTPL_OL_ASG_TPM_TRDSPEND

Note: For more information, see SAP Note 1241739.

This BAdI is filter-dependent. Each implementation is specific to an assignment type. You can also have an implementation for each parent object type. To do this, the following filters are supported:

  • ASSIGNMENT_TYPE
  • OBJECT_TYPE (optional)

You can refer to the Customizing for marketing generic object layer meta data to get the possible values for the filters. To do so, perform the following:

  1. Go to Marketing Generic Object Layer Model Maintenance (transaction CRM_MKTGS_OL_MODEL) and select the Marketing Planner(MKT)application.
  2. Select All Object -> Assignment Relations to obtain the possible combinations for each object and assignment type.
  3. Select Object Definitions for additional information on each type of object meta data.
  4. Select Assignment Definitions for additional information on assignment meta data.

Note 1: The assignment BAdI implementation is only possible for assignments that support the BAdI functionality. Please check whether the BADI_ENABLED indicator is set for the assignment type in the Assignment Definition meta data.

Note 2: You can choose an empty OBJECT_TYPE filter for object type independent implementations. However, the filters must be defined in a unique way. Each object can only be assigned to one implementation.

Example 1: You can have one implementation for object type = DLM and one for <> DLM. However, you cannot have one for = DLM and one for = ( = no value).

Example 2: If you are initializing the list price or retail price in the spend value overview, you can use the following filters:

  • ASSIGNMENT_TYPE
  • CL_CRM_MKTGS_CONSTANTS=>ASG_TYPE_PRODUCT

  • CL_CRM_MKTGS_CONSTANTS=>ASG_TYPE_PRODUCT_CATEGORY

  • CL_CRM_MKTGS_CONSTANTS=>ASG_TYPE_PRODUCT_GROUP

  • OBJECT_TYPE
  • CL_CRM_MKTPL_CONSTANTS=>OBJECT_TYPE_TRADE

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.

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






Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 4453 Date: 20240523 Time: 174151     sap01-206 ( 117 ms )