SAP Message 64656 - Account determination: Currency swap acct not maintained for cocd &1 &2

Diagnosis
Account determination:
You have not filled the currency swap accounts correctly for companycode &V1& and currency &V2&.

System Response
The posting activity is cancelled.

Procedure
Check the settings for currency swaps in Customizing via:
Securities -> Transaction and position management -> Functions ->Accounting -> General ledger updating -> Define currency swapaccount