SAP Knowledge Base Article - Public

3198017 - Allowed Message Types in BAdi Implementation in S/4HANA Cloud System

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

  1. Implement the BAdi in your system
  2. Reproduce the steps for the respective scenario
  3. Only message type Abend (A) and Error (E) are displayed 
  4. 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