Skip to Content
Former Member
Feb 03, 2012 at 07:45 AM

MB01 taking another PO as referenced.


Dear Gurus,

We are working in IS-Retail, Stores POs are sending through SAP to third party POS/Billing Software. Store User create GRN at stores and GRN comes to SAP as IDOC and posting though MB01.

Suppose 2 POs created by SAP system for same Article on 25th Jan and 1st Feb respectively for 20 and 40 Qty respectively. We have schedule program to cancel unutilised PO after 3 days, due to which SAP marked the first PO of date 25th as Deleted but POS application does not any update. User created GRN with referenced to PO created on 25h Jan. When IDOC comes to SAP for GRN posting, system checks referenced PO is marked for delition and Delivry completion it takes as 2nd Feb PO as referenced and update the GRN in 1st Feb POs.

SAP system should throw IDOC error in WPER if referenced PO is closed or marked for deletion. Please suggest solution/configuration so that system should take correct PO or IDOC error to take the corrective action.