Message SAP /BEV2/EDMESS1857 - &2 is the last period in tax warehouse &1, not &3

Diagnosis
A period which is not the last period in the indicated tax warehouseshall be reset.

System Response
Execution of the function has been terminated.

Procedure
Start to reset the subsequent periods of the tax warehouse.