BARCELONA (Reuters) - Europe's biggest technology company SAP expects profit margins to flatten out during the fourth quarter after three years of declines, with improving margins to begin to show up in 2018, Chief Financial Officer Luka Mucic said on Friday.