SAP Knowledge Base Article - Public

3769935 - How to Make Delivery Note Mandatory in MIGO

Symptom

It is not possible to make the 'Delivery Note' or 'Material Slip' field mandatory in 'MIGO' through standard configuration for specific movement types.

Environment

SAP S/4HANA Cloud Public Edition

Cause

There is no standard configuration option to enforce field-level validation based on movement type in MIGO. Custom validation must be implemented via the BAdI framework.

Key restrictions:

  • Movement type is an item-level field — validation based on movement type requires an item-level BAdI.
  • The Material Slip field is not transferred to the BAdI structures in GR > Other postings — only a Warning message is technically feasible for this scenario.
  • BAdI MMIM_GR4XY_CHECK_DATA is triggered only from the Goods Receipt Fiori apps, not from the MIGO transaction.

Resolution

Use BAdI MMIM_ITEM_CHECK_DATA via the 'Custom Logic' app.

This BAdI is triggered at item level during MIGO processing and provides access to header and item data before the document is saved. It supports message types Error (E), Warning (W), and Information (I).

  • What MMIM_ITEM_CHECK_DATA can be used for:
    • Making specific fields mandatory based on movement type
    • Validating field values against custom business rules
    • Restricting posting for specific plants, storage locations, or material types
    • Raising warnings or errors based on quantity or value thresholds
    • Cross-field validations (e.g., if field A is filled, field B must also be filled)
    • Blocking specific movement types under defined conditions
  • What MMIM_HEAD_CHECK_DATA can be used for:
    • Header-level validations not dependent on movement type
    • Making the Delivery Note field mandatory across all postings regardless of movement type

Keywords

migo, delivery note mandatory, movement type 101, goods receipt, badi mmim_item_check_data, badi mmim_head_check_data, mmim_gr4xy_check_data, material slip, gr other, public cloud, inventory management, header validation, item validation, error message, reference document , KBA , MM-IM-GR-2CL , Goods Receipt (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions