SAP Knowledge Base Article - Preview

1709562 - Messages ignored in BAdIs ME_PROCESS_REQ_CUST , ME_PROCESS_PO_CUST and ME_PURCHDOC_POSTED, SAP ERP & S/4HANA

Symptom

Implemented the BAdI ME_PROCESS_PO_CUST , ME_PROCESS_REQ_CUST or ME_PURCHDOC_POSTED and have used one of the methods to issue a Warning (W), Status (S) or an Information (I) message.

  • The message is not displayed in the message log.
  • The same source code works for an error message (E) but does not work for W, S or I messages
  • The message issued within the CHECK method is issued correctly but when issued from the PROCESS_*, POST or other methods, they disappear.
  • In ME_PURCHDOC_POSTED, the system proceeds to save the document even though you issued an error in the BADI.


Read more...

Environment

  • Purchasing
  • Materials Management (MM)
  • SAP ERP Central Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

ECC, ME21N, ME22N, ME51N, ME52N, INVALIDATE(), status, save, requisition ,  BADI , error , warning , message , mmpur_message_forced ME_PURCHDOC_POSTED, method, post , KBA , MM-PUR-GF-CE , Customer Enhancements , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.