SAP Message 5E153 - Error specifying currency

Diagnosis
Unable to determine the legal currency for the period between &V1& andV2.

Procedure
Check the legal currency customization.