There is a section on the ITR12 tax return that asks you to indicate any periods during the tax year when you were not working (i.e., were unemployed).
This section applies only to South African tax residents who are salaried employees and receive an IRP5.
...