Hashim Amla hit his 27th one-day international century as South Africa made 266 for two in the first of five matches against Pakistan at St George's Park on Saturday.
Amla (108 not out) shared a second-wicket partnership of 155 with debutant Rassie van der Dussen (93) but the pair were unable to dominate against steady bowling on a slow pitch.
"It was a tough wicket," Amla told SuperSport television as he left the field at the end of the innings.
"You have to bide your time. I think it's a good total."