Hi Umang,
If you are posting a MIRO with credit memo option, system will not pick the normal PO. For that you to first post invoice for normal PO, after that post a credit memo for return PO. Both not possible at a time. At the time of payment clearing you can adjust it.
Regards,
Mukthar