SAP Knowledge Base Article - Public

3198017 - Allowed Message Types in the BADI Implementation in SAP S/4HANA Cloud Public Edition System

Symptom

  • When the BADI is called, the message type Error (E) in the BADI works.
  • Only Error (E) and Abend (A) message types are displayed, while Information (I), Warning (W), Exit (X, and Status/Success (S) messages are not displayed.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Implement the BADI.
  2. Reproduce the steps for the respective scenario
  3. Observe that only message type Abend (A) and Error (E) are displayed 
  4. Note that other message types like Information (I), Warning (W), Exit (X, and Status/Success (S) are not displayed. 

Cause

Resolution

Only error type Error (E) and Abend (A) is supported in the BADI due to framework limitations. Raising other message types from the BOPF framework is not possible as it will lead to issues. Thus, only use the error type Error (E) or Abend (A) in the BADI implementation.

Keywords

Error (E), Abend (A), Information (I) , Warning (W) , Exit (X), Status (S), BADI, message, Success , KBA , LO-MD-BP-2CL , Business Partners for Public Cloud , LO-MD-BP , Business Partners , Problem

Product

SAP S/4HANA Cloud Public Edition all versions