*SAP sees 2017 oper profit 6.7- 7.0 bln euros. *Targets 2017 revenue between 23.0- 23.5 bln euros. WALLDORF, Germany, Jan 22- German software maker SAP on Friday raised its 2017 revenue outlook to the upper end of forecasts but said operating margins would dip as more business comes from cheaper Internet-based cloud software instead of legacy software packages.