SapHanaTutorial.Com HOME     Learning-Materials Interview-Q&A Certifications Quiz Online-Courses Forum Jobs Trendz FAQs  
     Explore The World of Hana With Us     
About Us
Contact Us
Hadoop App
Tutorial App on SAP HANA
This app is an All-In-One package to provide everything to HANA Lovers.

It contains
1. Courses on SAP HANA - Basics, Modeling and Administration
2. Multiple Quizzes on Overview, Modelling, Architeture, and Administration
3. Most popular articles on SAP HANA
4. Series of Interview questions to brushup your HANA skills
Tutorial App on Hadoop
This app is an All-In-One package to provide everything to Hadoop Lovers.

It contains
1. Courses on Hadoop - Basics and Advanced
2. Multiple Quizzes on Basics, MapReduce and HDFS
3. Most popular articles on Hadoop
4. Series of Interview questions to brushup your skills
Hadoop App
Stay Connected
Search Topics
Topic Index
XSA Overview
XS Overview
Hello World Example
XS OData Service
Core Data Service

Hello World XS Project using HANA Studio

In the article Introduction to SAP HANA XS, we explained the basic feature of SAP HANA XS.
In this article we will show you how to create a basic Hello World Project in SAP HANA XS using HANA Studio.


  1. Open HANA Studio. Select “SAP HANA Development” perspective.
SAP HANA XS Hello World
  1. Select “Repositories” tab in the left side. Right click and select “Create Repository Workspace”. In the popup window, provide Workspace name. You may keep everything as default.
SAP HANA XS Hello World
Click on “Project Explorer” tab. Right click and select “XS Project”. Provide a name for your project and click Next.
SAP HANA XS Hello World
  1. Select the Workspace. Click on the browse button and select the package where you want to create the XS project.
SAP HANA XS Hello World
Note: If you need to create a new package, go to System tab and create it under Content.
  1. Leave everything else blank and click on Finish. Later we will explain the components like hdbschema, xsjs etc. But in this article we will only focus to create a simple Hello World application.
SAP HANA XS Hello World

  1. An XS project will be created as shown below. Note that it automatically creates 2 mandatory files - .xsapp and .xsaccess. To read more about these files read SAP HANA XS Application descriptor and Application access files
SAP HANA XS Hello World
  1. Right click and go to New à File. Give file name as “HelloWorld.html”.
SAP HANA XS Hello World
  1. Copy paste below code.
         HANA XS Hello World Application
   <P>This is my first "hello world" example.</P>

  1. Save the file. Right click and select Team à Activate.
SAP HANA XS Hello World
  1. Done. You have created your first HANA XS Application. Now let’s run it. Right click on the file once again and select “Run As” à HTML. It will open in your default browser. Provide HANA user id and password. It should open like image below.
SAP HANA XS Hello World
Continue reading:

Support us by sharing this article.

Explore More
Close X
Close X

6 thoughts on “Create Your First HANA XS Application using HANA Studio

  1. Sumeet Durgia says:


    I have created as above but I am not able to see my repository schema in catalog tab. Can you please help?


    • Admin says:

      Hi Summet,
      Are you checking the “Repositories” tab?
      There is no schema mentioned in this article. Could you please check and let me know if you follow this article or some other article.

    • Kevin says:

      Hi There,

      Thank u For sharing this unique article. Definitely a life saver.

      Need your help to validate if solution recommended by SUSE support to upgrade the existing kernel – 4.4.21-69.1 ( SP2-Nov-2016 ) to latest available kernel – 4.4.114-92.67.1 ( Feb-27-2018 ) for SLES 12.2 SAP Application SP2 is compatible / supported for on Hyper-V VMs.called?
      The Privileges can be granted to the user directly or indirectly (through roles) SAP HANA Training . All Privileges assign to users are combined into a single unit.

      Appreciate your effort for making such useful blogs and helping the community.

      Many Thanks,

  2. JS says:


    I’ve created this app, but as soon as I executed, I get a timeout error. I can ping the server but this HTML is not executed.
    Am I missing something?


  3. Ananda Babu says:

    Hi Admin,

    I created the way as above. But i am getting 404 Error. I checked XS Engine and it is up and running. Any roles required to execute this??


  4. June says:


    I got a message that 404 – Not found

    We could not find the resource you’re trying to access.
    It might be misspelled or currently unavailable.

    and the .xsaccess have some error, but click the file, it show connect to my database.


Leave a Reply

Your email address will not be published. Required fields are marked *

Current day month ye@r *

 © 2017 :, All rights reserved.  Privacy Policy