Skip to Content

You have your HANA One installation on Amazon Web services, and you have started following tutorials and maybe built your first data model. Now, the time has come to try to create some UI5 interfaces. For this, you need to install the UI5 plugins on your HANA server – but beware, there are some tricky pitfalls to avoid. This blog is based on my own experiences with the HANA One SP05 revision 48.

 

Start by going to the “Help” menu in HANA Studio and search for “SAPUI5”. This should produce a list of topics like the one below:

/wp-content/uploads/2013/05/pic1_224088.png

Click the “Installing SAPUI5…” link to reach the instruction page. It looks like this:

/wp-content/uploads/2013/05/pic2_224089.png

If you have access to the SAP service marketplace, you can proceed with downloading the UI5 package from there. For those of you who are less fortunate, there is a free trial version of UI5 available elsewhere on SCN – please note that this blog concerns the version from the marketplace. In principle, however, the installation should be similar.

OK. Go to the service page and search for “UI5” (note: press enter instead of clicking the Search button – the SAP Service
marketplace is a bit quirky and will sometimes not yield anything if you use the button!), and you will be rewarded with the download page:

/wp-content/uploads/2013/05/pic3_224120.png

There might be more recent versions out there by now, so get the newest flavour of the UI5 zip file. Only one is required. Tip: there is no need for the dreaded SAP download manager – you can simply click the link and save it to your preferred location 🙂

Then, read OSS note 1747308 on how to install UI5 (there is a PDFattached to it for HANA installs). Unfortunately, the installation of UI5 is – as mentioned – a bit tricky, and not everything is explained in the PDF, but I’ll try to explain step by step how I did it. Basically, it goes like this (don’t deviate from the below steps – at least, don’t blame me if you screw things up by not following my instructions…):

 

1. In order to enable Eclipse to detect and resolve dependencies, add the site http://download.eclipse.org/releases/juno

to the “Available software sites” in the Install dialog. Note that it doesn’t matter if you’re on Eclipse Indigo (which, at the time of writing (April
2013) is the version delivered with the AWS HANA One subscription).

2. Now, before proceeding as per the PDF, we need some prerequisites (this is the mentioned tricky part!!). These prerequisites are mentioned here: http://scn.sap.com/thread/3284452 following instructions are from that posting, so you don’t need to click on the above link to read the post itself): (the

3. In HANA Studio, select Help->Install New Software. Select the site mentioned above, and uncheck “Show only latest versions for available software” (this is mandatory in order to show version 3.4.0 of some plugins – and this version is needed for the below ones). Also, uncheck “Group item by category”, and select version 3.4.0 of the following plugins:

  • Eclipse Faceted Project Framework
  • Eclipse Faceted Project Famework JDT Enablement
  • Eclipse Java EE Developer Tools
  • Eclipse Java Web Developer Tools
  • WST Common Core
  • That’s it – we’re now ready to install the
    SAPUI5 toolkit itself.

Once we have unzipped the contents of the SAPUI5 toolkit (the one we just downloaded from the Service market place, remember?), we add it to
Eclipse:

/wp-content/uploads/2013/05/pic4_224123.png

Continue by following the install instructions in Eclipse. After the install, we’re rewarded with the following confirmation in HANA Studio (by selecting Help->About from the menu):

/wp-content/uploads/2013/05/pic5_224124.png

And, when clicking the “Installation Details” button:

/wp-content/uploads/2013/05/pic6_224125.png

Congratulations – you’ve done it! Now, you’re ready for some UI5 development on HANA One. More about that later!

To report this post you need to login first.

1 Comment

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

Leave a Reply