You are on page 1of 53

Week 1 Unit 1: SAP HANA

Cloud Platform Basics

SAP HANA Cloud Platform Basics


Cloud service models
Hardware or software provided to you
as a service and accessible through
the Internet

SOFTWARE AS A SERVICE
SaaS

PLATFORM AS A SERVICE
PaaS

INFRASTRUCTURE AS A SERVICE
IaaS

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Cloud Platform Basics


Cloud benefits in general
Eliminate capital expense
Hardware at provider

Reduce operating expense


Central maintenance by provider
Automatic updates

Flexibility
Meet changing demands as you grow
Systems accessible from everywhere

Agility
React faster to changing business needs

High availability

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Cloud Platform Basics


What is SAP HANA Cloud Platform?
Platform-as-a-service offering
Build, extend, run, and operate apps in the cloud

Multiple runtimes
Java
SAP HANA extended application services
HTML5
More runtimes to be added over time

Services
Persistence
Document
Security
Connectivity

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Cloud Platform Basics


Open, standards-based, enterprise-ready

Build

Extend

On-Premise /
Managed Cloud

Integrate

SaaS

SAP HANA Cloud Platform (PaaS)

SAP S/4HANA
Platform Services
Integration

SAP S/4HANA
SAP Business
Suite

IoT

UX

Runtimes /
Languages

Mobile

Data & Storage Services


SAP Business
Warehouse

Security

Analytics

SuccessFactors

Collaboration

Big Data Services


SAP HANA

ASE

C4C
Dev
&
Ops

Ariba
Concur

IaaS Layer
2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Cloud Platform Basics


Remote monitoring & administration
Proactive 24x7 system monitoring with automated alerts
Worldwide support 24x7
Detailed usage metrics
Configurable logging tools
Delivered via a Web-based operations console

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Cloud Platform Basics


Extensible & connectable
SAP HANA Cloud Portal
SAP HANA Cloud Platform mobile services
SAP HANA Cloud Integration
Gamification Service
SAP HANA Cloud Platform Internet of Things (IoT) Services
Integration with other systems
(such as SAP SuccessFactors, SAP Business Suite)

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Cloud Platform Basics


Scope of this course
Covered in this course
Setting up your account
Setting up a development environment
Using SAP HANA Cloud Platform services
Deploying applications in the cloud
Using additional features

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Cloud Platform Basics


What youve learned in this unit
Service models of cloud software + benefits
High-level overview of SAP HANA Cloud Platform
Additional features

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Thank you

Contact information:
open@sap.com

2016 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 SEs 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 forwardlooking 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.

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

11

Week 1 Unit 2:
Developing in Your Account

Developing in Your Account


Understanding SAP HANA Cloud Platform accounts
Each account holds:
Resources that can be consumed by apps
Users allowed to work in the account
Apps

Apps deployed & running in the account

Resources

Data written by apps running in the account

Account

Configuration for apps running in the account


Data

Users

Each account is assigned to a data center


Each account is fully isolated

Configuration
Data Center

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Developing in Your Account


Applications in accounts
Are managed by users
Consume resources
Data Center

Create / consume data

Runs on

Consume configuration
Run in a defined data center

Users

Provide and
Manage

Consume
Create / Consume
Data

b
Apps

Resources

Consume

Configuration

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Developing in Your Account


The account cockpit
Central point for administration of account & apps
Logging information
Monitoring information

Authorization management
Account resources

https://account.hanatrial.ondemand.com/cockpit

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Developing in Your Account


Demo
SAP HANA Cloud Platform Web site
Account landing page & sign-up

Account cockpit
Dashboard
Subscriptions
Services

Further materials
Documentation

Tools
Community
http://hanatrial.ondemand.com

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Developing in Your Account


Links
SAP HANA Cloud Platform Web site
http://hcp.sap.com
Account landing page
http://account.hanatrial.ondemand.com
Account cockpit
https://account.hanatrial.ondemand.com/cockpit
Documentation
https://help.hana.ondemand.com
Tools
https://tools.hana.ondemand.com
Community
http://developers.sap.com/cloud

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Developing in Your Account


What youve learned in this unit
How to create your own free developer
account on SAP HANA Cloud Platform
What the account includes
The account cockpit
How you can develop in your account
Where to get help

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Thank you

Contact information:
open@sap.com

2016 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 SEs 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 forwardlooking 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.

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Week 1 Unit 3: Deploying Your


First HTML5 Application

Deploying Your First HTML5 Application


HTML5 applications on SAP HANA Cloud Platform
Consist of static resources
Connect to an existing back end using REST services
(on-premise or on-demand)
Example:
SAPUI5 application connection
to a Yahoo REST service

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First HTML5 Application


HTML5 applications overview
End User

Application served by shared


service (dispatcher), no VM
required
Integrated version management
Resources stored in cloud Git
repository
No build and easy deployment

Lifecycle management

Dispatcher

Developer

Git
HTML5
Apps

SAP HANA Cloud


Platform Account

REST Service
2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First HTML5 Application


Git overview

Version control
Distributed versioning
Created 2005 for Linux kernel development
Enables collaborative workflows

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First HTML5 Application


Git overview: Distributed versioning
There is no central authority
The developer has the
complete history
Versions are created locally
Branches are created locally

Central Versioning

Central Server

Developer

Versions
V1

Files

V2

Distributed Versioning

Developer

Developer

Files

Central Server

Files

Versions

Versions

Versions

V1

V1

V1

V2

V2

V2

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First HTML5 Application


Choose your development environment for HTML5 apps
SAP Web IDE
Develop online without local installation
Comes with integrated Git client and online
workspace
Improved developer productivity through wizards,
templates, and code editors

Eclipse
Offline development
Integrated EGit tooling to work with Git

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First HTML5 Application


How to create the Hello World HTML5 application
How to create the Hello World HTML5 application
Scenario:
Develop a simple Hello World HTML5 application

How to do it:
Create the Hello World application via the Web IDE
Test and deploy the application

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First HTML5 Application


What youve learned in this unit
HTML5 applications on SAP HANA Cloud Platform
The development infrastructure
Git
Options for development environments
How to create a simple HTML5 application
How to test an HTML5 application

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Thank you

Contact information:
open@sap.com

2016 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 SEs 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 forwardlooking 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.

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

10

Week 1 Unit 4: Deploying Your


First Java Application with Eclipse

Deploying Your First Java Application with Eclipse


Getting started with the SAP HANA Cloud Platform tools for Java

Make sure you have Java installed on your machine!


Download and install Eclipse IDE for Java EE
Developers
Install the SAP HANA Cloud Platform tools for Java
Install the SAP HANA Cloud Platform SDK
Set up the SDK as the runtime environment

https://hcp.sap.com/developers/TutorialCatalog/jav100_01_java_setup_eclipse.html
2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First Java Application with Eclipse


Hello World! Developing and deploying your first Java application on SAP HANA Cloud Platform

Create a dynamic Web project


Create a HelloWorld servlet
Deploy, run, and test the application on a local
runtime
Deploy, run, and test the application in the cloud

https://hcp.sap.com/developers/TutorialCatalog/jav100_2_java_hello_world.html
2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First Java Application with Eclipse


Links
Eclipse
http://eclipse.org
SAP Development Tools for Eclipse
https://tools.hana.ondemand.com
Getting Started with the SAP HANA Cloud
Platform Tools for Java
https://hcp.sap.com/developers/TutorialCatalog/
jav100_01_java_setup_eclipse.html
Hello World! Developing and Deploying Your
First Java Application on SAP HANA Cloud
Platform
https://hcp.sap.com/developers/TutorialCatalog/
jav100_2_java_hello_world.html

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First Java Application with Eclipse


What youve learned in this unit
Setting up the Eclipse IDE for Java EE
Developers
How to create a HelloWorld sample application
How to deploy an application on a local
runtime and in the cloud
How to use the account cockpit

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Thank you

Contact information:
open@sap.com

2016 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 SEs 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 forwardlooking 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.

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Week 1 Unit 5: Deploying Your First


SAP HANA Native Application

Deploying Your First SAP HANA Native Application


SAP HANA native development
SAP HANA Cloud Platform supports
the full set of SAP HANA
functionalities and development
languages

SAP NetWeaver
Business Client

Real-time analytics

