Ansicht
Dokumentation

MM_PUR_S4_PO_MOD_HEA - BAdI: Modify Purchase Order Header

MM_PUR_S4_PO_MOD_HEA - BAdI: Modify Purchase Order Header

Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Use

This Business Add-In (BAdI) is used in the Purchasing (MM-PUR-PO) component.

You use this BAdI to modify values of custom fields in purchase orders on document header level.
This BAdI is primarily intended to be used in the apps Custom Fields and
Custom Logic. In SAP S/4HANA (on-premise), in SE18/SE19, you have the
more powerful BAdI Enhancements for Purchase Order Processing:
Customer (ME:PROCESS_PO_CUST)
at your disposal.
Using the BAdI, you can raise messages by filling the changing parameter
table MESSAGES.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Modify message:
DATA: ls_message LIKE LINE OF messages.
ls_message-messagetype = 'E'.
ls_message-messagevariable 1 = 'Error from cloud BAdI'.
ls_message-messageid = 'MEPO'.
ls_message-messagenumber = '250'.
APPEND ls_message TO messages.






Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.

Length: 1748 Date: 20240523 Time: 195444     sap01-206 ( 83 ms )