SAP is buying privately held Hybris in a bid to build out an e-commerce software offering that connects with customers across multiple "channels, devices and touch points."