Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

  Create your own Cloud Portal developer account and deploy your applications on SAP HANA Cloud

We have lot of information across sdn about SAP HANA, the Cloud Portal and how to work with it. But still I find people difficult to start with. So I have tried to pen down my experiences in a simple manner. The document will help enthusiasts to create their own Cloud account and deploy their SAPUI5 applications on SAP HANA Cloud in few easy steps.

 

Prerequisites:

 

  1. Eclipse Juno installed in your system.
  2. You already have a sample SAPUI5 application ready in your eclipse.
  3. Sdn credentials.

Step A. Create your own SAP HANA Cloud Portal developer account

Log on to SAP HANA Cloud, using the URL. https://account.hanatrial.ondemand.com/cockpit

Give sdn credentials, email id is also enough (if you do not have a P-user id yet).

Accept the terms and conditions.

You can select a default database from below (once selected, there is no option to change it as of now)

Your SAP HANA Developer account is created.

And with it, you also get your P-user id, needed to work with the trial version of SAP HANA Cloud (publishing and running applications on HANA Cloud and also you can have your own SAP HANA Cloud Portal).

Now we have our SAP HANA Cloud account ready, we want to deploy our application on Cloud.

Step B. Deploy your application on SAP HANA Cloud

 

For this we should have the SAP HANA Cloud sdk installed in our system and reference should be specified in eclipse.

Click on the URL: https://tools.hana.ondemand.com/

Download SAP HANA Cloud SDK for Java from the site.

 

Click on the zip file: neo-sdk-javaweb-1.30.8.zip .

 

Accept the SAP Developer license agreement on the pop up window that appears.

The zip file gets downloaded in your system. Extract and save it some appropriate location (like C:/HANA Cloud SDK), as this will be required in later steps.

Next, open Eclipse. Choose  Window -> Preferences. Select Server -> SAP HANA Cloud.  Enter the details as follows:

 

Landscape Host: hanatrial.ondemand.com

SDK Location: [Browse to your file system and locate to the installed SAP HANA Cloud sdk]

Account name: pxxxxxxtrial [Your SAP HANA developer account, with “p” in small caps and suffixed with “trial”].

Username: Pxxxxxx [Your SAP HANA developer account, with “P” in small caps].

Click Validate to check if the settings are validated. Click Apply. This will set up SAP HANA Cloud as your server.

Next we need to set up the server runtime environment to SAP HANA Cloud.

In Eclipse, Choose  Window -> Preferences -> Server ->Runtime Environment.

Choose Add. Select SAP-> SAP HANA Cloud as New Server Runtime popup that appears.

Click Next

Click Finish. It may take some time, as the eclipse resolves dependencies. Now the Server Runtime Environment has SAP HANA Cloud as an entry.

Now your eclipse is ready to deploy your SAPUI5 application on SAP HANA Cloud.

In Project Explorer, open your SAPUI5 project, go to index.html. Right Click on index.html, from context menu, choose Run As -> Run on Server

Select SAP -> SAP HANA Cloud from the popup window that appears.

Notice the Server Host Name. It has to be hanatrial.ondemand.com as we are using trail version of the Cloud.

Click Next. Fill in the details as below.

Application name: [give the name of your SAPUI5 application you wish to deploy]

Account name:  pxxxxxxtrial [Your SAP HANA developer account, with “p” in small caps and suffixed with “trial”].

User name: Pxxxxxx [Your SAP HANA developer account, with “P” in small caps]

Password: ********  [Your developer account password]

[I prefer to save the password to avoid multiple popups while publishing the application].

Click Next.

 

Click Finish.

 

As the system publishes the application on Cloud, it may take several minutes.

 

Once published, the application will open up in eclipse with the Cloud URL. Now you can use this URL to have your application anywhere in internet.

The SAP HANA Cloud URL for your published application will be something like:

https://[application_name][your_developer_account_name].hanatrial.ondemand.com/[application_name]/in...

Hope you enjoyed it!

4 Comments
Labels in this area