week 1 unit 1: sap hana cloud platform basics
TRANSCRIPT
Week 1 Unit 1: SAP HANA
Cloud Platform Basics
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 2Public
SAP HANA Cloud Platform BasicsCloud service models
INFRASTRUCTURE AS A SERVICE
IaaS
SOFTWARE AS A SERVICE
SaaS
PLATFORM AS A SERVICE
PaaS
Hardware or software provided to you
as a service and accessible through
the Internet
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 3Public
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. 4Public
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. 5Public
SAP HANA Cloud Platform (PaaS)
Data & Storage Services Big Data Services
SAP HANA Cloud Platform Basics Open, standards-based, enterprise-ready
Platform Services
Dev
&
Ops
Runtimes /
Languages
IaaS Layer
On-Premise /
Managed Cloud
SAP S/4HANA
SAP Business
Suite
SAP Business
Warehouse
SaaS
SuccessFactors
C4C
Concur
SAP S/4HANA
Ariba
Analytics
CollaborationUX
Integration Security
Mobile
IoT
ASE SAP HANA
Build Extend Integrate
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 6Public
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. 7Public
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. 8Public
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. 9Public
SAP HANA Cloud Platform Basics What you’ve 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. 11Public
© 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 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.
Week 1 Unit 2:
Developing in Your Account
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 2Public
Developing in Your AccountUnderstanding SAP HANA Cloud Platform accounts
Data Center
Each account holds:
Resources that can be consumed by apps
Users allowed to work in the account
Apps deployed & running in the account
Data written by apps running in the account
Configuration for apps running in the account
Each account is assigned to a data center
Each account is fully isolated
Account
Users
Data
Configuration
Apps
Resources
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 3Public
Developing in Your AccountApplications in accounts
b
Users
Data
Configuration
Apps Resources
Data Center
Runs on
Create / ConsumeConsume
Consume
Provide and
Manage
Are managed by users
Consume resources
Create / consume data
Consume configuration
Run in a defined data center
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 4Public
Developing in Your AccountThe 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. 5Public
Developing in Your AccountDemo
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. 6Public
Developing in Your AccountLinks
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. 7Public
Developing in Your AccountWhat you’ve 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. 9Public
© 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 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.
Week 1 Unit 3: Deploying Your
First HTML5 Application
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 2Public
Deploying Your First HTML5 ApplicationHTML5 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. 3Public
Deploying Your First HTML5 Application HTML5 applications overview
Application served by shared
service (dispatcher), no VM
required
Integrated version management
Resources stored in cloud Git
repository
No build and easy deploymentDispatcher
Git
REST Service
Developer
End User
SAP HANA Cloud
Platform Account
HTML5
Apps
Lifecycle management
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 4Public
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. 5Public
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 Server
Versions
V1
V2
Developer
Files
Central Server
Versions
V1
V2
Developer
Versions
V1
V2
FilesDeveloper
Versions
V1
V2
Files
Central Versioning
Distributed Versioning
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 6Public
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. 7Public
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. 8Public
Deploying Your First HTML5 Application What you’ve 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. 10Public
© 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 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.
Week 1 Unit 4: Deploying Your
First Java Application with Eclipse
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 2Public
Deploying Your First Java Application with Eclipse Getting Started with the SAP HANA Cloud Platform Tools for Java
http://go.sap.com/developer/tutorials/hcp-java-eclipse-setup.html
Be 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
Setting up the SDK as Runtime Environment
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 3Public
Deploying Your First Java Application with Eclipse Hello World! Developing and deploying your first Java application on SAP HANA Cloud Platform
http://go.sap.com/developer/tutorials/hcp-java-basic-app.html
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
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 4Public
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
http://go.sap.com/developer/tutorials/hcp-java-
eclipse-setup.html
Hello World! Developing and deploying your
first Java application on SAP HANA Cloud
Platform
http://go.sap.com/developer/tutorials/hcp-java-
basic-app.html
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 5Public
Deploying Your First Java Application with Eclipse What You’ve 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. 7Public
© 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 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.
Week 1 Unit 5: Deploying Your First
SAP HANA Native Application
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 2Public
Deploying Your First SAP HANA Native ApplicationSAP HANA native development
SAP HANA Cloud Platform supports
the full set of SAP HANA
functionalities and development
languages
*
SAP NetWeaver
Business ClientSAP Business
Objects solutionsMicrosoft Excel Others..(Open)
SAP HANAReal-time analytics Real-time apps
Information Composer
& Modeling Studio
Application Services
(e.g. HTML5 Server) Text Search
Planning and
Calculation EnginePredictive Analysis &
Business Function LibsR Server Integration
Real-time
Replication servicesIn-memory database Data services
SAP Business Suite Third-party systems
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 3Public
Deploying Your First SAP HANA Native Application Productive and free-trial landscape
Productive Users
Full feature set of an SAP HANA instance
SLA guarantee
Enterprise support
Free-Trial Users
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 7 days of inactivity*
*This condition changed from 30 days to 7 days
after the video was recorded.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 4Public
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. 5Public
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. 6Public
Deploying Your First SAP HANA Native ApplicationSetting-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. 7Public
Deploying Your First SAP HANA Native Application Setting-up your Eclipse IDE
https://tools.hana.ondemand.com/#hanatools
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
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 8Public
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. 9Public
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. 10Public
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. 11Public
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. 12Public
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. 13Public
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. 14Public
Deploying Your First SAP HANA Native Application What you’ve 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. 16Public
© 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 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.