Building Custom Advanced Analytics Applications with SAP HANA

39
Achieving innovative and differentiating apps for your company and customers. Building Custom Advanced Analytic Applications with the SAP HANA Platform Greg Chase Sr. Director SAP HANA Customer Innovation

description

View the presentation from Greg Chase, Sr. Director, SAP HANA Customer Innovation, at the SAP Insider HANA 2014 conference in Orlando. Learn how SAP is Building Differentiating Applications with SAP HANA to improve your company's economic moat. Using SAP HANA, we are achieving innovation and differentiating apps for your company and customers. Also gain insight into SAP River for SAP HANA which allows rapid development of SAP HANA native applications and fast invention.

Transcript of Building Custom Advanced Analytics Applications with SAP HANA

Page 1: Building Custom Advanced Analytics Applications with SAP HANA

Achieving innovative and differentiating apps for your company andcustomers.

Building Custom Advanced AnalyticApplications with the SAP HANA Platform

Greg ChaseSr. DirectorSAP HANA Customer Innovation

Page 2: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 2

Agenda

Using SAP HANA to Build Unique Applications Achieving Business Innovation with SAP HANA SAP HANA as an Innovation Platform Customer Innovation Examples Case Study: Predictive Maintenance

SAP River for Rapid Application Development on the SAP HANA Platform

Summary

Page 3: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 3

Agenda

Using SAP HANA to Build Unique Applications Achieving Business Innovation with SAP HANA SAP HANA as an Innovation Platform Customer Innovation Examples Case Study: Predictive Maintenance

SAP River for Rapid Application Development on the SAP HANA Platform

Summary

Page 4: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 4

Three dimensions of innovation

Viability(Necessity)

Desirability(Design)

Feasibility(Invention)

See: “Measure of an Innovator: The Innovator’s Index” – Vishal Sikka

Potential Value = magnitude * benefit

How does your company increase invention?For whom do we innovate?

Page 5: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 5

Business considerations about when to innovate

Differentiating

Leadingpractice

Industry standardpractices

Relation tocompany’s

corecompetencies

Uniqueness

Buy

Co-innovate

Innovate

Page 6: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 6

Submit your own ideas for invention at SAP Idea Incubatorhttp://incubator.saphana.com

Page 7: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 7

Agenda

Using SAP HANA to Build Unique Applications Achieving Business Innovation with SAP HANA SAP HANA as an Innovation Platform Customer Innovation Examples Case Study: Predictive Maintenance

SAP River for Rapid Application Development on the SAP HANA Platform

Summary

Page 8: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 8

SAP HANA as a Platform for InnovationThree questions for determining if you should use SAP HANA

What are your datasources and types?

Structured(ERP, SQL-databases, special purposedata formats – ex: genomics)

Unstructured Text(chats, social media, comment fields,speech to text buffers)

Streaming(Networked devices, sensor data,complex event streams)

Graph(relationships, mind maps, objectmodels)

Geospatial(demographics, GIS, satellite data)

What do you needSuperfast reaction timewith real-time resultsfor ? Complex and iterative

queries(many fields, multiple datasets, ad-hocqueries, planning-related operations,advanced BI)

Text analysis(creating structure, and understandingsemantics, unstructured language)

Advanced Text Search(Google-style and semantic search)

Predictive Analytics(Modeling, machine learning, datamining, informed decision making)

What language and dataaccess standards doyou need?

ADBC – ABAP(Custom extension applications in SAPABAP)

ODBC - JDBC(Microsoft Windows-based or Javaapplications)

R(Statistical / data-mining functions inMathematica, MATLAB, SPSS, SAS)

Javascript – Node.JS – Rubyon Rails(Native SAP HANA development,scalable and rapidly developed webapps)

OData - JSON(HTML5, UI5, analytics and UI portalsapplets)

Page 9: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 9

Supportsany Device Any Apps

Any App ServerAny Apps

Any App ServerSAP Business Suite

& BW ABAP App ServerSAP Business Suite

& BW ABAP App ServerJSONR Open ConnectivityMDXSQL

Other AppsLocationsReal-timeHADOOPMachineUnstructuredTransaction

SAP HANA PlatformSQL, SQLScript, JavaScriptSQL, SQLScript, JavaScript

Integration ServicesIntegration Services

SpatialSpatial

Business FunctionLibrary

Business FunctionLibrary

SearchSearch Text MiningText Mining

Predictive AnalysisLibrary

