Dear Krishna,
Mr Grigoriy has already explained you whole process, I'm just putting the same.
Please go to IMG path- Treasury and Risk Management-Transaction Manager-General Settings-Accounting-Link to Other Accounting Components-Define Account Determination
Please do the customization as like below example,
Masking: How its works, All your bank account should end with(5) say for example
**********5
I have made the above customization for IFRS now when i do the posting system will accept all the bank account which end with 5
10101015
22224445
This is standard SAP logic to be used when we have multiple bank accounts.
Let me know if you need further help.
Regards,
Jain