Hi Venkat,
I think you have created separate recon.accounts for material & service. If it is, then create 2 house banks/account ids for different accounts and assign this at line item level or in vendor master. And also you can create substitution based on recon.account to auto fill house bank/account id details.
Regards,
Mukthar