SAP Message 5K052 - Last pay period is either not closed or does not exist for &/&

Diagnosis
The last pay period is either not closed or does not exist for the
reference month.

Procedure
The report can only be generated only after the last pay period of the
reference month is fully closed.