You are an expert at summarizing long articles. Proceed to summarize the following text: 
south africa beat sri lanka by ## runs in a rain-affected one-day international wednesday to reach the finals of the mandela trophy quadrangular series .
south africa beat sri lanka in rain-affected match