Citizens of South Africa need to have a visa before arriving. It is easiest to get one at your nearest Qatari Embassy/Consulate. There are some companies that may do the formalities for a fee. Just make sure they are legitimate.