Post on 03-Apr-2018
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 1/36
Week 1 Unit 1: SAP HANA Native
Application Basics
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 2/36
© 2013 SAP AG. All rights reserved. 2Public
SAP HANA Native Application BasicsWhat is SAP HANA?
SAP HANA Platform
• SAP HANA as an appliance
SAP HANA Database
SAP HANA in-memorydatabase architecture
SAP HANA Applications
Introduction to providing accessto SAP HANA data (via HTTP)
US
Alpha
3.000
US
Beta
1.250
JP
Alpha700
UK
Alpha
450
Row 1
Row 2
Row 3
Row 4
US
US
JP
UK
Alpha
Beta
Alpha
Alpha3.000
1.260
700
450
Country
Product
Sales
Row Store Column Store
Country
US
US
JP
UK
Product
Alpha
Beta
Alpha
Alpha
Sales
3.000
1.250
700
450
Table
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 3/36
© 2013 SAP AG. All rights reserved. 3Public
SAP HANA Native Application BasicsSAP HANA Extended Application Services (XS) Overview
Enable application
development/deployment:
http-based UI
Run on SAP HANA
No external app. server
Best possible performance
Broaden implementation
base:
Small Web-based apps in
lightweight environments
Complex, high-speed business
apps in robust environments
Presentation
logic
Control flow
logic
Calculationlogic
Data
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 4/36
© 2013 SAP AG. All rights reserved. 4Public
SAP HANA Native Application BasicsSAP HANA XS in a Nutshell
Clients handle the
presentation logic
Appl icat ions handle the
control flow logic
SAP HANA handles thecalculation logic
Presentation
logic
Control flow
logic
Calculation
logicData
Client
HANAXS
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 5/36
© 2013 SAP AG. All rights reserved. 5Public
SAP HANA Native Application BasicsSAP HANA Application Development Scenarios
Native SAP HANA Appl ications:
Applications written for SAP HANA XS, for example, in: server-side J avaScript, ODATA,XMLA/MDX
Non-Native SAP HANA Appl ications:
Applications developed externally, for example, in: ABAP, J AVA, .Net …
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 6/36
© 2013 SAP AG. All rights reserved. 6Public
SAP HANA Native Application BasicsNative SAP HANA Applications
Exposing and consuming
SAP HANA data via HTTP
and SAP HANA XS:
Simplicity at runtime
Simplicity at design time
Sustainable architecture
Speed of development (XS andOData)
Integrated technology stack(XS)
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 7/36
© 2013 SAP AG. All rights reserved. 7Public
SAP HANA Native Application BasicsNon-Native SAP HANA Applications
Appl icat ions developed
externally, for example, in
ABAP, Java, PHP, .NET:
Use/extend existing applications
Use an existing application server
Reuse application server assets(workflow, printing, archiving)
Reuse third-party software orlibraries (for example, J ava)
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 8/36© 2013 SAP AG. All rights reserved. 8Public
SAP HANA Native Application BasicsScope of This Course
Covered in this course…
Data modeling and analytics
SQLScript basics
Exposing and consuming SAP HANA data via HTTP
Server-side J avaScript, OData…
SAPUI5 clients Lifecycle Management
SAP UI integration services
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 9/36
Week 1 Unit 2: SAP HANA
Application Development Tools
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 10/36© 2013 SAP AG. All rights reserved. 10Public
SAP HANA Application Development ToolsSAP HANA studio: Development Perspective
Eclipse look-and-feel
Dedicated perspectives and
views
The SAP HANA Development
perspective: Project Explorer
SAP HANA Repositories
Navigator
Workspaces
Projects
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 11/36© 2013 SAP AG. All rights reserved. 11Public
SAP HANA Application Development ToolsSAP HANA studio: Project Explorer View
Eclipse look-and-feel
Repository workspace
Project work area
Shared projects
Development objects
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 12/36© 2013 SAP AG. All rights reserved. 12Public
SAP HANA Application Development ToolsSAP HANA studio: New Project
Add new project
Eclipse-based
In SAP HANA studio
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 13/36© 2013 SAP AG. All rights reserved. 13Public
SAP HANA Application Development ToolsSAP HANA studio: New Project Details
Real Eclipse Project
Persistent on the developer’s
local file system
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 14/36© 2013 SAP AG. All rights reserved. 14Public
SAP HANA Application Development ToolsSAP HANA studio: Shared Project
Sharing a project
Links the project to an SAP HANArepository
Project content is visible to otherteam members
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 15/36© 2013 SAP AG. All rights reserved. 15Public
SAP HANA Application Development ToolsSAP HANA studio: Add Packages to Projects
After sharing a project
Browse packages in the SAP
HANA repository
Add specif ic packages (as
folders)
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 16/36© 2013 SAP AG. All rights reserved. 16Public
SAP HANA Application Development ToolsSAP HANA studio: Check Out Package Contents
After adding packages, you
can check out the package
contents
The checkout copies content
from the SAP HANA repository
to the local fi le system
SAP HANA repository is
treated like Git or Perforce
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 17/36© 2013 SAP AG. All rights reserved. 17Public
SAP HANA Application Development ToolsSAP HANA studio: Editing Tools
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 18/36© 2013 SAP AG. All rights reserved. 18Public
SAP HANA Application Development ToolsSAP HANA studio: Version Management
Built-in tools include:
Full source merge
Compare
Rebase
Conflict resolution
Version management
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 19/36
© 2013 SAP AG. All rights reserved. 19Public
SAP HANA Application Development ToolsSAP HANA Client
Connect SAP HANA studio
to the SAP HANA system
Repository integration
Design-time objects
Runtime objects
Local Copiesof Repository
Objects
R
R
DebuggingRepositoryAPI
R
SAP HANA Studio
(Eclipse)Web Browser
Index Server
XS Server
Checkout/commit
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 20/36
Week 1 Unit 3: SAP HANA
Software Downloads
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 21/36
© 2013 SAP AG. All rights reserved. 21Public
SAP HANA Software DownloadsUseful Development Resources
SAP Community Network (SCN)
SAP HANA Developer Center
Free software downloads
Free software licenses
SAP HANA tools
http://developers.sap.com/hana
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 22/36
© 2013 SAP AG. All rights reserved. 22Public
SAP HANA Software DownloadsSAP Community Network (SCN)
Learn
Deepen your knowledge
Exchange ideas
Solve problems
Expand your network
Become an expert in your field
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 23/36
© 2013 SAP AG. All rights reserved. 23Public
SAP HANA Software DownloadsSAP Developer Center
Guides/How to
SAP HANA academy
Free software downloads:
SAP HANA studio
SAP HANA client
Free software licenses
SAP HANA tools
http://developers.sap.com/hana
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 24/36
Week 1 Unit 4: Access to SAP
HANA Systems (in the Cloud)
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 25/36
© 2013 SAP AG. All rights reserved. 25Public
Access to SAP HANA Systems (in the Cloud)
SAP HANA in the Cloud
You can deploy your own
SAP HANA system image in
the cloud.
Use your own system
environment to practice
what you learn in thiscourse.
SAP works with several
providers to give you a
choice of infrastructure
platforms.
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 26/36
© 2013 SAP AG. All rights reserved. 26Public
Access to SAP HANA Systems (in the Cloud)
SAP HANA Developer Edition Environment
Recommendation: Use theSAP Developer Edition
Environment
Hosted on the Amazon Web
Services (AWS) cloud
No SAP charge for the
license
AWS charging: Through
your own AWS account
More options: See nextslide
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 27/36
© 2013 SAP AG. All rights reserved. 27Public
Access to SAP HANA Systems (in the Cloud)
More Options
Addi tional opt ions areavailable
For more information, see
the SAP HANA developer
center at:
scn.sap.com/community/developer-center/hana
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 28/36
Week 1 Unit 5: Example
Application
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 29/36
© 2013 SAP AG. All rights reserved. 29Public
Example Native SAP HANA Application“Hello World” in Server-Side J avaScript
SAP HANA systems
Workspaces and projects
Core appl ication files
Server-side JavaScript
The SAP HANA application
Data retrieval and display
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 30/36
© 2013 SAP AG. All rights reserved. 30Public
Example Native SAP HANA Application“Hello World”: Adding SAP HANA Systems
SAP HANA systems
Server name
SAP HANA instance number
A display name for this system
SAP HANA database username andpassword
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 31/36
© 2013 SAP AG. All rights reserved. 31Public
Example Native SAP HANA Application“Hello World”: Adding a Repository Workspace
Repository Workspace
Workspace name
Workspace root
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 32/36
© 2013 SAP AG. All rights reserved. 32Public
Example Native SAP HANA Application“Hello World”: Adding a Workspace Project
Workspace Project
Project type: XS Project
Project name
Shared project
To synchronize files with the repository
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 33/36
© 2013 SAP AG. All rights reserved. 33Public
Example Native SAP HANA Application“Hello World”: Core Application Files
Appl icat ion descriptor (.xsapp)
Marks Web content root
Appl ication access (.xsaccess)
Exposes Web content
Sets user/client authentication mechanism
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 34/36
© 2013 SAP AG. All rights reserved. 34Public
Example Native SAP HANA Application“Hello World”: Server-Side J avaScript
Request/Response $.response.contentType
Connection
$.db.getConnection
SQL statement
select * from DUMMY
Output st ring
This is… + rs.getString()
Display
$.response.setBody
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 35/36
Thank you
Contact information:
open@sap.com
7/28/2019 OpenSAP HANA1 Week 01 Developing Applications for SAP HANA Presentation (1)
http://slidepdf.com/reader/full/opensap-hana1-week-01-developing-applications-for-sap-hana-presentation-1 36/36
© 2013 SAP AG. 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 AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation orwarranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Groupproducts and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothingherein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG inGermany and other countries.Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
© 2013 SAP AG. 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 AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation orwarranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Groupproducts and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothingherein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG inGermany and other countries.Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.