SAP Knowledge Base Article - Public

3688545 - "Purchase requisition item has a different material number", warning shown instead of error while converting PR to PO

Symptom

  • Purchase requisition item material number differs from the material number in the Purchase Order, leading to a mismatch.
  • Error message displayed: "Message no. 06056 – Purchase requisition … item … has a different material number".
  • Warning message shown instead of an error when attempting to create a Purchase Order with a different material number.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a purchase requisition for a specific material number.
  2. Use the purchase requisition to create a purchase order.
  3. Change the material number in the purchase order screen.
  4. Observe that the system allows the creation of the purchase order with only a warning message, instead of an error message.

Cause

This is standard system design in SAP S/4HANA Cloud Public Edition. By default:

  • When adopting PR items into PO, SAP checks if the material is changed.

  • SAP issues a warning message only (Message No. 06056).

  • The system does not prevent the PO from being created.

Resolution

SAP allows buyers to intentionally replace material codes for business scenarios such as substitute materials, procurement of alternative items, or free-text PR conversion. If the user wants the system to block PO creation when the PR material and PO material differ, this must be implemented via custom logic in SAP S/4HANA Cloud. 

Create an implementation for BAdI BD_MMPUR_FINAL_CHECK_PO. With this BAdI, it is possible to implement own checks before a purchase order is saved.

See Also

KBA 0002960092 Convert Messages from Warning to Error or Error to Warning

Keywords

purchase requisition, purchase order, material number mismatch, message no. 06056, sap s/4hana cloud, warning message, error message, purchase order creation, field control, operational procurement, sourcing and procurement, S4_1C, S4HC, S4PC , KBA , MM-PUR-PO-2CL , Purchase Orders (Public Cloud) , MM-PUR-REQ-SOC-2CL , Fiori UI for Sourcing Purchase Requisitions (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions