How does the remitter come to know that his account is debited and funds have been credited to the beneficiary's account

The remitting bank sends a confirmation message to the remitting customer about the transaction initiated by him/her.