Skip to Content

  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).

/wp-content/uploads/2013/07/1_3_240390.png

Accept the terms and conditions.

/wp-content/uploads/2013/07/2_240289.png

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

/wp-content/uploads/2013/07/3_240341.png

Your SAP HANA Developer account is created.

/wp-content/uploads/2013/07/4_240342.png

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).

/wp-content/uploads/2013/07/5_240343.png

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/

/wp-content/uploads/2013/07/6_240359.png

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.

/wp-content/uploads/2013/07/7_240360.png

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.

/wp-content/uploads/2013/07/8_240361.png

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.

/wp-content/uploads/2013/07/9_240362.png

Click Next

/wp-content/uploads/2013/07/10_240363.png

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

/wp-content/uploads/2013/07/11_240364.png

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

/wp-content/uploads/2013/07/12_240371.png

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.

/wp-content/uploads/2013/07/13_240372.png

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].

/wp-content/uploads/2013/07/14_240373.png

Click Next.

  /wp-content/uploads/2013/07/15_240377.png

Click Finish.

  /wp-content/uploads/2013/07/16_240378.png

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]/index.html

Hope you enjoyed it!

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. migarate tulsi

    Its Nice blog Mickey.  I am new to UI5, so can you provide any link or proper document which I can follow to start up some demo applications.

    Thanks,

    (0) 
      1. migarate tulsi

        Hi Mickey,

        Thanks for your suggestion. But this link is landing to a blank page. Can you send any relevant document or information to my id. Thanks

        (0) 

Leave a Reply