SAP Knowledge Base Article - Public

3639973 - Error message no. 06 152 does not exist in the system

Symptom

The error "Purchase order exists for item & &" message no. 06 152, which should prevent the deletion of a Purchase Requisition (PR) when a Purchase Order (PO) is created with reference to it, does not exist in the SSCUI Define Attributes of System Messages.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a Purchase Requisition.
  2. Create a purchase order with reference to the Purchase Requisition.
  3. Go to app Change Purchase requisition- advanced, set delete flag for the PR item.
  4. Message 06152 is issued as an information message.

Cause

This is the intended SAP Standard behaviour.

Resolution

The message 06 152 "Purchase order exists for item & &" is only received as an information/warning message while deleting a PR which has a PO created. Use the BAdI Check of Purchase Requisition Item (MM_PUR_S4_PR_CHECK) to check or validate values of standard and extension fields in purchase requisitions at item level.

The BAdI provides a message log that displays messages generated by the custom logic, whether they are warning messages or error messages.  

Keywords

S4HC, warning, sscui,  "Purchase order exists for item & &", MM_PUR_S4_PR_CHECK, Define Attributes of System Messages, unavailable, S4_1C, S4_PC, X4BC , KBA , MM-PUR-REQ-2CL , Purchase Requisitions (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions