ERPClimb logoERPClimb
SAP enhancementObjectME_GUI_PO_CUSTModuleMM_P2P

New to SAP MM / P2P? Start with the module overview

ME_GUI_PO_CUST — ME_GUI_PO_CUST BAdI for Custom Purchase Order Screens

Quick answer

ME_GUI_PO_CUST is used to add customer subscreens and UI fields to Enjoy purchase order processing. It is typically paired with ME_PROCESS_PO_CUST so UI transport and business logic remain separated. Consultants should understand SUBSCRIBE and the transport methods that move data between the GUI subscreen and the PO model.

SAP consultant reference for ME_GUI_PO_CUST: purpose, trigger/context, troubleshooting checks, safe implementation guidance and common production pitfalls.

Published 17 Nov 2026· 587 words

What it extends

ME_GUI_PO_CUST is used to add customer subscreens and UI fields to Enjoy purchase order processing, giving a project a supported way to extend the PO screen without modifying the standard ME21N/ME22N transaction.

When consultants use it

It is typically paired with ME_PROCESS_PO_CUST so UI transport and business logic remain separated: the GUI BAdI owns the subscreen and field display, while the process BAdI owns validation and persistence of the custom data. Consultants should understand SUBSCRIBE and the transport methods that move data between the GUI subscreen and the PO model, since getting that transport wrong is the most common cause of a tab that displays but never actually saves anything.

How to implement and debug it

Check the enhancement definition, active implementations, calling transaction, document status, filter values and a known-good comparison before writing or moving logic.

For the recurring incident where a custom purchasing tab disappears after a GUI upgrade while the underlying field values still exist, first identify whether the customer subscreen and GUI event methods are still registered, whether the screen program is active, and whether the relevant transaction and document category still use the implementation, since a missing tab is not proof the PO database data was deleted.

Debug the screen and subscreen registration and transport activation using a test PO, compare the same transaction in the old and new systems, and confirm fields are moved correctly between the screen and PO-processing structures without the tab's refresh lifecycle overwriting values.

Clean core

ME_GUI_PO_CUST and its paired process BAdI are classic extension points with no released key-user extensibility equivalent for the same classic PO screen, so this exact approach is unavailable in S/4HANA Cloud public edition.

If the business is migrating toward Fiori-based purchase order apps, clean-core guidance is to establish whether the custom field has a supported extensibility path -- such as a custom field through the Custom Fields and Logic app -- rather than assuming an identical classic subscreen will keep working, since the two UI technologies do not share the same extension mechanism.

ECC vs S/4HANA

In S/4HANA, Fiori-based purchase order apps use a different, CDS-based custom-field extensibility model than the classic GUI subscreen, so a field added through this BAdI on the classic screen will not automatically appear, or behave the same way, in the Fiori equivalent.

Common pitfalls

Prefer the narrowest supported extension rather than a broad global check, avoid direct database changes and duplicate business logic spread across multiple implementations. Document the intended tab-to-business-field mapping, the current GUI transaction, screen program, PBO/PAI handling and the source of default values, and test a PO reopened after save rather than only the initial creation screen, since values that display correctly on first entry can still fail to reload correctly afterward.

Whose problem this is

The ABAP developer owns subscreen registration and data transport between the screen and the PO model; the MM/procurement functional owner defines which business fields actually belong on the custom tab.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

Lessons and topics

Source: ERPClimb — https://erpclimb.com/sap-enhancements/me-gui-po-custERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.