0% found this document useful (0 votes)
580 views

SAP HANA Learning Material

This document provides instructions for setting up an SAP HANA trial account and developing a basic application. It outlines 4 parts: 1) Creating a trial account and installing tools; 2) Creating an XS application in Eclipse; 3) Debugging XSJS services; 4) Examples of XSJS code. The document contains links to tutorials and API documentation to help learn SAP HANA development.

Uploaded by

Mayur GB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
580 views

SAP HANA Learning Material

This document provides instructions for setting up an SAP HANA trial account and developing a basic application. It outlines 4 parts: 1) Creating a trial account and installing tools; 2) Creating an XS application in Eclipse; 3) Debugging XSJS services; 4) Examples of XSJS code. The document contains links to tutorials and API documentation to help learn SAP HANA development.

Uploaded by

Mayur GB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

SAP HANA Learning Material

Part 1: Creating trial account, installing HANA tools

1. HANA Overview: http://saphanatutorial.com/prerequisites-for-learning-sap-hana/


2. Create an account on https://account.hanatrial.ondemand.com/
3. Download Eclipse IDE for Java EE. Install the Hana Cloud Platform tools.
https://help.hana.ondemand.com/help/frameset.htm?b0e351ada628458cb8906f55bcac4755.h
tml
4. In your cockpit navigate to Databases & Schemas and create a schema for HANA XS.

Part 2: Creating an SAP HANA XS Application

1. In Eclipse IDE navigate to SystemsOpen PerspectiveHANA Development Perspective.


2. In systems tab Right click Add Cloud System.
3. Create a package in the Repositories tab.
4. Please follow the tutorial in the link:
https://help.hana.ondemand.com/help/frameset.htm?3762b229a4074fc59ac6a9ee7404f8c9.ht
ml

The XS Engine acts as a middleware connecting the UI and the HANA database. The most
commonly used commands to communicate with UI are:
$.response To pass the response from your XS application back to the UI.
$.request The UI can pass variables to the XS Engine using the command.

Apart from these we use the plane ODBC commands to connect to the HANA system.
1. Create a connection using $.db.getConnection();
2. Define a prepare statement for your query using prepareStatement.
3. Execute the statement using executeQuery();
4. Close all the connections.

The result is then constructed as a JSON object which is sent to the UI.

Part 3: Debugging XSJS service

URL:
https://help.hana.ondemand.com/help/frameset.htm?a6357286d6a14880bd9af42672e2c75e.html

http://scn.sap.com/community/developer-center/cloud-platform/blog/2014/06/19/debug-your-sap-
hana-xs-application-on-trial

Part 4: XSJS Examples


URL:

http://saphanatutorial.com/sap-hana-xsjs-examples/
https://help.hana.ondemand.com/help/frameset.htm?3762b229a4074fc59ac6a9ee7404f8c9.html

You might also like