Hi Vinod,
In account determination settings, please see if your Posting Specification has same currency for both debit and credit. For example - your debit and credit should either be in position currency or payment currency. Let me know if this works.
Thanks
Amit Bedi