Dev207 berlin

82
Public Dr. Christopher Kaestner, Dinu Pavithran, Dr. Wolfgang Weiss Product Management SAP HANA Platform, SAP SE DEV207 Customers present best practices for ABAP and SAP HANA Cloud Platform

Transcript of Dev207 berlin

Page 1: Dev207 berlin

Public

Dr. Christopher Kaestner, Dinu Pavithran, Dr. Wolfgang Weiss

Product Management SAP HANA Platform, SAP SE

DEV207 – Customers present best practices for

ABAP and SAP HANA Cloud Platform

Page 2: Dev207 berlin

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

Disclaimer

This presentation outlines our general product direction and should not be relied on in making a

purchase decision. This presentation is not subject to your license agreement or any other agreement

with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to

develop or release any functionality mentioned in this presentation. This presentation and SAP's

strategy and possible future developments are subject to change and may be changed by SAP at any

time for any reason without notice. This document is provided without a warranty of any kind, either

express or implied, including but not limited to, the implied warranties of merchantability, fitness for a

particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this

document, except if such damages were caused by SAP intentionally or grossly negligent.

Page 3: Dev207 berlin

3

What can you expect today? • Build the bridge from today to tomorrow with custom & partner development • Learn from the community: Insights and findings at successfully completed custom

developments on SAP HANA Platform • SAP HANA and ABAP – combine the best of two worlds • Explore – Evaluate – Develop: Quick start and high degree of flexibility in the Cloud

Page 4: Dev207 berlin

Build the bridge from today to

tomorrow

Business case for customer and partner developments at successful enterprises

Page 5: Dev207 berlin

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

What business needs from IT

Support business processes

RUN PREDICT „I wish I can see problems

before they hit me“

Generate competitive advantage

WIN

Page 6: Dev207 berlin

Learn from the community:

Insights and findings at successfully

completed custom developments on

SAP HANA Platform

SAP HANA and ABAP – combine the best of two worlds

Page 7: Dev207 berlin

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

Custom & Partner Development on SAP HANA

Quick start. Fast ROI. Innovations without boundaries.

Quick start

with instant benefits

Optimize

Innovate

Simplify

Page 8: Dev207 berlin

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

Learn from the community: Insights and findings at successfully

completed custom developments on SAP HANA Platform

Best practices

Challenges &

limitations

Page 9: Dev207 berlin

11

SAP HANA Platform

Simplify your technology stack with the SAP HANA platform

Applications Analytics

Insight to Action Contextual. Real-time. Closed-loop.

Faster Process massive amounts of data,

and deliver information at

unprecedented speeds

Smarter rethink and envision entirely new

ways and applications to run your

business

Simpler Dramatically simplifies complex and

expensive

IT architectures

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

Page 10: Dev207 berlin

12

With our open platform, thousands of partners and startups are

bringing more innovations to you faster than ever

1,200 HANA startups

2,000 Software & tech partners

3,000 Service partners

4,000 Solution resellers

SAP HANA Platform

Great User Experience

Applications Analytics

Custom Dev

&

Partners

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

Page 11: Dev207 berlin

13

Simplify and innovate with Custom & Partner Development

1,200 HANA startups

2,000 Software & tech partners

3,000 Service partners

4,000 Solution resellers

SAP HANA Platform

Great User Experience

Applications Analytics

Custom Dev

&

Partners

Gateway

(Web-)

Dynpro,

Floorplan

Manager,

Forms …

SAP Screen

Personas

SAP UI5

SAP River

RDE

ABAP Java HANA XS Open

Source

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

Page 12: Dev207 berlin

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

SAP HANA and ABAP – Combine the best of two worlds Code pushdown: The new paradigm

AS ABAP

SAP HANA Database

Calculation

Calculation

“Data to Code” “Code to Data”

Code pushdown means delegating data intense calculations to the database

layer

Page 13: Dev207 berlin

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

Efficient Performance Analysis Combine static code checks & runtime monitoring

Prioritized worklist

Runtime data

Static Checks

data

Development

/ Q- System

Productive

System Runtime monitoring Development

/ Q- System Static code check

• Identify location of known

critical code constructs

(e.g. SELECT *)

• Tool: ABAP Test Cockpit /

Code Inspector

1 • Collect runtime information of

constructs (e.g. points of entry

and elapsed time)

• Tool: SQL Monitor

2

• Combine and analyze the static

and runtime check results

• Tool: SQL Performance Tuning

Worklist

3

Page 14: Dev207 berlin

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

ABAP on SAP HANA: Instant benefits (1/2) SAP List Viewer with Integrated Data Access (ALV on HANA)

SA

P

HA

NA

AS

AB

AP

U

se

r

Inte

rfa

ce

Classical ALV ALV on HANA

Page 15: Dev207 berlin

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

ABAP on SAP HANA: Instant benefits (2/2) Quick start to innovate and simplify the user experience

Benefits of ABAP for SAP HANA: Proven. Efficient. Non-disruptive.

Analytical

side-panels

Fault-tolerant value

help

Navigate through

large data sets

using ALV on HANA Push down data-

intensive operations

to SAP HANA

Page 16: Dev207 berlin

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

Code Pushdown starts with Open SQL!

Limitations in ABAP before ABAP 7.4 Minimized Limitations in ABAP 7.4

SQL92 Standard

Advanced Open SQL

Open SQL

Page 17: Dev207 berlin

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

ABAP Managed Database Procedures (AMDP) Use strengths of SAP HANA with SQLScript

Parallelization & significant

reduction of transferred data

Declare data selection via SELECT

or CE (Calculation Engine)

functions

supports parallel processing

Multiple results (instead of only

one result set)

Control logic such as if/else (not

available in SQL)

Local variables for intermediate

results (instead of globally visible

views)

Access to SAP HANA native

engines and function libraries

Text Mining, Predictive analysis,

Financials, Geo-spatial, …

E.g., HANA Calculation

Engine used for currency

conversion

Page 18: Dev207 berlin

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

ABAP Managed Database Procedures (AMDP)

Simplify developer experience by integration in ABAP infrastructure

AMDP provided by means of methods of

global classes marked with tag interfaces

AMDP classes and AMDP methods

Called like any other regular ABAP methods

Modification-free extension via AMDP BAdIs

Fully integrated in and managed by the ABAP

infrastructure

Procedure created at first AMDP call

Detailed analysis of runtime errors in ST22

Transport analog to regular ABAP classes

SQLScript source code editing in ABAP editor

Static syntax check and syntax coloring for SQLScript code

Background coloring for embedded languages

AMDP

(class/method) Standard ABAP

Transport (CTS)

AS

AB

AP

S

AP

HA

NA

deploy

SAP HANA

Procedure

Lifecycle Mgmt

Page 19: Dev207 berlin

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

Optimized Data Transfer

Fast Data Access

SELECT … FOR ALL

ENTRIES

Data exchange for stored

procedures

Code Pushdown

Type harmonization

CDS views

Database procedures

and functions

Outlook ABAP on SAP HANA

Where the journey is going to

ABAP

HANA

Code Services

LM

& O

pera

tio

ns

Code Services

Service Pushdown

Number ranges, Guids

Enqueue Service

Calendars (factory, fiscal)

Improved Operations

Co-Deployment

Aligned HA setup

Zero Downtime Mgmt

Workload Mgmt

Page 20: Dev207 berlin

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

SAP HANA Extended Application Services – Overview

Front-end Technologies

http/s

HTML5 / SAPUI5

Client-side JavaScript

Control Flow Technologies

OData

Server-Side JavaScript

XMLA

Data Processing Technologies

SQL / SQLScript

Calculation Engine Functions

Application Function Library (AFL)

Presentation logic

Control flow logic

Data

Client: Browser or Mobile

SAP HANA

XS

Calculation logic

Page 21: Dev207 berlin

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

ABAP and SAP HANA Native Development

ABAP with traditional

Database and WebDynpro

ABAP with SAP HANA and

SAPUI5

Native Application with

SAP HANA

Data

Database

Data selection

Client

Presentation logic

Application Server

Control flow logic

Calculation logic

SAP HANA

Calculation logic

Data selection Data

Application Server

Control flow logic

Client

Presentation logic

Client

Presentation logic

SAP HANA

Calculation logic

Data selection

Control flow logic XS

Data

Page 22: Dev207 berlin

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

Recommendations: ABAP and SAP HANA Native Development

• for optimization of existing programs

• in context of SAP Business Suite or BW

• to enrich existing applications

• e.g., Suite on HANA, SAP HANA Live, Fiori

• for development of new applications

• which will solely run on SAP HANA

Page 23: Dev207 berlin

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

Recommendations: ABAP and SAP HANA Native Development

• for optimization of existing programs

• in context of SAP Business Suite or BW

• to enrich existing applications

• e.g., Suite on HANA, SAP HANA Live, Fiori

• for development of new applications

• which will solely run on SAP HANA

Page 24: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 26 Public

Recommendations: ABAP and SAP HANA Native Development

• for optimization of existing programs

• in context of SAP Business Suite or BW

• to enrich existing applications

• e.g., Suite on HANA, SAP HANA Live, Fiori

• for development of new applications

• which will solely run on SAP HANA

Page 25: Dev207 berlin

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

Learn from the community: Insights and findings at successfully

completed custom developments on SAP HANA Platform

Best practices

Challenges &

limitations

Page 26: Dev207 berlin

EWE: Explore Custom Development

with SAP HANA and ABAP

Page 27: Dev207 berlin

Energy for tomorrow

Page 28: Dev207 berlin

Comprehensive solutions in three key sectors

37

EWE brings together energy, telecommunications

and information technology, and

thereby possesses all the key expertise

for sustainable, intelligent energy supply systems

Page 29: Dev207 berlin

Our strengths are our excellent service and advice as well as

the proximity to our customers

38

2013

1.4 million electricity customers

1.6 million gas customers

680,000 telecommunications customers

Page 30: Dev207 berlin

HANA

39

Base Data

(Invoices,

Customizing)

Conversion

(12-24 h)

Derived Data

(statistics)

Reporting

(6 h)

The current reporting process of sales analysis

Optimize with

HANA

Page 31: Dev207 berlin

System Sketch of our prototype

40 40

easy+ One-time export of data HANA

AWS Cloud

Number of

Records: Sales Analysis: > 170 Mio. Sales Statistics: > 35 Mio.

Page 32: Dev207 berlin

What we did in the prototype

• Two colleagues with no to theoretical knowledge of HANA worked on this

• A whole year of derived data and surrounding customizing was dumped and transfered to a HANA

instance in the AWS cloud with an ABAP stack

- All data were previously anonymised

• The currently-in-use reporting programm was copied 1:1 to the ABAP system in the cloud

- Minor adjustments had to be done to the report, but the core business logic was not even touched

• HANA-Views were created to join the raw data with customizing

• Select statements were modified to use the built HANA views

41

Page 33: Dev207 berlin

Example of used SQL Statement

SELECT abrlfdat bukrs betrnr vbrart zulaufkz verdkz sv_data

SUM( kzanzvpart ) SUM( kzanzger )

SUM( abrmenge_oa ) AS abrmenge

SUM( apreis ) SUM( gpreis ) SUM( lpreis )

FROM ze_st_us_ohne_a

INTO CORRESPONDING FIELDS OF TABLE lt_us_einz_v

WHERE abrlfdat BETWEEN gv_datum_von AND gv_datum_bis

GROUP BY abrlfdat bukrs betrnr vbrart zulaufkz verdkz sv_data.

42

Intensive use of aggregate functions

Page 34: Dev207 berlin

Comparision showed a speedup of 1967 times,

calculating over 125 Mio. records

0

1000

2000

3000

4000

5000

6000

without HANA with HANARuntime (s) 5901 3

Runtime (s)

43

Page 35: Dev207 berlin

Comparing memory consumption showed a

compression ratio of 13

Table /EAS/ST_US_EINZ

• 676 Bytes per record

• Uncompressed 171.772.163 entries require 108 GB

• HANA compressed, this table needs 8,1 GB ratio 13

44

Page 36: Dev207 berlin

Using integrated XS engine and SAP UI5 to display dynamic

information on tablets

45

Page 37: Dev207 berlin

How time and effort was spent during the prototype

46

Page 38: Dev207 berlin

HANA

SAP Hana, Daniel Pawlowski / Hannes Schnieders, BTC AG 47

Base Data

(Invoices,

Customizing)

Conversion

(12-24 h)

Derived Data

(statistics)

Reporting

(6 h)

The planed next step to further simplify the process and gain

even more speedup

Eliminate

Eliminate

Reporting

(15 min?)

Page 39: Dev207 berlin

Based on initial experiences, an additional use case was

implemented

48

Real-time interactive reporting over 36,2 Millionen invoices

• All invoices grouped by booking date with aggregation (sum of amounts)

• Drill-Down with accounting area, contract type, due date,…

• Access with Integrated Data Access (ALV with IDA in NW7.4)

• Fuzzy search for booking date

Page 40: Dev207 berlin

Key take aways

49

• Fast ramp-up in project team despite

partial knowledge on SAP HANA at

project start

• New opportunities for interactive usage

of reports highly valuable for Line of

Business

• Prototypes from everyday business

accelerate innovation discovery

• Integration of sidecar database in

existing applications still not equivalent

to best practices

• Acceleration factor 2K and high

compression factor exceeded

expectations

Page 41: Dev207 berlin

Explore – Evaluate – Develop

Quick start and high degree of flexibility in the Cloud

Page 42: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 71 Public

Cloud Computing Technical Characteristics

Cloud Computing

Multi-Tenancy

Elastic Scaling

Resource Pooling

Virtualization

Automation

Network Access

Page 43: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 72 Public

ABAP Systems in a Cloud Environment Capabilities, Provisioning, Operations

Support of fundamental cloud capabilities

Automation of system provisioning and management

Re-use and optimization of existing concepts

Page 44: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 73 Public

ABAP Systems in a Cloud Environment Entry Options

Trial & Demo Systems, Training Systems

Proof of Concept, Pilot Projects

Development & Test Systems

Productive Systems

Page 45: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 74 Public

ABAP & BW on HANA Developer Edition Quickstart in the Cloud

Developer Edition

simple & fast [~1h]

cost-efficient [~1$/h*]

informative

Developer

Edition

Developer Edition on SCN:

www.sap.com/abaptrial

Sample Applications & Guides:

http://scn.sap.com/docs/DOC-51999

Documenation & Video Tutorials:

http://scn.sap.com/docs/DOC-44311

* current pricing on AWS plus 6$/m for EBS

Page 46: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 75 Public

Consuming SAP Solutions as Virtual Appliance SAP Cloud Appliance Library

SAP CAL

Deployment

Prep. Initial

configuration Planning

HW prep.

SW install.

SAP Cloud Appliance Library

ERP

HANA

CRM Start

Traditional

“on-premise” delivery

from weeks / months ...

... down to minutes / hours

Start SAP Lifecycle

Page 47: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 76 Public

Solution

Library

T1-CRM T2-ERP

T4-CRM T5-ERP

SAP Cloud Appliance Library Technical View & Flow

Public Cloud (IaaS)

2) Pick & deploy

solution

1) Log on with browser

3) Access

Customer

Appliance

Repository

from SAP

SAP Cloud

SAP

Cloud Appliance

Library

Page 48: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 77 Public

Developer Edition on AWS Deployment Option: EC2-Classic

Page 49: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 78 Public

Developer Edition on AWS Deployment Option: EC2-VPC

Page 50: Dev207 berlin

Demo Developer Edition on AWS

Page 51: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 80 Public

SAP Cloud Powered by SAP HANA Overview Product Portfolio

SAP HANA

SAP HANA Enterprise Cloud SAP HANA Cloud Platform Line-of-Business Apps

(On Premise) Private Cloud (Managed) Public Cloud

Managed-Cloud-as-a-Service Platform-as-a-Service Software-as-a-Service

Customer Systems

People Customer

SAP Business Suite

SAP Business Warehouse

