Ansicht
Dokumentation

CRM_TERRMAN_SIMU_KPI - BAdI: Implement Business Logic for Additional KPIs

CRM_TERRMAN_SIMU_KPI - BAdI: Implement Business Logic for Additional KPIs

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In (BAdI) to calculate the values of the additional Key Performance Indicators (KPIs). The BAdI defines the processing logic for additional KPIs that you create for territory simulation. It calculates OLD and NEW values of additional KPIs.

It contains BAdI interface IF_EX_CRM_TERRMAN_SIMU_KPI. This interface has method GET_KPI, with the following parameters:

IV_KPI_NAME:
Importing variable which contains the KPI name

IV_TERR_GUID:
Importing internal table which contains the territory GUID which is subjected to simulation

IT_ACCOUNTS:
Importing internal table which contains accounts associated with the territory in focus

IT_PRODUCTS:
Importing internal table which contains products associated with the territory in focus

IT_SALESAREAS:
Importing internal table which contains sales areas associated with the territory in focus

IV_GET_OLD:
Importing variable which contains the OLD value of the KPI

EV_KPI_VALUE:
Exporting reference variable which contains the NEW value of the KPI

CT_MESSAGES:
Changing internal table which contains the custom messages ,,,,

Import Parameters:
IV_KPI_NAME
IV_TERR_GUID
IT_ACCOUNTS
IT_PRODUCTS
IT_SALESAREAS
IV_GET_OLD

Changing Parameters:
CT_MESSAGES

Export Parameters:
EV_KPI_VALUE

Result:The result EV_KPI_VALUE is the value of the new KPI

Exceptions: In case of an exception, raise a message and add it to the changing parameter CT_MESSAGES






TXBHW - Original Tax Base Amount in Local Currency   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1965 Date: 20240523 Time: 154654     sap01-206 ( 28 ms )