Ansicht
Dokumentation

CRM_MKTGS_TGR - BAdI: Performance Evaluation Criteria and Calculation Method

CRM_MKTGS_TGR - BAdI: Performance Evaluation Criteria and Calculation Method

Fill RESBD Structure from EBP Component Structure   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 this BAdI to define a performance evaluation criterion or to create a calculation method for determining the tiered growth rebate (TGR) in a trade promotion.

The performance evaluation criterion in the standard configuration uses a base dimension and a comparison dimension. In this BAdI, you can define the base and comparison dimensions you want to use, or create a new performance evaluation criterion that may be as simple as a single figure from a database or spreadsheet.

The BAdI interface name is IF_EX_CRM_MKTGS_TGR. This interface contains four methods:

  • GET_CALC_METHOD
  • GET_EVAL_CRIT
  • GET_COMP_KPI_TYPE
  • GET_BASE_KPI_TYPE

GET_CALC_METHOD

This method retrieves the calculation method. It uses the following required parameters:
  • IV_CALCMETHOD_ID (type importing) is the ID of the calculation method

  • ET_MESSAGES (type exporting) is the type of TGR message table

  • ER_CALCMETHOD (type exporting) is the generic calculation method

GET_EVAL_CRIT

This method retrieves the evaluation criteria used in the calculation method. It uses the following required parameters:
  • IV_TIER_TYPE (type Importing) is the tier ID for type definition

  • IV_TGR_TYPE (type Importing) is the TGR ID for type definition

  • ET_MESSAGES (type Exporting) is the type of TGR message table

  • ER_EVAL_CRIT (type Exporting) is the parent class of all evaluation criteria classes

GET_COMP_KPI_TYPE

This method retrieves the comparison dimension key figure. It uses the following required parameters:
  • IV_COMP_KPI_TYPE (type Importing) is the type of the comparison dimension key figure

  • ET_MESSAGES (type Exporting) is the type of TGR message table

  • EV_COMP_KPI (type Exporting) is the generic calculation method

GET_BASE_KPI_TYPE

This method retrieves the base dimension key figure. It uses the following required parameters:
  • IV_BASE_KPI_TYPE (type Importing) is the type of the base dimension key figure

  • ET_MESSAGES (type Exporting) is the type of TGR message table

  • EV_BASE_KPI (type Exporting) is the generic calculation method

In the standard system, the BAdI is not implemented.

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.






General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4136 Date: 20240523 Time: 161735     sap01-206 ( 97 ms )