Hi Inayat,
Payment document number would not be reflected in the PAYR table if the check value is not updated in the document.
I believe you are taking wrong house bank in the print variant. Please check the house bank of the payment document and try to inter the same house bank and account id in the print variant.
Regards,
Mohammed Kalim