Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/CPD/PWSSE_MP_ALERT - BAdI: Commercial Project Alerts

/CPD/PWSSE_MP_ALERT - BAdI: Commercial Project Alerts

General Material Data   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 Project Workspace(CA-CPD-WS) component of SAP Commercial Project Management (CA-CPD). You can use this BAdI to implement your own logic for processing business objects and calculating various parameters to display alerts to end users. Any implementation of this BAdI definition must work together with the alert framework of this solution.

You can define the following types of alerts:

  • Default alert conditions with parameters values through Customizing
  • User-defined alert conditions with parameter values through the personalization option in the user interface

Note that where user-defined alert conditions exist, they take priority over the default alert conditions in Customizing.

You have made the following settings in Customizing for SAP Commercial Project Management by choosing Master Data > Master Project:

  1. Defined alert IDs in Define Alerts
  2. Assigned alert IDs to master project types and configured default alert conditions for each alert ID in Make Settings for Master Projects

Optionally, you may also define your own alert conditions through the personalization option in the Cross-Project View.

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

You can create separate BAdI implementations using Alert ID as the filter condition. You can view the related Customizing setting by choosing SAP Commercial Project Management > Master Data > Master Project > Define Alerts.

The following default implementations are available:

  • /CPD/CL_PWS_WS_ALT_CRS
This BAdI implementation retrieves the number of change requests that are new or being processed for a master project.
  • /CPD/CL_PWS_WS_ALT_ISSUES
This BAdI implementation retrieves the number of new issues or issues being processed for a master project.
  • /CPD/CL_PWS_WS_ALT_NV_CUST_PAY
This BAdI implementation returns the total amount of customer payments against issued invoices.
  • /CPD/CL_PWS_WS_ALT_OD_BIL_PLAN
This BAdI implementation returns the number of days that have elapsed between the billing due date and non-creation of a debit memo request.
  • /CPD/CL_PWS_WS_ALT_OD_CUST_INV
This BAdI implementation returns the number of days that have elapsed since non-creation of invoices from open debit memos.
  • /CPD/CL_PWS_WS_ALT_OD_CUST_PAY
This BAdI implementation returns the number of days that have elapsed from the due date in the invoice and since which a customer payment has not been received.
  • /CPD/CL_PWS_WS_ALT_OD_VEN_PAY
This BAdI implementation returns the number of daysthat have elapsed since the due date for payment in the vendor invoice.
  • /CPD/CL_PWS_WS_ALT_OVD_VEN_INV
This BAdI implementation returns the number of days that have elapsed since the creation of a goods receipt and not creating the corresponding vendor invoice.
  • /CPD/CL_PWS_WS_ALT_OVERDUE_GR
This BAdI implementation calculates the duration by which goods receipt creation has not been carried out from the delivery date of purchase orders for business objects in the master project structure. This BAdI implementation returns the duration by which goods receipt creation is overdue.
  • /CPD/CL_PWS_WS_ALT_PLAN_ACT
This BAdI implementation calculates the percentage of actual cost compared to the planned cost for a master project.
  • /CPD/CL_PWS_WS_ALT_UNAPP_SES
This BAdI implementation returns the duration by which service entry sheets have remained unapproved.
  • /CPD/CL_PWS_WS_ALT_WIP
This BAdI implementation returns the total monetary value of activities that are currently being executed. This is also referred to as work in progress (WIP).

Method documentation:

For information about implementing BAdIs as part of the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.






Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 6319 Date: 20211204 Time: 023817     sap01-206 ( 80 ms )