Ansicht
Dokumentation

/CPD/PWSSE_MP_KP - BAdI: Calculation of KPIs

/CPD/PWSSE_MP_KP - BAdI: Calculation of KPIs

CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Project Workspace(CA-CPD-WS) component of Commercial Project Management (CA-CPD). You can use this BAdI to implement your own logic to derive KPI figures from business objects associated with commercial project.

You have defined KPIs and activated those KPIs for which you have active BAdI implementations.

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

You can create separate BAdI implementations using KPI ID as the filter condition. To view the related Customizing setting, choose Commercial Project Management > Master Data > Commercial Project >Define KPIs.

The following default BAdI implementations are available:

  • /CPD/CL_PWS_KPI_MARGIN
This BAdI implementation retrieves information about margins from the business objects in the commercial project.
  • /CPD/CL_PWS_KPI_PLAN_ACTUAL_CO
This BAdI implementation retrieves information about project cost from the business objects in the commercial project.
  • /CPD/PWSSE_MP_COST_ALL
This BAdI implementation retrieves information about project cost from the business objects in the commercial project.
  • /CPD/PWSSE_MP_CPI
This BAdI implementation retrieves information about CPI from the business objects in the commercial project.
  • /CPD/PWSSE_MP_CR
This BAdI implementation retrieves the total number of change requests that are either new or being processed for a commercial project.
  • /CPD/PWSSE_MP_DEBT
This BAdI implementation retrieves the total debt owed to the commercial project with reference to sales orders or a PS project.
  • /CPD/PWSSE_MP_EAC
This BAdI implementation retrieves information about EAC from the business objects in the commercial project.
  • /CPD/PWSSE_MP_EV
This BAdI implementation retrieves information about EV from the business objects in the commercial project.
  • /CPD/PWSSE_MP_ISSUES
This BAdI implementation retrieves the total number of issues that are new or being processed for a commercial project.
  • /CPD/PWSSE_MP_PROGRESS
This BAdI implementation retrieves the cumulative percentage of completion (POC) for a commercial project based on execution of the Progress Analysis report (transaction CNE5). Note that the BAdI implementation does not exuecute the report but only displays the relevant information.
  • /CPD/PWSSE_MP_PROGRESS_ALL
This BAdI implementation retrieves the cumulative percentage of completion (POC) for a commercial project based on the execution of the Progress Analysis report (transaction CNE5). Note that the BAdI implementation does not exuecute the report but only displays the relevant information.
  • /CPD/PWSSE_MP_REVENUE
This BAdI implementation retrieves information about project revenue from the business objects in the commercial project.
  • /CPD/PWSSE_MP_REVENUE_ALL
This BAdI implementation retrieves information about project revenue from the business objects in the commercial project.
  • /CPD/PWSSE_MP_SPI
This BAdI implementation retrieves the SPI for a commercial project.
  • /CPD/PWSSE_MP_WIP
This BAdI implementation retrieves the unbilled revenues for a commercial project.

BAdI method documentation:

  • GET_EXP_DATA_TYPES
You can use this Business Add-In (BAdI) method to define the data type for a key performance indicator (KPI) that you want to measure.
You must create and activate your own implementation of this BAdI and add a short text to the implementation. You can do this in Customizing under Commercial Project Management > Master Data > Business Add-Ins > BAdI: Calculation of KPIs.
  • Import Parameters

IV_MP_KPI_ID: KPI ID for Commercial Project
  • Export Parameters

EV_OUT_DATA_CHARACTERISTIC: KPI Output Data Characteristic
EV_OUT_DATA_TYPE
  • GET_UNITS
You can use this Business Add-In (BAdI) method to retrieve information such as units of measurement, currency, and their corresponding descriptions.
You must create and activate your own implementation of this BAdI and add a short text to the implementation. You can do this in Customizing under Commercial Project Management > Master Data > Business Add-Ins > BAdI: Calculation of KPIs.
  • Import Parameters

IV_MP_KPI_ID: KPI ID for Commercial Project
IV_MP_GUID: Commercial Project GUID
  • Export Parameters

EV_QUANTITY_UNIT: Base Unit of Measure
EV_CURRENCY_UNIT: Currency Key
EV_QUANTITY_UNIT_DESC: Unit of Measurement Text
EV_CURRENCY_UNIT_DESC: Short Text of Currency
  • EXECUTE
You can use this Business Add-In (BAdI) method to write your own business logic to process relevant business objects and retrieve information for a key performance indicator (KPI).
You must create and activate your own implementation of this BAdI and add a short text to the implementation. You can do this in Customizing under Commercial Project Management > Master Data > Business Add-Ins > BAdI: Calculation of KPIs.
  • Import Parameters

IV_OLD_APPROACH: Flag for S/4HANA or non S/4HANA
IV_MP_GUID: Commercial Project GUID
IT_MP_GUID: Commercial Project GUID’s Table
IV_MP_KPI_ID: KPI ID for Commercial Project
IV_QUANTITY_UNIT: Base Unit of Measure
IV_CURRENCY_UNIT: Currency Key
  • Export Parameters

EV_ACTUAL_DATA: Actual Data
EV_PLANNED_DATA: Planned Data
EV_VARIANCE: Variance Data
ET_DATA: Commercial Project KPI
EV_NO_DATA: Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
  • REFRESH
You can use this Business Add-In (BAdI) method to refresh the data for a key performance indicator (KPI).
You must create and activate your own implementation of this BAdI and add a short text to the implementation. You can do this in Customizing under Commercial Project Management > Master Data > Business Add-Ins > BAdI: Calculation of KPIs.
  • Import Parameter

IV_MP_GUID: Commercial Project GUID
IV_MP_KPI_ID: KPI ID for Commercial Project






ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 8507 Date: 20240419 Time: 154437     sap01-206 ( 97 ms )