Below points will be covered in post:

  1. Creating new SAPUI5 Project
  2. Deploy Application on SAP HANA Cloud Platform
  3. SAP HANA Cloud Platform Overview
  4. SAP HANA Cloud Platform Version
  5. SAP HANA Cloud Platform Roles
  6. Committing SAPUI5 Application changes to Cloud
  7. Version management of Application in SAP HANA Cloud Platform

Creating new SAPUI5 Project

/wp-content/uploads/2015/11/1_826612.png

Select type of Application you want to create.

/wp-content/uploads/2015/11/2_826652.png

Follow the screen and Application will be created as shown below.

/wp-content/uploads/2015/11/3_826653.png

New Application XMLUI5 is created.

Now we will add this SAPUI5 Project to Git. To do this we need to deploy our application to SAP HANA Cloud Platform.

Lets checkout the Git settings first.

/wp-content/uploads/2015/11/4_826655.png

/wp-content/uploads/2015/11/5_826656.png

Deploy SAPUI5 Application on HANA Cloud Platform.

/wp-content/uploads/2015/11/6_826657.png

Here you need to provide your SAPID or PID for Authentication and click on Login button.

/wp-content/uploads/2015/11/7_826658.png

SAP HANA Cloud Platform it automatically maintain Versions, each time you deploy an Application it creates a new Version number to identify the latest changes. It also provides ability to switch to specific version of deployed Application when ever required and Activate that specific Version.

In below screen shot we are deploying very first version 1.0.0 of SAPUI5 Application which we are creating.

Click on Deploy button.

/wp-content/uploads/2015/11/8_826659.png

If your Application is deployed successfully you will see below Popup and Green dots in your Application.

/wp-content/uploads/2015/11/9_826660.png

If you want to see hot your Application works on HANA Cloud, you can click on first link available in popup.

Once you click on first link it looks like below.

/wp-content/uploads/2015/11/12_826662.png

Three more files (highlighted below) will be added once all things are correctly configured in HANA Cloud Platform

/wp-content/uploads/2015/11/11_826661.png

Once your Application (XMLUI5) is configured in SAP HANA Cloud you can see it in Cloud Platform as below.

SAP HANA Cockpit can be accessed using below URL

https://account.hanatrial.ondemand.com/cockpit

/wp-content/uploads/2015/11/13_826663.png

Once you click on your deployed Application you will see below screen which contains below details

  1. Application Details
  2. Current Status of your application
  3. Current Active Version URL (you can access your application using this URL)

Overview:

/wp-content/uploads/2015/11/14_826664.png

Version:


When you click on Version link on left side below screen will be opened

Versioning sections two main parts

Commits:

  1. This section will contains all of your commits done in Application along with comments and Versions you are allowed here to activate any of the available versions.
  2. Each time you perform a Commit in your SAPUI5 project from WEBIDE Git, the same will be updated here. Currently we are having only one new Commit available with active version 1.0.0.
  3. Git Repository URl can be used to retrieve the repository Application contents or push changes using a Git utility.

/wp-content/uploads/2015/11/15_826665.png

Versions:

Versions tab will show you the current Active as well as all other Inactive Versions available in HANA Cloud. You can change Active version any time as required by using Actions column Activate Button.

/wp-content/uploads/2015/11/16_826666.png

Roles:


Roles tab is basically used in scenario when there are multiple developers working on same application (authenticate them) we create Roles and then we assign Developers in that Role. In our example we have created one Role called Developer and add Three developers in that Role.

These should be PID or SAPID of the Developers who will work. This mainly used when you try to Deploy or Commit any changes done in Application to SAP HANA Cloud.

/wp-content/uploads/2015/11/17_826670.png

Once we are done with creating Roles we are ready to Assign Developers to that Role. PID or SAPID is required to add Developers.

/wp-content/uploads/2015/11/18_826671.png

Any time you can Un-assign/Assign any User from/to List.

/wp-content/uploads/2015/11/19_826672.png

Changing files and updating (Committing changes) on SAP HANA Cloud Platform


Let us see how Application looks, go as shown below

/wp-content/uploads/2015/11/21_826679.png

/wp-content/uploads/2015/11/22_826680.png

Now let us make some changes to Title of our Application and make a Commit to SAP HANA Cloud.

Once you make changes to file the Green Dot will gets changes to *.  This means you have checked out these files (Files are changed) and are no longer in sync with SAP HANA Cloud repository.

/wp-content/uploads/2015/11/23_826681.png

Once you are done with all your changes to a file you can again Checked-in the changes to SAP HANA Cloud.

Just Click Git Pane on right hand side. This will provide options to Check-In code as shown below

/wp-content/uploads/2015/11/24_826682.png

Choose the files which you want to Check-In by clicking on Stag checkbox individually.

It is suggested Click on Pull button before committing any changes.

Once you click on Pull button you will be asked for SAP ID/PID for Authentication as below, provide and click on OK button.

/wp-content/uploads/2015/11/25_826683.png

Now time to Commit the changes, select Stag checkbox put some Commit Description Comments and click on Commit and Push button.

/wp-content/uploads/2015/11/26_826691.png

/wp-content/uploads/2015/11/28_826693.png

Once Commit is successful you will see message on top right corner.

/wp-content/uploads/2015/11/30_826697.png

This means your changes are Committed in SAP HANA Cloud. The * will turn back to Green Dot in Application hierarchy.

You can see your Commits in History in SAP HANA Cloud as below.

/wp-content/uploads/2015/11/31_826698.png

After this Commit if you see in Versioning tab of SAP HANA Cloud Platform you still find the Old version which is active.

New Version can be Activate as shown below.

/wp-content/uploads/2015/11/37_826715.png

Click on Yes button to Activate.

Run Application again and changes will be reflected as below (Title updated)

/wp-content/uploads/2015/11/38_826716.png

Thanks to you for reading this post till end.

I have tried to provide details on each and every step you need to perform if you are working on SAP HANA Cloud platform, please suggest or comment if I missed any.


Please drop a comment or suggestion so I can update the document accordingly.

Please have a look to Cloud Connector configuration steps:

SAPUI5 – Cloud Connector

Thanks-

Abhishek

To report this post you need to login first.

4 Comments

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

Leave a Reply