SAP Message ACC_AA024 - Source and target company code have different charts of accounts

Diagnosis
Company code &V1& is assigned to chart of accounts &V3&. The othercompany code, &V2&, to which you want to post, is assigned to chart ofaccounts &V4&. This is not allowed.

System Response
Error: source and target company codes always have to be assigned tothe same chart of accounts.

Procedure
Choose a different company code, or change the charts of accounts inthe company code settings.