SAP Knowledge Base Article - Public

3610497 - Goods Receipt in SAP S/4HANA Cloud Public Edition: Bill of Lading Value Not Captured in Backend

Symptom

  • A custom logic using BADI: MMIM_ITEM_CHECK_DATA  has been set to make the "Bill of Lading" field mandatory when processing GR in MIGO note for an import purchase order.
  • Despite providing input in the Bill of Lading field, the error persists, indicating that the "Bill of Lading is still required".

Environment

 S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Access the MIGO screen.
  2. Attempt to process the goods receipt for an import purchase order.
  3. Enter the Bill of Lading value.
  4. Observe that despite providing input in the Bill of Lading field, the validation error persists.

Cause

The reported custom logic is using BADI: MMIM_ITEM_CHECK_DATA to perform a validation check of a "Header" level field -- Bill of Lading, and it doesn't fetch values after user inputs value for this field.

Resolution

  1. For Release 2502, there is an issue for BAID: MMIM_ITEM_CHECK_DATA, which can not get filled/fetching value from MIGO screen input for field "Bill of Lading/Delivery Note", the fix will be available in the next release CE2508.
  2. As a work around solution, replace the use of BADI: MMIM_ITEM_CHECK_DATA with BADI: MMIM_HEAD_CHECK_DATA for any rule/validation check of the "Header" level fields. This BADI can fetch the values from "Bill of Lading" field as expected.  Or use Fiori APP: 'Post Goods Receipt for Purchasing Document' to post the GR for the PO with BADI: MMIM_GR4XY_CHECK_DATA 

See Also

For reference, please refer to the following link: [MMIM_HEAD_CHECK_DATA]

Keywords

Goods Receipt, MIGO, SAP S/4HANA Cloud Public Edition, Bill of Lading, validation error, MMIM_ITEM_CHECK_DATA, MMIM_HEAD_CHECK_DATA, backend debugging, custom validation. , KBA , MM-IM-GR-MIGO-2CL , Goods Receipt from External Procurement (MIGO) (Public Cld) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions