SAP Knowledge Base Article - Public

2956742 - How to enter a Purchase Order in BADI MMIM_GR4X


When using the BADI ‘MMIM_GR4XY’ to post a Goods Receipt for a Purchase Order, cannot see a way to enter the Purchase Order number within GR4XY_HEADER / GR4XY_ITEM.


  • SAP S/4 HANA Cloud

Reproducing the Issue

  1. BADI  ‘MMIM_GR4XY’.
  2. Within GR4XY_HEADER / GR4XY_ITEM there is no field available to enter the Purchase Order number.


The Badi MMIM_GR4XY_CHECK_DATA only supports the mentioned Fiori apps Goods Receipt for ProdnOrd, PurOrd, NoRef, InbDeliv

The field “inbounddelivery  TYPE  aufnr (for order we need 12 characters)” is used for all possible objects but it can have only one name. Using the GR4PO-App use the field  'inbounddelivery' to fill the Purchase Order number.

**The BADI MMIM_GR4XY_CHECK_DATA does not support 'Post Goods Movement' / 'MIGO'


MMIM_GR4XY, App, MIGO, Post Goods Movement, Fiori, Goods Receipt for ProdnOrd, PurOrd, NoRef, InbDeliv, Public Cloud, BADI, MMIM_GR4XY_CHECK_DATA, Good Receipt, GR, Purchase Order, PO, field, missing, inbounddelivery s_gr4xy_header, inbounddelivery, TYPE  aufnr, App, Post Goods Receipt for Purchase Order, Custom Fields and Logic, , KBA , MM-FIO-IM-SGM , Fiori UI for Stock and Goods Movements , Problem


SAP S/4HANA Cloud all versions