SAP Knowledge Base Article - Public

3251628 - Message type "I" or "W" does not work for the BAdI "Service Document Check Before Save"

Symptom

An information with type "I" or warning message with type "W" is coded in the Cloud BAdI "Service Document Check Before Save", however, the information or the warning message is not raised in the message log when saving the service document.

Environment

  • SAP S/4HANA Cloud Public Edition 
  • SAP S/4HANA Cloud Private Edition
  • SAP S/4HANA

Cause

The "Check Before Save" BAdI is used to abort document saving. Messages that do not belong to an error with type "E" (such as "I" and "W") will not be raised in the message log when saving the service document. 

Resolution

  • According to the "Cause" part, this is the standard design of the "Check Before Save" BAdI.
  • Please consider to raise a new feature request to require for a BAdI with the function of "Service Header/Item Check", within which all types of messages can be raised in the message log. Please refer to the following KBA for more details about new feature requests: 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product
  • In the event the system being used is either SAP S/4HANA On Premise or SAP S/4HANA Private Cloud Edition, please use the BADI ORDER_SAVE to send your I/W message.

See Also

2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product

Keywords

Information, I, Warning message, W, BAdI, SrvOrdCheckBeforeSave, Service document, Service order, Service confirmation, Abort, CRMS4_SERV_CHECK_BEFORE_SAVE, Service, Badi, S/4HANA Cloud, export, warning, error, message,  , KBA , CRM-S4-SRV-SVO , S4CRM: Service Order , CRM-S4-SRV-SVO-2CL , S4CRM: Service Order (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions