At stumps, South Africa's score read 238/3, with Temba Bavuma and Rassie van der Dussen currently standing unbeaten at the crease.
Opting to bat first, openers Dean Elgar and Erwee made a promising start by stitching a 100- run partnership, until the Proteas skipper was sent back by Tim Southee for 42 runs, leaving the team's score at 111/1.
Erwee was then joined by Markram and the duo brought the momentum back to their side. The former achieved his century and kept the scoreboard moving, with Markram scoring from the other end.
It was then Neil Wagner, who stood up and dismissed Markram for 42 runs. His dismissal was followed by Erwee's being sent back by Matt Henry, leaving the team's total at 199/3.
Later, Bavuma (22*) and Van der Dussen (13*) joined hands and kept the boat sailing for Proteas. The duo took their side to a total of 238/3 at the end of Day 1.
Brief scores: South Africa (Sarel Erwee 108, Aiden Markram 42; Tim Southee 1-41) vs New Zealand