Predictive AnalysisLibrary

DatabaseServicesDatabaseServices

Stored Procedure& Data Models

Stored Procedure& Data Models

Planning EnginePlanning Engine Rules EngineRules Engine

Application & UIServices

Application & UIServices

In-Memory Advanced Analytics Processing Features of theSAP HANA Platform

SAP HANA Platform converges Database, Data Processing and Application Platformcapabilities & provides libraries for Predictive, Planning, Text, Spatial, and Business

Analytics to enable business to operate in real-time

Page 10: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 10

Options for building applications on the SAP HANAPlatform

SAP Data ServicesSAP ASE / IQSAP ASE / IQ HADOOPHADOOP SAP ESPSAP ESP Data Connectors3rd Party Data Source3rd Party Data Source

Data typesConnects to SAP HANA directly OR via Sybase IQ/Hadoop/ESP/Data Services

TransactionData

UnstructuredData

Real-timeData

LocationData

MachineData Others

SAP HANA PLATFORMSAP HANA PLATFORM

Database ServicesDatabase ServicesApplication

& UI ServicesApplication

& UI ServicesIntegration &

Data Virtualization ServicesIntegration &

Data Virtualization Services

Mission-Critical DeploymentServices

Mission-Critical DeploymentServices

SAP Netweaver ASSAP Netweaver AS Open 3rd Party ASOpen 3rd Party AS

INTEGRATED APPLICATIONINTEGRATED APPLICATION NATIVE APPLICATIONNATIVE APPLICATION OPEN APPLICATIONOPEN APPLICATION

Web Applicationon HTML 5 &

JavaScript

Applications builtby any language

talking withstandard DB

connector

CloudApplication

ApplicationsRuns on SAP

NetweaverABAP AS

SAP RiverApplication

ApplicationsRuns on SAP

Netweaver JavaAS

Stan

dard

DB

conn

ecto

r

Data Processing Services

(Advanced Analytics)

Data Processing Services

(Advanced Analytics)

Page 11: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 11

Comprehensive Data ProvisioningReal-time high volume data integration from any source

SAP HANA SmartData Access

SAP Sybase EventStream Processor

SAP Data Services

SAP SybaseReplication Server

SAP LT ReplicationServer

SAP SybaseSQL Anywhere

Any Source Data MovementOver Networks

Transform and PersistData

Event Streams

Data Synchronization

Data Virtualization

ODBC

SAP HANAVirtual Tables

Data Sources(SP6: HANA, IQ, ASE, Hadoop,

Teradata)

Network Devices– Wired / Wireless

Complex EventData Source

Non-SAP Data Sources

Cloud Deployments

SAP Business SuiteTrigger-Based

Log-Based

ETL, Batch

Page 12: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 12

Core Features and Technical Advantages of Using SAPHANA Platform

Feature Benefit

DevelopmentServices

• SAP HANA Studio• Application repository• SAP River

• All tools in single environment• App artifact versioning• Rapid prototyping

Application Services • Embedded server-side JavaScript app server• HTML5 UI• Parallel SQL Script Stored procedures• Info Access

• Lean high performance native apps• Support for favorite app platforms

Processing Engine • In-database analytics• Geospatial• Text analysis & search• Query Federating• R processing• Consumption• Query optimizing

• MPP-optimized in-databaseintegrated features for super fastprocessing

Database Services • Persistence• Modeling

• In-memory optimized persistence• Easy, powerful schema modeling

capabilities with embedded security

Integration Services • Data provisioning• Smart data access

• Flexible, high performance dataintegration capabilities

Administration &Deployment

• Cloud or on premise• Monitoring, trouble shooting & migration• Columnar• Compression• Virtualized• MPP• OLAP + OLTP• HA & DR

• Flexible deployment options• Built for breakthrough performance

and maximum hardware utilization• Ready for enterprise

Page 13: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 13

Deployment Benefits of Building Apps with SAP HANA Platform

Collapsed Landscape

8xNumber of servers

Reduction

Smaller Data Footprint

7xSize of Data

Reduction

Simplified Setup

9xNumber of systems to setup

Reduction

Simpler Administration

30xIn administrative processes

Reduction

Simplified ApplicationDevelopment

6xComponents required

Reduction

Simplified DataProcessing

3xData provisioning systems

Reduction

Page 14: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 14

Agenda