SAP HANA Datamart …

Build Extend Run

applications Finance Supplier

Custom infrastructure and

maintenance

New Apps Collaboration

People

SAP Jam

Soccer

Health

Consumer

Startups

Business

Ariba

Commerce

Hybris

Any

DB

Integration

leads to new and innovative business processes

Page 52: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 81 Public

SAP HANA Cloud Platform Open, Standards-Based, Enterprise-Ready

On-Premise Apps

ON-PREMISE

SOLUTION

Data

CLOUD

SOLUTION

Data

Build, Extend and Run

applications on SAP HANA in

the Cloud

Flexible Subscription Model

Optional Services for Apps,

Database and Infrastructure

Instant Access to the full power

of SAP HANA

Built on a secure, scalable

infrastructure

Application Management and Runtime

Page 53: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 82 Public

SAP Fiori, Trial Cloud Edition* on SAP HANA Cloud Platform Adapt SAP Fiori Apps and Connect own Back-End

SAP HANA Cloud Platform

Web client

Cloud Connector OData Protocol

*Planned Innovation H2/2014

Fiori

Trial Account

Fiori Demo Backend

ERP/CRM/SRM

SAP Internet Demonstration and

Evaluation System (IDES)

Customer Backend

ERP/CRM/SRM

With SAP Fiori OData Backend

Components, SAP Gateway and SAP

HANA Cloud Connector installed

Customer

Account Fiori UI Customizing

in Git repository

references Tools/Services

SAP Fiori Trial Landing Page SAP Fiori Apps

SAP River RDE

in-browser tool

UI Theme Designer

in-browser tool

uses

User

extends

with

explores

Dispatcher Service Serves UI resources from Git repository,

routes OData requests to backend systems

SAP Fiori UI

in Git repository

Page 54: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 84 Public

OSRAM: Explore custom extensions of Fiori apps with SAP HANA

Cloud Platform and connectivity to your backend system

• About OSRAM

• Cloud quick start

• On premise connection

• Extension with custom fields

Page 55: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 85 Public

OSRAM – The world’s largest, pure play lighting company

Number of employees

35,000 employees at the end of the fiscal year

Revenues

€ 5,288.7 million revenue growth of 11.4% in SSL technologies

Worldwide presence

>120 countries where OSRAM had operations at the end of

the fiscal year

Fiscal year 2013 New OSRAM Headquarters, Munich, Germany

Source: OSRAM data

Page 56: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 86 Public

OSRAM: Fiori on SAP HANA Cloud – Architechture

SAP UI5 SAP HANA Cloud Platform

Firewall

On Premise SAP Gateway

SAP ERP SAP CRM

SAP Cloud Connector

HTTPS

HTTPS

HTTPS

Trusted RFC

Page 57: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 87 Public

OSRAM: Quick start with the SAP provided

ERP / CRM cloud back ends / Fiori deployment

Page 58: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 88 Public

OSRAM: Quick start with the SAP provided

ERP / CRM cloud back ends / Fiori deployment

Pro’s

• Quick start without any local installation

• Useful sample data from the SAP provided IDES Backend

Con‘s

• Does not use Fiori Launchpad

Tip

• Notice the minimum Browser requirement: Latest Firefox, Safari, Chrome or Internet Explorer >= 10

Page 59: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 89 Public

OSRAM: Test with on premise backend using SAP Cloud Connector

Page 60: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 90 Public

OSRAM: Test with on premise backend using SAP Cloud Connector

Pro’s

• SAP Cloud Connector does only need outbound HTTPS connection

• Granular access restrictions based on server, protocol, service can be setup

• Use the Fiori App with your own on premise data

Con‘s

• SAP Cloud Connection for productive use only available on Windows and Linux

• On premise SAP Gateway is a pre-requisite

Tip

• SAP Cloud Connector logging is very helpful for problem analysis

Page 61: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 91 Public

OSRAM: Add custom fields to standard Fiori App

Page 62: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 92 Public

OSRAM: Add custom fields to standard Fiori App

Pro’s

• Only an append with matching names to SAP delivered structure was needed (MOVE CORRESPONDING)

