More Related Content
Similar to Week 1 unit 1to5 sap hana native application basics
Similar to Week 1 unit 1to5 sap hana native application basics (20)
More from Satya Harish (20)
Week 1 unit 1to5 sap hana native application basics
- 2. © 2013 SAP AG. All rights reserved. 2Public
SAP HANA Native Application Basics
What is SAP HANA?
SAP HANA Platform
• SAP HANA as an appliance
SAP HANA Database
SAP HANA in-memory
database architecture
SAP HANA Applications
Introduction to providing access
to SAP HANA data (via HTTP)
US
Alpha
3.000
US
Beta
1.250
JP
Alpha
700
UK
Alpha
450
Row 1
Row 2
Row 3
Row 4
US
US
JP
UK
Alpha
Beta
Alpha
Alpha
3.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
- 3. © 2013 SAP AG. All rights reserved. 3Public
SAP HANA Native Application Basics
SAP 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
Calculation
logic
Data
- 4. © 2013 SAP AG. All rights reserved. 4Public
SAP HANA Native Application Basics
SAP HANA XS in a Nutshell
Clients handle the
presentation logic
Applications handle the
control flow logic
SAP HANA handles the
calculation logic
Presentation
logic
Control flow
logic
Calculation
logic
Data
Client
HANA
XS
- 5. © 2013 SAP AG. All rights reserved. 5Public
SAP HANA Native Application Basics
SAP HANA Application Development Scenarios
Native SAP HANA Applications:
Applications written for SAP HANA XS, for example, in: server-side JavaScript, ODATA,
XMLA/MDX
Non-Native SAP HANA Applications:
Applications developed externally, for example, in: ABAP, JAVA, .Net …
- 6. © 2013 SAP AG. All rights reserved. 6Public
SAP HANA Native Application Basics
Native 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 and
OData)
Integrated technology stack
(XS)
- 7. © 2013 SAP AG. All rights reserved. 7Public
SAP HANA Native Application Basics
Non-Native SAP HANA Applications
Applications 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 or
libraries (for example, Java)
- 8. © 2013 SAP AG. All rights reserved. 8Public
SAP HANA Native Application Basics
Scope of This Course
Covered in this course…
Data modeling and analytics
SQLScript basics
Exposing and consuming SAP HANA data via HTTP
Server-side JavaScript, OData…
SAPUI5 clients
Lifecycle Management
SAP UI integration services
- 9. Week 1 Unit 2: SAP HANA
Application Development Tools
- 10. © 2013 SAP AG. All rights reserved. 10Public
SAP HANA Application Development Tools
SAP 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
- 11. © 2013 SAP AG. All rights reserved. 11Public
SAP HANA Application Development Tools
SAP HANA studio: Project Explorer View
Eclipse look-and-feel
Repository workspace
Project work area
Shared projects
Development objects
- 12. © 2013 SAP AG. All rights reserved. Public
SAP HANA Application Development Tools
SAP HANA studio: New Project
Add new project
Eclipse-based
In SAP HANA studio
- 13. © 2013 SAP AG. All rights reserved. 13Public
SAP HANA Application Development Tools
SAP HANA studio: New Project Details
Real Eclipse Project
Persistent on the developer’s
local file system
- 14. © 2013 SAP AG. All rights reserved. 14Public
SAP HANA Application Development Tools
SAP HANA studio: Shared Project
Sharing a project
Links the project to an SAP HANA
repository
Project content is visible to other
team members
- 15. © 2013 SAP AG. All rights reserved. 15Public
SAP HANA Application Development Tools
SAP HANA studio: Add Packages to Projects
After sharing a project
Browse packages in the SAP
HANA repository
Add specific packages (as
folders)
- 16. © 2013 SAP AG. All rights reserved. 16Public
SAP HANA Application Development Tools
SAP 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 file system
SAP HANA repository is
treated like Git or Perforce
- 17. © 2013 SAP AG. All rights reserved. 17Public
SAP HANA Application Development Tools
SAP HANA studio: Editing Tools
- 18. © 2013 SAP AG. All rights reserved. 18Public
SAP HANA Application Development Tools
SAP HANA studio: Version Management
Built-in tools include:
Full source merge
Compare
Rebase
Conflict resolution
Version management
- 19. © 2013 SAP AG. All rights reserved. 19Public
SAP HANA Application Development Tools
SAP HANA Client
Connect SAP HANA studio
to the SAP HANA system
Repository integration
Design-time objects
Runtime objects
Local Copies
of Repository
Objects
R RDebuggingRepository
API
R
SAP HANA Studio
(Eclipse)
Web Browser
Index Server
XS Server
Checkout/
commit
- 21. © 2013 SAP AG. All rights reserved. 21Public
SAP HANA Software Downloads
Useful Development Resources
SAP Community Network (SCN)
SAP HANA Developer Center
Free software downloads
Free software licenses
SAP HANA tools
http://developers.sap.com/hana
- 22. © 2013 SAP AG. All rights reserved. 22Public
SAP HANA Software Downloads
SAP Community Network (SCN)
Learn
Deepen your knowledge
Exchange ideas
Solve problems
Expand your network
Become an expert in your field
- 23. © 2013 SAP AG. All rights reserved. 23Public
SAP HANA Software Downloads
SAP 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
- 24. Week 1 Unit 4: Access to SAP
HANA Systems (in the Cloud)
- 25. © 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 this
course.
SAP works with several
providers to give you a
choice of infrastructure
platforms.
- 26. © 2013 SAP AG. All rights reserved. 26Public
Access to SAP HANA Systems (in the Cloud)
SAP HANA Developer Edition Environment
Recommendation: Use the
SAP 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 next
slide
- 27. © 2013 SAP AG. All rights reserved. 27Public
Access to SAP HANA Systems (in the Cloud)
More Options
Additional options are
available
For more information, see
the SAP HANA developer
center at:
scn.sap.com/community/
developer-center/hana
- 29. © 2013 SAP AG. All rights reserved. 29Public
Example Native SAP HANA Application
“Hello World” in Server-Side JavaScript
SAP HANA systems
Workspaces and projects
Core application files
Server-side JavaScript
The SAP HANA application
Data retrieval and display
- 30. © 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 and
password
- 31. © 2013 SAP AG. All rights reserved. 31Public
Example Native SAP HANA Application
“Hello World”: Adding a Repository Workspace
Repository Workspace
Workspace name
Workspace root
- 32. © 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
- 33. © 2013 SAP AG. All rights reserved. 33Public
Example Native SAP HANA Application
“Hello World”: Core Application Files
Application descriptor (.xsapp)
Marks Web content root
Application access (.xsaccess)
Exposes Web content
Sets user/client authentication mechanism
- 34. © 2013 SAP AG. All rights reserved. 34Public
Example Native SAP HANA Application
“Hello World”: Server-Side JavaScript
Request/Response
$.response.contentType
Connection
$.db.getConnection
SQL statement
select * from DUMMY
Output string
This is… + rs.getString()
Display
$.response.setBody
- 36. © 2013 SAP AG. All rights reserved. 36Public
© 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 or
warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
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.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in
Germany 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 or
warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
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.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in
Germany and other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.