SAP Message UCS0023 - Unable to close period for all org units

Diagnosis
The period cannot be closed for all related organizational units due tothe current task status. A period can only be closed if all tasks to beexecuted have been blocked.

Procedure
Block all of the unblocked tasks for the related organizational units.You may have to rerun them without errors before blocking them.