SAP Message RERAOP061 - Company code of document &1 not the same as manager company code &2

Diagnosis
According to the specifications in Customizing, the company code of thedocument should be the manager company code for the company code in thebasic data.
However, you entered a different company code.

Procedure
Change the company code.