It was a surprise when SAP announced the SAP HANA Express Edition (HXE) at end of 2016. The Express Edition is a freely available version of the SAP HANA Platform with almost all the features of the commercial SAP HANA version. There are multiple options to run HXE: local or in the cloud. HP shares his developer experience with the HANA Express Edition over the past two years.
1. Two Years with SAP HANA Express
HP Seitz, MYPRO-Consulting
HANA Tech Night Mannheim, 19th Feb. 2019
1
2. @hpseitz https://blog.MYPRO.de
HP Seitz
Knowledge/Skills/Experience
• Frontend Development with SAPUI5/OpenUI5
• Backend Development with NodeJS/ExpressJS/SAP HANA XSA
• Professional JavaScript Development (TDD, CI)
• >15 years in SAP “Eco System”
Customer Projects with:
• SAPUI5/OpenUI5 since 2012
• NodeJS since 2015
• SAP HANA XSA since 2016
2
3. @hpseitz https://blog.MYPRO.de
Past sessions on SIT‘s and UI5con‘s
SAP Inside Track Bern 2017 (sitBERN)
• "Full-Stack JavaScript Development on SAP HANA
Platform"
UI5con@SAP 2017
• "SAPUI5 on SAP HANA XSA - SAP Full-Stack
JavaScript Development"
The first UI5con in Frankfurt 2016
• "Full-stack JavaScript with OpenUI5"
SAP Inside Track Frankfurt 2015 (sitFRA)
• "UI5 Boilerplate - Fiori Edition"
3
4. @hpseitz https://blog.MYPRO.de
SAP HANA / SAP HANA Platform
• Initial release late 2010 called SAP In-Memory Computing Engine
• In-Memory (up to 20 TB RAM)
• OLAP + OLTP
• Row and Column Store, Compression
• Multi-model Database (Graph, Spatial, …)
• “Code to Data” Programming Model
Application Development
• Late 2012 with HANA 1.0 SPS05 – SAP HANA Extended Application Services (XSC)
• Late 2015 with HANA 1.0 SPS11 – SAP HANA Extended Application Services, advanced model (XSA)
• Late 2018 with HANA 2.0 SPS03 – New Application Programming Model (XSA CAPM)
• Late 2021 ??? – ???
4
5. @hpseitz https://blog.MYPRO.de
SAP HANA Express Edition (HXE)
• SID of SAP HANA EXpress Edition is HXE
• First release December 2016
• FREE, up to 32 GB RAM
• Comes in two flavors:
• Database Server only
• Server plus XSA Runtime/Apps
5
10. @hpseitz https://blog.MYPRO.de
HXE XSA (Virtual Machine)
10
• Blog Post „The easy way to start with SAP HANA 2.0 Express Edition”
• https://blog.mypro.de/2018/02/23/easy-way-to-start-with-sap-hana-express-edition/
11. @hpseitz https://blog.MYPRO.de
HXE XSA (Virtual Machine)
• Easy peasy
• Full control
• Putty
• Snapshots
• SLES
• HDB stop
• No running costs
• No patches
11
14. @hpseitz https://blog.MYPRO.de
HXE XSA on Google Cloud
14
• Not latest greatest (delayed patch levels)
• Costs when running
• HDB stop
• Use external fixed ip
• SLES
15. @hpseitz https://blog.MYPRO.de
HXE XSA (Other good options)
• Ubuntu or OpenSUSE vm in the Cloud (with binary installation)
• Ubuntu or OpenSUSE local/local vm (with binary installation)
• SAP Cloud Appliance Library (SAP CAL)
• Easy deploys to AWS, GCP or Azure
15
16. @hpseitz https://blog.MYPRO.de
SAP HANA Database Server
16
HANA DB
SQLScript
Graph
SQL View
Schema
“Container”
Index
Table Procedure
….. & more
Code to Data
CDS
Calculation
View
Spatial
Multi-model
Database
Nerd
18. @hpseitz https://blog.MYPRO.de
SAPHANAPlatform
XSA
SAP HANA XSA
18
HANA DB
SQLScript
Graph
SQL View
Schema
“Container”
Index
Table Procedure
….. & more
CDS
Calculation
View
Spatial
Application
Developer
Cloud Foundry
on Premise
NodeJS Java Python ….. & more
XSJS XSODATA SAPUI5 CDS
CD&S CAPM MTA XSUAA
HDI OData .. ….. & more
19. 19
Typical XSA application consists of multiple
modules/services, each running in own process:
Frontend (HTML5 module with SAPUI5)
Backend (NodeJS module, which implements Backend Logic,
provides REST or OData services)
Database (HDB module, which defines database artifacts)
Service Instances (xsuaa, hana, …..)
Micro-Services Architecture – XSA Multi Target Application (MTA) Model
20. @hpseitz https://blog.MYPRO.de
XSA Architecture
Runtime & Development Platform (HP’s simplified view)
20
HANA Platform
HANA DB
Git Server
XSA
Local
NPM Cache
UI5 Runtime
/ SDK
MTA
WebIDE
for HANA
MTA
XS Client
App Router
MTA
UI
Node
HDB
Java
Central Router Browser
UAA
App Router
MTA
UI
Node
HDB
Java
MTA
MTA
MTA
MTA
npm.sap.com
@SAP packages
Public
NPM Registry
23. @hpseitz https://blog.MYPRO.de
Challenges
HANA XSA in general
• Too much information and too less information!
• So many options how to develop
• Deprecation chaos (XSC, XSA, XSODATA, CDS vs CD&S, OData V2/V4, ...)
HXE in particular
• Pick the right run option.
• It is FREE but it is NOT open source!!!
• Enterprise Software
• No real support for HXE
23
24. @hpseitz https://blog.MYPRO.de
Good starting points
Recommended HANA XSA Sources
• Video Playlist “SAP HANA Basics For Developers“ from 2019-1
(64 videos, 21 hours!!) from Thomas Jung
https://www.youtube.com/playlist?list=PLoc6uc3ML1JR38-V46qhmGIKG07nXwO6X
• SAP Tutorials https://www.sap.com/developer/tutorial-navigator.tutorial-groups.html
• openSAP courses “Software Development on SAP HANA”
(HANA5/HANA6/HANA7) https://open.sap.com/courses/hana7/
• Daily HANA XSA / HXE News https://twitter.com/HANA_XSA
• HANA Academy on YouTube https://www.youtube.com/user/saphanaacademy
• help.sap.com (SAP HANA Platform SAP HANA Developer Guide)
• Follow me
24