You are on page 1of 37

System Preparation Unit 1:

Introduction

Introduction
SAP HANA Cloud Platform trial
SAP offers a free trial of the
SAP HANA Cloud Platform.
Just create a user and get started:
http://hcp.sap.com

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

Public

Introduction
SAP HANA Cloud Platform Platform as a Service
The SAP HANA Cloud Platform is made up of multiple services that offer different functionality.
Services we will be using:
SAP HANA Cloud Platform mobile
services
SAP HANA Cloud Portal

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

Public

Introduction
SAP Web IDE
The SAP Web IDE is available as part of the SAP HANA Cloud Platform trial.
It is a browser-based integrated
development environment.

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

Public

Introduction
SAP Mobile Secure
SAP Mobile Secure is an integrated, cloud-based enterprise mobility management portfolio.
Free 30-day trial is available at
www.sapmobilesecure.com

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

Public

Introduction
SAP Mobile Platform SDK
The SAP Mobile Platform SDK supports native and hybrid development and is available as a
trial for download on the SAP Store.
Supports the following:

iOS native SDK


Android native SDK
Windows 8.1/Windows Phone 8.1 SDK
Apache Cordova hybrid apps
iOS
Android
Windows 8.1/Windows Phone 8.1
Download from SAP Store here.

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

Public

Introduction
Hybrid app toolkit
The hybrid app toolkit is a plugin for SAP Web IDE. It allows you to build hybrid mobile
applications locally with the Web contents of your SAP Web IDE project.
Builds the mobile executable locally and deploys to device/emulator:
Supports iOS and Android
Requirements:
Node.JS
Git
ANT (Android)
Apache Cordova
Xcode (iOS)
Android Build Tools and SDK
Java SDK 1.7+ (Android)
SAP Mobile Platform SDK
Download from SAP Store here.
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Thank you

Contact information:
open@sap.com

2015 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.

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

Public

System Preparation Unit 2:


Signing Up for SAP Trial Accounts

Signing Up for SAP Trial Accounts

Sign up for SAP Hana Cloud Platform (HCP) Trial Account

Enable SAP Hana Cloud Platform Mobile Services (HCPms)


Enable WebIDE
Enable SAP Hana Cloud Portal Services
Setup Fiori Launch Pad

Sign up for Mobile Secure Trial Account

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

Public

Signing Up for SAP Trial Accounts


Sign up for HCP Trial Account

Launch hcp.sap.com

Register for Account

Activate your account (via e-mail)

Logon to SAP HCP Cockpit

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

Public

Signing Up for SAP Trial Accounts


Hana Cloud Platform Mobile Services (HCPms) setup

Enable SAP HANA Cloud Platform Mobile Services

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

Public

Signing Up for SAP Trial Accounts


SAP Hana Cloud Portal Setup

Enable SAP HANA Cloud Portal Service

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

Public

Signing Up for SAP Trial Accounts


SAP Hana Cloud Portal Setup

Add SAP Fiori Launchpad App Subscription

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

Public

Signing Up for SAP Trial Accounts


Enable WebIDE

Logon to SAP HCP Cockpit > Click Subscriptions > Add New Subscriptions > Select
sapwebide (and click save)

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

Public

Signing Up for SAP Trial Accounts


SAP Mobile Secure
SAP Mobile Secure is an integrated, cloud-based enterprise mobility management portfolio.
Free 30-day trial is available at
www.sapmobilesecure.com

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

Public

Signing Up for SAP Trial Accounts


Demo

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

Public

Thank you

Contact information:
open@sap.com

2015 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.

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

Public

11

System Preparation Unit 3: Setting Up


Your Development Environment (1)

Setting Up Your Development Environment (1)


Building hybrid apps with Apache Cordova requirements
Apache Cordova requires the following for building mobile
applications:
Node.JS JavaScript engine for building fast, scalable network solutions
Includes a package manager for downloading components
Can be used to create command line interfaces.

Git client needed to pull down Cordova resources from Git repositories
All Cordova plugins and resources are hosted on Git repositories
For Mac OS X, get from Xcode command line tools
Windows: http://msysgit.github.io

Apache Cordova is a Node.JS-based command line interface.


Use Node.JS package manager to download: npm install g cordova@<version #>

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

Public

Setting Up Your Development Environment (1)


Building hybrid apps with Apache Cordova requirements Android
Building Android-based Cordova applications requires the following:
Java SDK
http://www.oracle.com/technetwork/java/javase/downloads/

