SAP, which makes software for managing business processes, has been moving to subscription-based cloud services from software licences with up-front fees.

"Our transition to the cloud is ahead of schedule and we have exceeded topline expectations, with cloud revenue becoming SAP's largest revenue stream," Chief Executive Officer Christian Klein said in a statement.

The company's cloud revenue climbed 34% to 3.06 billion euros ($3.12 billion) in the quarter. Current cloud backlog, which measures incoming business, was up 34% at 10.40 billion euros.

However, the company lowered its 2022 adjusted profit outlook to between 7.6 billion euros and 7.9 billion euros, from a range of 7.8 billion euros to 8.25 billion euros.

SAP cited an impact of 350 million euros at constant currencies on adjusted profit from the war in Ukraine and a potential decline of software licenses revenue.

The company's exit from Russia and Belarus due to the war in Ukraine led to about 120 million euros in severance payments to employees and impairments of assets.

Total quarterly revenue rose to 7.52 billion euros at constant currency from 7.08 billion euros. Analysts had expected 7.32 billion euros, a Refinitiv poll showed.

($1 = 0.9798 euros)

(Reporting by Supantha Mukherjee in Stockholm; Editing by Sherry Jacob-Phillips)