SAP Message ACE407 - The legacy data transfer is not defined for company code &1

Diagnosis
You are attempting to delete legacy data that has been transferred tocompany code &V1& in the Accrual Engine.
However, the legacy data transfer mode has not been set in Customizingfor the Accrual Engine (view V_TACEDS_LEGACYM).

System Response
The action you want to carry out is not possible.

Procedure
In Customizing for the Accrual Engine, change the mode to legacy datadata transfer mode to "Legacy data transfer for test purposes".