UPDATE 1-U.S. Senate near agreement to revise Russia sanctions bill

(Adds details throughout, Trump meeting Putin)

WASHINGTON, June 29 (Reuters) - The U.S. Senate was near an agreement on Thursday to resolve a technical issue stalling a new package of sanctions on Russia, and possibly clear the way for a vote on the measure in the House of Representatives, lawmakers said.

The legislation passed the Senate by a nearly unanimous 98-2 margin on June 15, looking like it might complicate President Donald Trump's desire for warmer relations with Moscow, where officials have denounced new sanctions.

It has been blocked in the House, where Republican leaders said the Senate bill violated a constitutional requirement that any bill affecting government revenues originate in the House, something known as a "blue slip" violation.

Lawmakers from the two chambers have bickered about the issue since. Democrats accused House Republican leaders of trying to kill the bill to please Trump after administration officials said they had concerns about it.

Senator Ben Cardin, the top Democrat on the Senate Foreign Relations Committee, told reporters the "blue slip" issue had been fixed without any significant changes to the legislation.

"There's no substantive changes at all," he told reporters.

It was not immediately clear what will happen when the bill returns to the House.

Asked about the bill at his weekly news conference on Thursday, House Speaker Paul Ryan said he would wait for the Senate to resolve the procedural issue.

"They wrote the bill incorrectly so we've told the Senate you have to write it correctly to follow the Constitution," Ryan said.

Trump will meet with Russian President Vladimir Putin at the Group of 20 summit in Germany next week. (Reporting by Patricia Zengerle; Additional reporting by Amanda Becker; Editing by Jeffrey Benkoe)