SAP Knowledge Base Article - Public

3684001 - Purchase Requisition Item Can Be Deleted Even With Follow-up Documents Created

Symptom

When trying to delete a purchase requisition item with PO created, system shows the warning message 06152 "Purchase orders already exist for this item". However system does not prevent the item to be deleted.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to App <Create Request Requisition - Advanced>.
  2. Click on Other Purchase Requisition button and enter the affected Requisition ID.
  3. Click on Display/Change.
  4. Under Item Overview.
  5. Select the item and click on the Delete button.
  6. System show the warning message: Purchase orders already exist for this item.
  7. However the item is marked by 'deletion indicator' without hinderance.

Cause

System always allow the deletion, as well as the undo deletion for deleted item, and it has no impact on the following purchase order.

Resolution

This is the current standard behavior.

As a workaround, custom coding can be developed using BADI MM_PUR_S4_PR_CHECK, grab the information either from CDS view  I_PURCHASEREQUISITIONITEMAPI01 (by checking PR status) or from I_PURCHASEORDERITEMAPI01 (by fetching PR ID as preceding document of PO). Please define the coding by yourself.

Keywords

Purchase Requisition Item, Delete, 06152, Purchase orders already exist for this item , KBA , MM-PUR-REQ-PRF-2CL , Manage Purchase Requisitions – Professional (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions