Cape Town - Proteas fast bowler Dale Steyn will have to likely wait until December to become the highest wicket-taker in South African Test history.
LIVE: Proteas v Sri Lanka - Day 3
There was no joy for Steyn in Colombo, as the Proteas struggled to dismiss the Sri Lankan batting line-up.
In the two Sri Lankan innings', Steyn returned figures of 17-3-60-0 and 11-2-30-0.
It was the second time in Steyn's Test career that he went wicketless and will have to wait until the next Test series against Pakistan in December - if selected - to overtake Shaun Pollock as the Proteas' leading Test wicket-taker.
Steyn tied Pollock on 421 dismissals in the first Test last week in Galle, which was won by Sri Lanka within three days.
By contrast, Keshav Maharaj grabbed his chance with both hands, becoming only the seventh South African to take 12 or more wickets in a Test - and the third spinner to do this after Hugh Tayfield and Bert Vogler.
Maharaj's figures in Sri Lanka's two innings were 41.1-10-129-9 and 40-4-154-3.
That gave Maharaj match analysis of 81.1-14-283-12.
Sri Lanka declared their second innings on 275/5, setting the Proteas 490 runs to win.
South Africa, 1-0 down in the two-Test series, must put on a record breaking performance on a spinning pitch at the Sinhalese Sports Club if they are to level the series.
The highest successful run chase in Test cricket is 418 made by the West Indies in Antigua in 2003.