Make your local Web IDE work on HANA 2
After Making the Web IDE work on my local HANA platform on Revision 121 and SAP to Unveil SAP HANA 2, I wanted to make it work on this newest release again.
To start with, I download the installation files:
And install a small HANA 2 system on a virtual machine similar to the one that runs the HANA, express edition:
I choose to install all components including HANA AFL, HANA Database Client, HANA Smart Data Access, HANA Studio and most importantly HANA XS Advanced Runtime:
Importantly, I chose a multiple database container installation, to keep the footprint as small as possible:
Next, I provide passwords for important users, chose my Customer Space and most importantly chose that Application URLs are based on ports:
Finally, I chose to install all All XS Advanced Components:
And kick-off the installation:
This can take a while but eventually finishes successfully:
Next, I log into HANA Studio, connect to my system and create a XS Advanced development user:
Then I determine the URL of the XS Advanced Administration tool:
And connect to create first a WEBIDE_ADMINISTRATOR:
And second a WEBIDE_DEVELOPER Role Collection:
The WEBIDE_ADMINSTRATOR Role Collection gets assigned to the XSA_ADMIN user:
For development, I create a New User Based on my existing XSA_DEV User:
This gets assigned the WEBIDE_DEVELOPER as well as the XS_CONTROLLER_USER Role Collections (details can be found in the SAP Web IDE for SAP HANA – Installation and Upgrade Guide):
With this I make my XSA_ADMIN user the Manager of my Organization:
And both my XSA_ADMIN as well as my XSA_DEV user Developers in the PROD Space, as well as my XSA_ADMIN the respective Manager:
From the Application Monitor:
I launch the Space Enablement to enable my PROD space for development by deploying builders:
To start XSA development, I determine the URL of my Web IDE:
With this I log into my local Web IDE and start Developing with XS Advanced: A TinyWorld Tutorial by Chaim Bendelac, which deploys successfully:
Finally, I check my PROD Space in the XS Advanced Administration Organization and Space Management and see the di-builder Application deployed:
As well as my tinyworld-hdi-container:
I think the terminology "local Web IDE" is somewhat confusing.
When I saw the title, I thought it was about the Web IDE installed onto local PC.
It'd be better to find another phrase like "on-premise Web IDE" or "Web IDE on XSA" or whatever.
this blog article help me understand how the space enablement works.
Nice blog . Thanks.
Great post Frank, thanks. I also managed to get insights into the space enablement thanks to your article.
I’d like to know the differences with an “out of the box” Hana 2 express VM installation. I completed all the installation and setup steps, as per the guidelines, but even with a vanilla installation the user XSA_DEV cannot “save” or “run” a basic project (just a folder and an HTML file) in Webide. There are no errors in the logs or console. It does not matter to which space the project is assigned (SAP, or Development).
Frankly I’m mystified, as I thought that the VM was preconfigured to start Webide development already…
Any insight will be very helpful!
I am sorry to hear about your trouble trying to develop on the HANA 2, express edition. At the time of my blog, there was of course no HANA 2, express edition, but I have been using it since it has become available without issues.
For test purposes, I just did a fresh optimised installation, and the XSA_DEV developer can develop, build and deploy fine in the SAP space. Out of the box, user XSA_DEV is not configured to develop in the development space.
Perhaps you are facing a certificate issue. If you like, please have a look at my blog Tips & tricks for an optimized HANA 2.0, express edition installation on an Intel 6th generation NUC.
Thanks Frank, you are totally right. I already added xsa_dev to the development space, and I found my issue. It seems that it was a basic misunderstand on my side of how Web Ide operates. I needed the .yaml file to include the type of project. It runs and deploys just fine!
I'm now "fighting" some small browser related issues.
Your post about the NUC is very interesting! I'm also running a similar configuration (ESXi 6.5 and a different NUC model). Great development server!