Hashim Amla made a welcome return to form on Friday, and Proteas captain Faf du Plessis was also among the runs in the World Cup warm-up match against Sri Lanka in Cardiff.
The Proteas also finished strongly, as the likes of Andile Phehlukwayo, Chris Morris and Dwaine Pretorius made some inroads into the Sri Lankan attack to end on 338/7 off their 50 overs.
Unfortunately for Aiden Markram, he got out just when he looked to be settled at the crease. He chased a wide one from Suranga Lakmal, and edged it behind for 21.
But Amla got through a tricky opening period, where the ball moved around, to establish a 128-run partnership for the second wicket for Du Plessis.
The experienced pair were rollicking along at more than six runs per over, but after it seemed as if they were both going to score centuries, they were dismissed within three balls.