BHEL, Tata Steel, RIL and ONGC also saw losses but rate-sensitive auto and banking stocks helped Sensex end up.
In see-saw trade, the 30-share Sensex surrendered hefty gains in last two hours to end 9.27 points, or 0.05 per cent, up at 20,159.12. 19 Sensex stocks gained and 11 dropped.
The Sensex had gained 299 points in past 3 days.
"Markets witnessed a quite volatile session today, ahead of the FO expiry this week on Thursday," said Nidhi Saraswat, Senior Research Analyst, Bonanza Portfolio.
Also Read
The trend further weakened on over 12 per cent drop in L&T April-June quarter profit at Rs 756.03 crore. However, a rebound in banking sector on value-buying and firm trend in global markets helped the market end in green, they added.
Energy major RIL ended seven-day rally by dropping 1.59 per cent to Rs 908.50 and engineering major Larsen and Toubro fell 7.46 per cent to Rs 901.95. BHEL plunged by 7.05 per cent to Rs 161.50 as concerns over new orders remained.
The auto sector index gained the most by 1.06 per cent.
On the other hand, capital goods index dropped by 5.57 per cent and oil and gas index by 1.65 per cent.