"Most members strongly condemned the war in Ukraine and stressed it is causing immense human suffering and exacerbating existing fragilities in the global economy," the draft said, suggesting that Russia had opposed the language.
"There were other views and different assessments of the situation and sanctions," said the draft declaration, which was confirmed by a European diplomat.
"Recognising that the G20 is not the forum to resolve security issues, we acknowledge that security issues can have significant consequences for the global economy," the draft declaration said.
Fiscal stimulus measures should be "temporary and targeted" to cushion the blow of rising commodity costs for the most vulnerable, to avoid adding to inflationary pressures, the draft declaration said.
Wrangling over how to describe the war in Ukraine has prevented G20 ministers earlier this year from issuing a joint communique.