Shares of TCS fell as much as 5.1 percent after analysts cited the company as saying revenue growth from software services could be weakening from the previous quarter.
Shares were subdued ahead of the U.S. Federal Reserve's policy review later in the day and as investors still monitor developments over Crimea and Ukraine.
FII's have been , buying a net $165.7 million worth of shares on Tuesday to mark their 21st buying session in the previous 22.
The Sensex ended up 0.25 points at 21,832.86, away from the record high of 22,040.72 hit on Tuesday.
The Nifty closed higher 0.11 percent, or 7.40 points, at 6,524.05, also off the all-time high of 6,574.95 in the previous day.
TCS shares ended down 3.89 percent after analysts cited the company as expressing caution about revenue growth in the current quarter at a briefing on Tuesday.
The comments came after Infosys Ltd Chairman Narayana Murthy warned last week that revenue for the fiscal year ending March could grow at the lower end of the company's 11.5 to 12 percent projection. Infosys shares fell 2.35 percent.
Investors also booked profits on recent outperformers. Oil and Natural Gas Corp (ONGC.NS) closed 3.43 percent lower after surging 18 percent since the end of January to Tuesday's close.
Still, indexes received some support as investors continued to favour selective blue chips such as ITC and HDFC Bank.ITC, which closed 1.07 percent higher, has advanced 9.8 percent this month, while HDFC Bank closed up 0.61 percent, bringing its gain for this month to 10.3 percent.
Investors also focused on beaten down sectors such as metals with Tata Steel gaining 4.67 percent, although shares are still down 16.4 percent this year.
Hindalco Industries closed 4.53 percent higher and Jindal Steel and Power ended up 1.46 percent.
Shares of Polaris Financial Technology surged 20 percent, their highest since July 2011. That added to the 11.6 percent gain on Tuesday, after the software services firm said its board had approved a split of the company into two businesses.