Symptom
User deleted the Purchase Requisition but the same can still be adopted during the creation of Purchase Order from App: Create Purchase Order
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- App: Create Purchase Order
- Click on Document Overview On
- Click on Selection Variant > Purchase Requisitions
- In the Field: Purchase Requisition Number, enter the PR ID
- Execute
- Select the PR line and click on Adopt
You can see the deleted PR can be adopted during the PO creation
Cause
This is the intended system design. The check for the deletion flag is executed after the adoption of the requisition.
Resolution
The following workarounds can be used:
Option 1:
In the SSCUI 102364, It is possible to configure the message 06 050 (Purchase requisition & item & already deleted) as error in the Customizing. This will not prevent the system from adopting the deleted requisition, but the PO cannot be saved unless the reference to the deletion requisition is removed.
Option 2:
If you use the document overview to select requisitions, you can prevent and not to select the deleted ones from being selected by using the criteria "Deletion Indicator" from the dynamic selections
Keywords
s4_pc, s4hc, deleted pr, deleted pr in po creation, Purchase requisition & item & already deleted, SSCUI 102364 , KBA , MM-PUR-PO , Purchase Orders , Problem