Ok still the scenario is not seems to be clear to me ,
when you say a STO is generate 2073 , is this the one by which the material places in stock, for delivery or is it the one which created after the SO is closed.
i have given a generalized example in which the stock for delivery is fullfilled by some other PO which is not generated automatically via SO.Which keeps the MRP PR open.
So here i asked you to check the goods movements happened for this SO to full fill the stock.
If the SO is delivered with the PO which is generated by MRP then just raise a SAP message or try to find the note to check inconsistency.
thanks
Kunal