SAP Message 62164 - Enter correct day number for end-date

Diagnosis
You have specified an invalid day for the end date of the settlementperiod.

System Response
Your input is rejected.

Procedure
Please correct the day value. The permissible value range depends onthe end month.