Android Build Tools and SDK


Download the SDK installer from the SDK Tools Only section at
http://developer.android.com/sdk/index.html#Other.
Launch Android SDK Manager and install latest platform tools and supported API
level
Optionally install ARM Emulator if you dont have an Android device.
Add Android SDK tools and platform-tools folder to your PATH variable

Apache ANT (needed for Windows only)


ANT is used by Cordova to build Android apps that are based on Java
http://ant.apache.org
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Setting Up Your Development Environment (1)


Building hybrid apps with Apache Cordova requirements iOS
Building iOS-based Cordova applications requires the following:
Install Xcode from the App Store or Developer Downloads Mac support
only
https://itunes.apple.com/us/app/xcode/id497799835?mt=12
https://developer.apple.com/downloads/index.action
Install Xcode command line tools
Install Node.JS command line interface ios-sim (for starting iOS simulator from the
command line)
sudo npm install -g ios-sim
Install Node.JS command line interface ios-deploy (deploy an app to connected iOS
device)
npm install -g ios-deploy
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Setting Up Your Development Environment (1)


Demo

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

Thank you

Contact information:
open@sap.com

2015 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.

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

Public

System Preparation Unit 4: Setting Up


Your Development Environment (2)

Setting Up Your Development Environment (2)


What is the hybrid app toolkit?
SAP HANA Cloud Platform

The hybrid app toolkit (HAT) enables developers to


develop and build Apache Cordova hybrid apps in SAP
Web IDE.
HAT has 3 components that are provided as a plugin
and an add-on to SAP Web IDE:

SAP Web IDE

Hybrid App
Toolkit
(plugin)

1. The SAP Web IDE plugin for hybrid app toolkit


2. Hybrid App Toolkit Connector to local build
environment (Cordova command-line interface)

HAT Connector

3. Hybrid App Toolkit Companion

HAT Companion

Apache
CORDOVA

TM

Kapsel
2015 SAP SE or an SAP affiliate company. All rights reserved.

HAT
(add-on)

Android SDK Tools

Android

XCode

iOS
Public

Setting Up Your Development Environment (2)


Enabling the hybrid app toolkit plugin
Choose Tools Preferences Optional Plugins.

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

Public

Setting Up Your Development Environment (2)


Installation and setup

Install and set up


prerequisite software

Install and set up


HAT add-on

Start up
HAT Connector

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

Open source software to be downloaded and installed locally


Windows:
Android
Mac:
Android and iOS

Download from SAP Store


Run GUI-based installer

Hybrid App Toolkit Connector needs to run to enable the communication


between SAP Web IDE and the local environment

Test connection in SAP Web IDE preferences

Public

Setting Up Your Development Environment (2)


Set up local environment install prerequisites HAT 1.5.2
Prerequisites on Windows machine for Android
development:

Prerequisites on Mac machine for iOS and Android


development:

node.js

node.js

Git client command line

Git client

Apache Cordova CLI

Apache Cordova

(Optional) SAP Mobile Platform Kapsel SDK

(Optional) SAP Mobile Platform Kapsel SDK

Android tools required

iOS tools required

Java

Xcode and command line tools

Apache Ant

(Optional) iOS sim tool

Android SDK

(Optional) iOS deploy tool

(Optional) the Google USB Driver

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

Android tools required (same as Windows)

Public

Setting Up Your Development Environment (2)


Set up local environment install prerequisites
Tips for installation of prerequisites
Configure correct proxy on your PC
Configure correct proxy device emulators, e.g., inside
corporate network
Specifically enable Intel VT-x in your BIOS and then install
Intel x86 Emulator Accelerator for your Android Emulator
on Windows
Set correct environment variables:
JAVA_HOME, ANT_HOME, KAPSEL_HOME

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

Public

Setting Up Your Development Environment (2)


GUI-based installer
Install hybrid app toolkit add-on
Extract the content of the
SAP_HAT_local.zip to your specified folder

Run the installer


On Windows, double-click setup.cmd file
On Mac, run chmod +x setup.sh,
then run ./setup.sh

The installer will:


Check the prerequisite software

Install hybrid app toolkit software


Build the Hybrid App Toolkit Companion

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

Public

Setting Up Your Development Environment (2)


Demo

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

Public

Thank you

Contact information:
open@sap.com

2015 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.

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

Public

10

You might also like