The 30-share Sensex ended at 17,151 up 56 points and the 50-share Nifty ended at 5,226 up 19 points.
The Sensex and the Nifty reached an intra-day high of 17,166 levels and 5,231 mark, respectively.
India's wholesale price index rose a faster-than-expected 6.89% in March from a year earlier, mainly driven by higher food prices, government data showed on Monday.
The annual reading for January was revised up to 6.89% from 6.55%, the government said in the release.
Inflation, as measured by the Wholesale Price Index, was 6.95% in February. In March last year, it was 9.68%.
As per the official data released on Monday, inflation in food items was 9.94% in March, as against 6.07% in February.
On the global front, Japan's Nikkei share average fell 1.7% on Monday as investors cut their exposure to risky assets in response to fresh concerns over the euro zone debt crisis after Spanish bond yields soared.
Exporters dependent on the European market were heavily sold, with TDK Corp, Konica Minolta Holdings Inc and Nikon Corp shedding between 2.2 and 3.9% as the euro slipped below 105 yen.
European markets are trading higher with CAC, DAX and FTSE gaining between 0.1-0.5%.
Back home, BSE Technology index slumped by almost 0.5%.
Infosys ended 1% lower, extending its record single day fall of around 13% on Friday, after the IT bellwether reported disappointing fourth quarter earnings and offered lower dollar revenue and earning per share guidance for FY13.
Telecom major Bharti Airtel was the top Sensex loser, down nearly 2%.
Among Oil &
Column: How CAG spotted the 2G spectrum scam
Why Manmohan Singh's reforms legacy is under threat
Parvatheesam K steps down as Infosys company secretary
TV digitisation to boost contextual advertising
Market end lower, Infosys slumps 13%