 While revenue at SAP in the second quarter was strong, profit was hurt by the companys departure from Russia, an accelerating shift to the cloud, and a reversal of fortune in the companys venture investments. 