• When custom field was added via the SAP CRM Business Object Layer (BOL) no coding is required

Con‘s

• Current documentation sometimes misleading and incomplete

• Currently knowledge of the Fiori / SAPUI5 extension model need

Tip

• Re-generate your Gateway service when you’ve applied a Gateway related note

Page 63: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 93 Public

COMPIRICUS: Challenges in connecting SAP UI5 frontend on SAP

HANA Cloud Platform with onsite ERP systems

ERP

Investment

Reporting

?

Trade Accelerator

Page 64: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 94 Public

COMPIRICUS: Architecture Challenge

SAP HANA CLOUD

Trade Accelerator

JSON; XML

SAP UI5

JSON;XML

JSON; XML

COMPIRICUS ON-PREMISE

SAP Cloud Connector

JAVAcom.sap.conn.jco

SAPFAM

SLT

HTTP

RFC

JSON

JSON

RFC

SAP UI5

SAP UI5

VPN tunnel

Page 65: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 95 Public

COMPIRICUS: Process Challenge

Preparation: Synchronize SAP FAM data to HANA Cloud Platform by SLT

1. User enters Order information into SAP UI5 frontend.

• SAP UI is using simple HTTP Request for the fly checks. The user gets direct feedback.

2. The Order is stored in the HANA Cloud. User triggers the execution.

3. The Order is sent to SAP FAM via a JSON Request to a published HTTP Connection.

• SAP FAM is calling a BAPI and executing the order.

• Tables in SAP FAM are updated.

4. The SAP FAM tables are synchronized automatically with the HANA instance

• The JSON Model pulls the data from the HANA Cloud. If changes occur the displayed data (Pie

and table) are changed.

Page 66: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 96 Public

COMPIRICUS: Data Transfer Challenge

Direct Synchronization with a SAP

on-premise system using SLT

• Master Data Changes – price

change of a single asset (one

table)

• New Orders – change the

quantities with in the portfolio

(five tables)

• Direct creation of orders via a

JSON request to the R3 System

Page 67: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 97 Public

COMPIRICUS: Data Calculation Challenge

Using HANA to check on the fly

• Check against a black list

• Check single values

• Complex recalculation of portfolio

data, with a possible new deal

and changeable settings

• Using XSJS Services and classes

• Combining HANA based data

with synchronized Data

Page 68: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 98 Public

COMPIRICUS: Key takeaways

1. Using simple JSON is an easy way to send Data between UI5, SAP FAM and HANA Cloud

2. Complex Data access scenarios can be created with Server Side Java Script

3. Working with SAP UI5 is very straight forward

• It is possible to have the same JSON Model behind two SAP UI5 Instances

• Using JSON Model is more flexible than XML Model in case of data updates

Page 69: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 99 Public

SAP Rapid Deployment Solutions for User Experience Packaged Best Practices for Faster Adoption of Innovation from SAP

SOFTWARE Cloud, On-Premise & Hybrid

BEST PRACTICES with Proven Business Value

SERVICES Predefined from Partners or SAP

End-to-end business needs

covered

Flexible new solutions or

expansion of IT landscapes

Content including tested configuration

and implementation guides

Tools & methods supporting flexible

pick & choose scenarios

Proven methodology developed

for fast time to value

Predictable service options

Page 70: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 100 Public

SAP Rapid Deployment Solutions for User Experience Quickly Adopt New SAP User Experience Innovations

RENEW ENABLE

Usage/R

each

SAP Fiori

Design RDS

Screen

Personas RDS

Predictable Deployment

Flexible and Modular

Latest Innovation from SAP

Instant Value

SAP Fiori

Apps RDS

SAP Fiori

Infra. RDS

Side Panel

Content RDS

Page 71: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 101 Public

Workflow Application

Installation & configuration

Rapid-deployment solution Service Scope Options – SAP Fiori

Verify and

prepare SAP

Backend

Infrastructure

Installation

Network &

Security

configuration

Platform

Application

Standard Application

Installation & configuration

Roles, Launch Page and Workflow

configuration

Branding (Theme

Designer)

