Having won the toss and opting to bat first, the Proteas got off to a decent start with openers Dean Elgar (31) and Aiden Markram (94) tackling the Indian bowlers well.
Markram who was dismissed six runs shy of his third century became the second-fastest South African to score 500 runs after five test matches.
First is legendary Barry Richards.
Hashim Amla (82) consolidated South Africa's innings along with Markram and kept the scoreboard ticking until the latter fell at the team's score of 148.
Following Markram's wicket, A. B. de Villiers (20) chipped in and along with Amla took the team to 199 until the swashbuckling batsman was clean bowled by Ishant Sharma.
Ashwin who took three wickets was the pick of the Indian bowlers.
Earlier, Indian made three changes to their playing XI.
Parthiv Patel replaced Wriddhiman Saha, who was out with a hamstring niggle.
KL Rahul and Ishant Sharma replaced Shikhar Dhawan and Bhuvneshwar Kumar, respectively.
Bhuvneshwar Kumar's exclusion from the team was received was surprise by both the media and experts.
The hosts claimed a 72-run victory in the first Test match in Cape Town and lead the three-match series 1-0.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)