Ansicht
Dokumentation

MM_PUR_S4_PO_OPEN - BAdI: Open Purchase Order

MM_PUR_S4_PO_OPEN - BAdI: Open Purchase Order

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

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

You use this BAdI to put a purchase order in display mode and make further processing of the purchase order impossible. This BAdI is primarily intended to be used in the apps Custom Fields and Custom Logic.

In SAP S/4HANA (on-premise), in transaction SE18/SE19, you have the more powerful BAdI Enhancements for Purchase Order Processing: Customer(ME_PROCESS_PO_CUST) at your disposal.

The following parameters are provided:

  • ISREADONLY
  • ISVALID

When opening an existing purchase order, the
default value for ISREADONLY = false -> The purchase order can be edited
Change value for ISREADONLY = true -> The purchase order is in read only mode and cannot be edited.

When opening an existing purchase order, the
default value ISVALID = abap_true -> The purchase order is valid.
Change value for ISVALID = abap_false -> The purchase order is not valid. It is impossible to continue processing the document.

Note:
In SAP GUI (ME22N/Change Purchase Order Advanced) no data is displayed!

Data is displayed in the app Manage Purchase Orders, but cannot
be edited.

In case you want to switch the purchase order to READ-ONLY mode,
parameter ISREADONLY needs to be set:
isreadonly = abap_true.

In case you want to hide the purchase order date, parameter ISVALID needs to be cleared:
isvalid = abap_false.

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.






CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2430 Date: 20240523 Time: 203009     sap01-206 ( 85 ms )