SAP said it would take restructuring charges of €800-950m, mainly in the first quarter