Using SAP HANA to Build Unique Applications Achieving Business Innovation with SAP HANA SAP HANA as an Innovation Platform Customer Innovation Examples Case Study: Predictive Maintenance

SAP River for Rapid Application Development on the SAP HANA Platform

Summary

Page 15: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 15

Major Business Innovation Themes for SAP HANAProjects

Uncovering more value• Superfast query response = super reactive business

processes• Complex queries with in-memory processing

Simplifying the business• Real-time single source of truth – no aggregates• Fewer systems, less storage• Faster financial close processes, no entry blackout periods

Achieving more breakthroughs• Revolutionizing medical diagnosis• Transforming business – create new revenue streams

Page 16: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 16

Uncovering More Value

Page 17: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 17

Page 18: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 18

Simplifying the Business

Page 19: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 19

Creating More Breakthroughs

Page 20: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 20

Agenda

Using SAP HANA to Build Unique Applications Achieving Business Innovation with SAP HANA SAP HANA as an Innovation Platform Customer Innovation Examples Case Study: Predictive Maintenance

SAP River for Rapid Application Development on the SAP HANA Platform

Summary

Page 21: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 21

Predictive MaintenanceDimensions of Innovation

Viability(Necessity)

Desirability(Design)

Feasibility(Invention)

See: “Measure of an Innovator: The Innovator’s Index” – Vishal Sikka

Page 22: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 22

Viability?Business Case for Predictive Maintenance

“Predictive maintenancetechniques help determine thecondition of in-service equipment<by also using sensor/telemetrydata and alerts> in order to predictwhen maintenance should beperformed. This approach offerscost savings over routine or time-based preventive maintenance,because tasks are performed onlywhen warranted.

The main value of PredictedMaintenance is to allow convenientscheduling of correctivemaintenance, and to preventunexpected equipment failures.The key is ‘the right information inthe right time’.” (Wikipedia)

IndustriesAutomotiveIM&CHigh Tech

Part of a even biggerbusinesstransformation:

Product as a Service

Page 23: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 23

Desirability?Design Focus for Predictive Maintenance

OEMDealerCustomer

Research & Development and ProductionHow do I find emerging issues associated with design,production & suppliers?

How do I improve my product’s design & reliability?

How do I minimize problems in production?

How do I detect recalls in time & minimize risk?

SalesHow can I achieve more repeat customers?

ServiceHow do I provide exceptional service?

How do I lower warranty costs?

How do I get the right parts at right place at the right time?

How do I optimize salesof equipment, parts &service?

How do I reduceoperational expense andoptimize performance?

Page 24: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 24

Feasibility of Predictive MaintenanceWhat do we invent?

Business & ProductData

SAP HANA

OEM

Dealer

Customer

Technical & OperationalData

Unstructured Data

Page 25: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 25

SAP HANA as a Platform for InnovationThree questions applied to Predictive Maintenance

Your data sources:

Structured(ERP, SQL-databases, special purposedata formats – ex: genomics)

Unstructured Text(chats, social media, comment fields,speech to text buffers)

Streaming(Networked devices, sensor data,complex event streams)

Graph(relationships, mind maps, objectmodels)

Geospatial(demographics, GIS, satellite data)

Superfast reaction timeneeded with real-timeresults for :

Complex and iterativequeries(many fields, multiple datasets, ad-hocqueries, planning-related operations,advanced BI)

Text analysis(creating structure, and understandingsemantics, unstructured language)

Advanced Text Search(Google-style and semantic search)

Predictive Analytics(Modeling, machine learning, datamining, informed decision making)

Language and dataaccess standards:

ADBC – ABAP(Custom extension applications in SAPABAP)

ODBC - JDBC(Microsoft Windows-based or Javaapplications)

R(Statistical / data-mining functions inMathematica, MATLAB, SPSS, SAS)

Server side JavaScript –Node.js – Ruby on Rails(Native SAP HANA development,scalable and rapidly developed webapps)

OData - JSON(HTML5, UI5, analytics and UI portalsapplets)

Page 26: Building Custom Advanced Analytics Applications with SAP HANA

Predictive MaintenanceDemo

Page 27: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 27

Co-innovation Model for Predictive Maintenance and ServiceExample Project Timeline with SAP Custom Development

Customer Call

Goal setting High level

scope Stakeholders

and experts

Going Live

Customeracceptance Full productive

usage incl.ongoingmaintenance

Custom SpecificImplementation

Solution definition Project and offer

definition Binding-offer for

