Steps to develop an application in SAP HANA Studio
In this chapter, we will learn how to develop an application in SAP HANA Studio that displays Hello World. Follow the given procedure :
Step 1: Open SAP HANA Studio and select the ‘SAP HANA Development’ option.
Step 2: Go to the ‘Repositories’ tab, right-click on it and select ‘Create Repository Workspace’. Write the Workspace name and other fields can be kept as default.
Step 3: Go to the Project Explorer tab, right-click on it and select ‘XS project’, rename it and click next.
Step 4: Now go to the Workspace, click on the ‘Browse’ button and select the package where you will create the project. Click on the ‘Finish’ button.
We have the perfect professional SAP HANA Training Course for you!
Note: If you need to create a new package, go to the System tab and create it under Content.
Still, have queries? Come to Intellipaat’s SAP HANA Community, clarify all your doubts, and excel in your career!
Step 5: Right-click and click on ‘New File’. Rename it as ‘Hello World.html’ and hit the ‘Finish’ button.
Step 6: Write the following lines of code to display Hello World:
<HTML> <HEAD> <TITLE> HANA XS Hello World Application </TITLE> </HEAD> <BODY> <H1>Hi</H1> <P>This is my first "hello world" example.</P> </BODY> </HTML>
Step 7: Save the file. Right-click and go to ‘Team’ and select ‘Activate’.
Want to get certified in SAP HANA. Learn from our SAP HANA expert and do excel in your career with intellipaat’s SAP HANA Admin certification!
Step 8: Now right-click on it once again and click on ‘Run as an HTML’. Provide the SAP HANA User ID and Password and it will appear as follows :