SAP Message GU501 - Period & in FiYr & is not open for posting

Diagnosis
You are trying to post to a period that is either not open for posting,or is already closed.

Procedure
You maintain the allowed posting periods in Table T001B.