Symptom
When the BAdi is called, the message type Error (E) in the BAdi is working but the Warning message or Information message is not raised in the system.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- Implement the BAdi in your system
- Reproduce the steps for the respective scenario
- Only message type Abend (A) and Error (E) are displayed
- The other messages types like Information (I) , Warning (W) , Exit (X), Status/Success (S) are not displayed.
Cause
Only error type Error (E) and Abend (A) is supported in BAdi due to framework limitations. It is not possible to raise any other error types from BOPF framework as it would lead to issues.
Resolution
Use the error type Error (E) or Abend (A) in BAdi implementation.
Keywords
Error (E), Abend (A), Information (I) , Warning (W) , Exit (X), Status (S), BAdi, message, Success , KBA , LO-MD-BP , Business Partners , Problem
Product
SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions