SAP Knowledge Base Article - Public

2956742 - How to enter a Purchase Order in BADI MMIM_GR4X

Symptom

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.

Environment

  • 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 Purchae Order number.

Resolution

The Badi MMIM_GR4XY_CHECK_DATA 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.

See Also

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,

Keywords

KBA , MM-FIO-IM-SGM , Fiori UI for Stock and Goods Movements , Problem

Product

SAP S/4HANA Cloud all versions