SAP Gateway 2.0

SAP UI 5 add-on

……

Validate prerequisites

Verify Solution Manager readiness

Deploy SAP Notes

SAML / SSO2

Secure backed channel

Proxy / Dispatched config

Start

Page 72: Dev207 berlin

Summary

Page 73: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 103 Public

Optimize

Innovate

Simplify

Learn from the community: Insights and findings at successfully

completed custom developments on SAP HANA Platform

Best practices

Challenges &

limitations

Page 74: Dev207 berlin

105

What you have learned today • Build the bridge from today to tomorrow with custom & partner development

• Learn from the community: Insights and findings at successfully completed custom

developments on SAP HANA Platform

• SAP HANA and ABAP – combine the best of two worlds

• Explore – Evaluate – Develop: Quick start and high degree of flexibility in the Cloud

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 105 Public

Page 75: Dev207 berlin

106

Feedback Please complete your session evaluation for

DEV207.

Thanks for attending this SAP TechEd && d-code session.

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 106 Public

Page 76: Dev207 berlin

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

Thank you!

Contact information:

Dr. Wolfgang Weiss

[email protected]

Product Management SAP HANA Platform, SAP SE

Page 77: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 108 Public

SAP d-code Virtual Hands-on Workshops and SAP d-code Online Continue your SAP d-code education after the event!

SAP d-code Online

Access replays of keynotes, Demo Jam, SAP d-code

live interviews, select lecture sessions, and more!

Hands-on replays

http://sapdcode.com/online

SAP d-code Virtual Hands-on Workshops

Access hands-on workshops post-event

Starting January 2015

Complementary with your SAP d-code registration

http://sapdcodehandson.sap.com

Page 78: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 109 Public

Further information

Fachliteratur/ Publikationen SAP Training Center, openSAP,

SAP HANA Academy

SCN Communities / Trial Versions

Page 79: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 110 Public

How to explore

SAP HANA Cloud Platform ABAP 7.4

http://hanatrial.ondemand.com http://sap.com/abaptrial

Page 80: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 111 Public

E2E tutorial available on SCN:

http://scn.sap.com/docs/DOC-54541

E2E Fiori-like demo application delivered with AS ABAP 7.4 Support Package 8

Including CDS, AMDP, ABAP push channels, SAPUI5, Gateway, …

Start application SEPM_OIA_FIORI from BSP library of package S_EPM_OIA_APPS_FIORI

Try it yourself

End-2-End tutorials & demo applications

New ABAP based view

building for improved

and faster data access

ABAP managed

stored procedures

for enhanced

database processing

VISIT DEV205 & DEV265 Building an End-to-

End App from SAP HANA via ABAP to SAP Fiori

Page 81: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 112 Public

Further Information

Watch SAP d-code Online

www.sapteched.com/online

SAP Public Web

http://scn.sap.com/community/developer-center/cloud-platform and

http://hcp.sap.com

Related SAP TechEd && d-code 2014 Sessions

DEV100 Overview of Development and Extension Platform for SAP HANA and Cloud 2h Hands-on

DEV164 Build SAP HANA Cloud Applications Which Integrate with On-Premise Systems 2h Hands-on

DEV262 Evolution of the ABAP Programming Language 2h Hands-on

UXP261 Simplify Your Development with Web Dynpro ABAP and Floorplan Manager 2h Hands-on

UXP262 Emphasize Your Brand with the New UI Theme Designer 2h Hands-on

UXP263 First Look at the All New SAP Screen Personas – Simpler Screens in Two Hours 2h Hands-on

UXP264 Building and Extending SAP Fiori-Like Applications Using the SAP River RDE 4h Hands-on

SAP Education and Certification Opportunities & openSAP Online Courses

ABAP for HANA and SAP HANA Cloud Platform, (see open.sap.com )

WDESHC: Developing Applications on SAP HANA Cloud Platform (see training.sap.com )

Page 82: Dev207 berlin

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 113 Public

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

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an

SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE

(or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark

information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its

affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or

SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing

herein should be construed as constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or

release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future

developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for

any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-

looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place

undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.