CDP (fix price & fixscope) Development Solution validation Deployment

Assessment Service

Requirements Roadmap Detailed scoping

One Day Workshop

Understandscenarios &systems

Viability &business case

Work with SAPto co-innovate strategic custom development projects

on SAP HANA!

Page 28: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 28

Agenda

Using SAP HANA to Build Unique Applications Achieving Business Innovation with SAP HANA SAP HANA as an Innovation Platform Customer Innovation Examples Case Study: Predictive Maintenance

SAP River for Rapid Application Development on the SAP HANA Platform

Summary

Page 29: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 29

Introducing SAP RiverA rapid way to make SAP HANA applications

Page 30: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 30

A development environment for rapidlybuilding complete SAP HANA applications

Simple, integrated specification of datamodel, business code and access control

River cross-compiles into HANA objects(tables, views, procedures, XSJS …)

A single data model

Interoperates with Fiori River

Creating an application, using SAP River

T1T1T1 T2T2T2 T3T3

V1V1

V2V2

appmobapp

cv

proc

trigger

client

OData over HTTP

access control

Fiori

data model

businesslogic

businesslogic

Page 31: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 31

business logic(app server)

Creating an application: the three tier model

data modeldata model

T1T1T1 T2T2T2 T3T3

V1V1

V2V2datamodel(DB)

cv

proc

controlcontrol

viewview

trigger

content over HTTP

SQL over xDBC

access control

web app

client

Page 32: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 32

Recommended way to develop a SAP HANA applicationTwo-tier data centric application

T1T1T1 T2T2T2 T3T3

V1V1

V2V2

cv

proc

trigger

client

appmobapp

access control

businesslogic

businesslogic

OData over HTTP

data model

Page 33: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 33

River entities: from tables to UI

Page 34: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 34

HANA XS development model

1. Develop & Share2. Activate & Test3. Deploy

HANA DB

activate

ActivationActivation

DB objectsDB objects

SScriptSScript

ODataOData

AuthAuth

XSJSXSJS

rolesroles

Rivercompiler

Rivercompiler

storedprocedures

tablesviews

package & deploy

studiostudio

River Editor

(on-premise)

River Editor

(on-premise)

browserbrowser

River webEditor

(Cloud)

River webEditor

(Cloud)RepositoryRepository

.rdl

business appdevelopers

.rdl

workspace,save

HANA based developmentObject management &

versioningDelivery and patching

CompilerOptimization

Page 35: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 35

River and component (XS) development

modeler

client

appcode

admin

database

When to use Only need to develop a few specific components Prefer fine-grained runtime and optimization control HANA specialists: implementation-specific features

When to use Only need to develop a few specific components Prefer fine-grained runtime and optimization control HANA specialists: implementation-specific features

Full interoperability and compatibility for seamless HANA nativedevelopment

Components Dedicated domain

languages Feature richer HANA specific

modeler

actions

contracts

entities

views .

associations ..

roles

lifecyclemgt

client

SAP River Integrated language Easier to use Compiler optimized

(timeless)

When to use Entire business applications or extensions Prefer integrated development Casual developers

When to use Entire business applications or extensions Prefer integrated development Casual developers

River

Page 36: Building Custom Advanced Analytics Applications with SAP HANA

SAP RiverDemo

Page 37: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 37

Agenda

Using SAP HANA to Build Unique Applications Achieving Business Innovation with SAP HANA SAP HANA as an Innovation Platform Customer Innovation Examples Case Study: Predictive Maintenance

Rapid SAP HANA Application Development with SAP River

Summary

Page 38: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved. 38

Takeaways

1. Achieving business innovation takes in account value, design, andinvention. Test feasibility by crowdsourcing such as SAP Idea Incubator:http://incubator.saphana.com

2. How to implement business innovation is a question of build vs. co-innovate

3. Consider SAP HANA for data-centric projects that:• Involve large data sets of multiple types and sources• Need real time response for advanced analytics• Match your language and data access requirements• Try out a developer version of SAP HANA Platform at http://developers.sap.com

4. For transformative business innovation projects on SAP HANA, considerSAP Custom Development services: http://service.sap.com/customdev

5. For rapid prototyping, try out SAP River: http://sap-river.com

Page 39: Building Custom Advanced Analytics Applications with SAP HANA

© 2014 SAP AG or an SAP affiliate company. All rights reserved.

Thank you!

Greg ChaseSr Director, SAP HANA Customer [email protected]