SAP Knowledge Base Article - Public

3614072 - No Warning or Information Message in BAdI /CPD/ENGMT_PROJ_SAVE

Symptom

After implementing BAdI "/CPD/ENGMT_PROJ_SAVE (Custom Checks on Project Save)", error messages are displayed correctly upon saving the project. However, warning and information messages are not shown to the user.

Environment

SAP S/4HANA Cloud Public Edition 2502

Reproducing the Issue

  1. Implement BAdI /CPD/ENGMT_PROJ_SAVE to perform validations when saving a project
  2. Make changes to relevant fields for a customer project in "Plan Customer Projects" app
  3. An error message can be displayed successfully, but warning message and informational message are not shown upon saving the project

Cause

The current system behavior does not support warning (W) or information (I) messages for the BAdI "/CPD/ENGMT_PROJ_SAVE (Custom Checks on Project Save)". Only error (E) messages are supported.

Resolution

Set the message type to "Error" when implementing the BAdI "/CPD/ENGMT_PROJ_SAVE (Custom Checks on Project Save)".

See Also

SAP Help Portal: App Extensibility: Plan Customer Projects

Keywords

Warning, Information, Error Message, /CPD/ENGMT_PROJ_SAVE, BADI, Custom Logic, Custom Checks on Project Save, Message Type, Plan Customer Projects, Extensibility , KBA , CA-CPD-SS , S/4HANA Public Cloud – Professional Service Projects , Problem

Product

SAP S/4HANA Cloud Public Edition 2502