Batch disappearing in P4314-A/P Voucher match


Hi, while trying to match PO and invoice in P4314(A/P voucher match)
The batch and Document number that got created after match, is disappearing on closing the batch.
An error message from webpage saying 'Transaction error - transaction cannot be committed, it was cancelled' is popping. can anyone kindly suggest what I am doing wrong. It will be a lot helpful. Thank you!