SAP Message AC504 - Company code & does not have a valid fiscal year variant

Diagnosis
No valid fiscal year variant has been defined in Financial Accountingfor company code &V1&.

Procedure
Check the definition of fiscal year variant &V2& that is assigned tothis company code.