Microsoft Excel

Others..(Open)

Real-time apps

SAP HANA

Information Composer
& Modeling Studio

Application Services
(e.g. HTML5 Server)

Planning and
Calculation Engine

Predictive Analysis &


Business Function Libs

Real-time
Replication services

In-memory database

SAP Business Suite

2016 SAP SE or an SAP affiliate company. All rights reserved.

SAP Business
Objects solutions

Text Search

R Server Integration

Data services

Third-party systems

Public

Deploying Your First SAP HANA Native Application


Productive and free-trial landscape

Productive Users

Free-Trial Users

Full feature set of an SAP HANA instance


SLA guarantee
Enterprise support

One working day of full feature set of an SAP


HANA instance
Multitenancy based on SAP HANA multitenant
database containers feature
Time and resource usage restrictions
5 GB RAM
Automated stop after 12 hours
Deletion of tenant after 30 days of inactivity

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First SAP HANA Native Application


SAP HANA Cloud Platform Trial landscape specifics
Access to the SYSTEM user when DB is
provisioned
New DB users can be created with SAP Web IDE
or SAP HANA tools for Eclipse
Full access to your SAP HANA tenant database

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First SAP HANA Native Application


SAP HANA Cloud Platform cockpit

Log on

Navigate to Databases
& Schemas

Create new HANA MDC


(<trial>) instance

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First SAP HANA Native Application


Setting-up your Web-based Development Environment
Enable SYSTEM user to administrate Web-based
Development Workbench

Open the link SAP HANA Cockpit

Log on using SYSTEM user

Click OK for required roles to be automatically


assigned

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First SAP HANA Native Application


Setting-up your Eclipse IDE
Standard Eclipse IDE for Java EE Developers
(already installed in the previous unit)
SAP HANA Cloud Platform tools (already
installed in the previous unit)
SAP HANA tools

https://tools.hana.ondemand.com/#hanatools
2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First SAP HANA Native Application


Connecting to your SAP HANA instance
Add the cloud system
Provide the account credentials
Choose your SAP HANA instance

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First SAP HANA Native Application


SAP HANA sample applications
SHINE Delivery Unit
https://github.com/SAP/hana-shine
Download from GitHub

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

Deploying Your First SAP HANA Native Application


SHINE Sample Application
Best practices:
Do not use directly the SYSTEM user
Create SHINE_DEV user
Assign roles:
o sap.hana.admin.roles::Administrator
o sap.hana.xs.lm.roles::Administrator
o sap.hana.xs.ide.roles::Developer
o sap.hana.xs.debugger::Debugger
o CONTENT_ADMIN

Assign Object Privileges:


o GRANT_ACTIVATED_ROLE::Execute

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

10

Deploying Your First SAP HANA Native Application


SHINE Sample Application

Login to SAP HANA Cockpit with


SHINE_DEV user

Select "HANA Application Lifecycle


Management tile

Select Delivery Units tile

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

11

Deploying Your First SAP HANA Native Application


SHINE Sample Application
Import DU using SAP HANA
Cockpit*:

Press Import button

Locate HCO_DEMOCONTENT
archive (tgz)

Press Import

Assign roles to SHINE_DEV user:

sap.hana.democontent.epm.roles::Admin

sap.hana.democontent.epm.roles::User

*Import DU can be done also using SAP HANA Eclipse


based Tools.

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

12

Deploying Your First SAP HANA Native Application


SHINE Sample Application
Open the application by running:
/sap/hana/democontent/epm/index.html
Check prerequisites for SHINE application

Generate demo content using SHINE


Welcome Screen

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

13

Deploying Your First SAP HANA Native Application


What youve learned in this unit
On SAP HANA Cloud Platform you can
leverage your knowledge and build
applications as you do with on-premise SAP
HANA
You know how to set your development
environment and connect to your SAP HANA
instance
You can run the SHINE application on SAP
HANA Cloud Platform
You can use the SAP HANA Web-based
development workbench to quickly develop,
modify, and test your SAP HANA application

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

14

Thank you

Contact information:
open@sap.com

2016 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 SEs 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 forwardlooking 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.

2016 SAP SE or an SAP affiliate company. All rights reserved.

Public

16

You might also like