* Shanghai G20 finance ministers, central bankers meeting begins
* Yen erases losses, but dollar retains slight gain for week
* Euro off this week's lows vs USD, but poised for weekly loss
By Lisa Twaronite and Ian Chua
TOKYO/SYDNEY, Feb 26 (Reuters) - The dollar edged down on Friday but was still on track for weekly gains against its major counterparts, as investors focused on the two-day Group of 20 nations' currency and economic talks that kicked off in Shanghai.
The dollar index, which tracks the greenback against a basket of six rival currencies, was down about 0.2 percent at 97.129 .DXY , but up about 0.6 percent for the week.
The dollar slipped about 0.2 percent to 112.83 yen JPY= after earlier rising as high as 113.22,more than two yen above this week's trough of 111.04 yen. It was up about 0.2 percent for the week.
"Exporters sold the dollar, but no one took it too far with the G20 going on now," said Kaneo Ogino, director at foreign exchange research firm Global-info Co in Tokyo.
An overnight recovery in oil prices helped spur a rally on Wall Street, which helped sap demand for perceived safe-haven currencies like the yen.
Crude oil futures edged down in Asian trading on Friday, but jumped 3 percent in the previous session after confirmation of a meeting of major producers held out the hope of an output freeze to address a global glut. the Japanese currency, the euro was back above 124.00 yen at 124.87 EURJPY=R , up 0.3 percent and well off a three-year low of 122.465 set on Wednesday. But it was still down about 0.3 percent for the week.
The Australian dollar edged down slightly to 81.65 yen AUDJPY=R , up about 1.4 percent for the week, having bounced off this week's low of 79.60.
China is a main focus of the G20 meeting, in light of recent global concerns about its waning growth momentum, yuan currency policies and overall market stability.
Chinese policymakers told global financial leaders on Friday the world's second-largest economy remains on a sound footing, while also seeking to manage expectations around the pace of economic reforms in the country. recent market turbulence in mind, investors are mostly looking for reassurance from G20 finance ministers and central bankers.
"Overall, a constructive message from the G20 could support an already ongoing recovery in risk sentiment, but ultimately the ability of global growth data to improve will be more important," analysts at BNP Paribas (PA:BNPP) wrote in a note to clients.
U.S. data on Thursday were generally positive, with durable goods orders rising by the most in 10 months in January. New applications for unemployment benefits continued to point to a tightening labour market. euro rose 0.4 percent to $1.1066 EUR= , following a two-week slide from a 3-1/2 month high of $1.1377. But it was still down about 0.6 percent for the week.
In Europe, inflation remained almost non-existent in January with consumer prices growing a mere 0.3 percent year-on-year. That was below an earlier estimate of 0.4 percent and well under the European Central Bank's (ECB) target of close to 2 percent. latest figures only cemented the market's view that the ECB will have to add more stimulus soon, likely in March. (Editing by Eric Meijer and Kim Coghill)