Quantcast
Channel: SCN : All Content - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6745

Following the river downstream

$
0
0

Trying to get my teeth into MVC coding and javascript, I started looking at ready available packages like JQuery, NodeJS, Cloud9 (and briefly spring.io).

But what would all this work be getting me, other than knowledge that I cannot apply and some fun, which is short-lived. I am an SAP HANA consultant, MVC is good, SAP UI5 and MVC is better.

 

First stop after searching was Amazon AWS, where you can cheaply rent SAP HANA One. All very easy to setup, instructions for SAP HANA Studio Windows are provided here, but a bit more difficult for my Mac. After a long search on SCN, people wrote that a SAP HANA Studio Mac version was made available, but shortly after removed from the SAP download portal, I found some help on an external link.

So I installed Eclipse (Luna) which requires the Java SDK on Mac OS X and downloaded all the required plugins to do my SAP HANA cloud development.

 

Screen Shot 2014-11-14 at 12.59.33.pngScreen Shot 2014-11-14 at 13.00.02.png

 

Further down the process I wanted to run my instance on AWS, which looked really cheap at $3 an hour (11/11/2014) for a c3.8xlarge EC2 instance type ...

Screen Shot 2014-11-12 at 17.47.24.png

 

But the overall price estimate scared my wallet off a little - so many hidden costs?

Screen Shot 2014-11-14 at 13.08.07.png

 

Then I stumbled upon: SAP HANA River

Free at last! Or at least have a good trial run, before spending the money.

 

After successfully registering using my existing S-User and accepting the terms and conditions I found that I can also connect my local SAP HANA Studio installation to the instance in the cloud.

 

Screen Shot 2014-11-14 at 13.16.37.png

 

Trying to follow the documentation in this link failed: SAP HANA Cloud Platform

 

Screen Shot 2014-11-14 at 12.42.56.png

It just wouldn't let me in.

 

First tip, do not use the default "Landscape host" entry of "hana.ondemand.com", use as above, correctly pointed out in the instructions "https://hanatrial.ondemand.com"

Screen Shot 2014-11-14 at 13.18.02.png

 

Still it wasn't working, there was not instance running apparently ...

So I checked in my cloud deployment and indeed, I just created a database schema and not a proper instance. My fault, so no real tip here.

 

Trying again, it at least recognised that something was running, but complained: Invalid username and password.

 

Second tip, "trial" is missing, so I tried "s1234567890trial" (of course with my correct S-User number) in the user name field, but still no luck.

 

After some head scratching, I asked myself - do I really know the password of my "S-user-trial" account?? No, as it was just mapped to my "S-User".

 

Third tip, the "Account Name" should contain the "S-user-trial" entry and the "User name" should be the "S-User" - et voila

Screen Shot 2014-11-14 at 13.39.03.png

Clicking the Next button then allowed me to chose the SAP HANA instance:

 

Screen Shot 2014-11-14 at 13.42.45.png

And finally click "Finish".

 

Not surprisingly it contained some Enterprise Performance Management sample data:

Screen Shot 2014-11-14 at 13.46.48.png

 

Next stage, create some code and run it! Lucky find, I have a link in the instances section to the in browser development river:

Screen Shot 2014-11-14 at 13.54.29.png

And creating and saving a file is very easy by using right-click or the menu bar:

Screen Shot 2014-11-14 at 13.50.53.png

but there seem to be some differences in files which can be seen in the browser i.e. templates (above) and the local installation (below), the samples are missing:

Screen Shot 2014-11-14 at 13.59.04.png

 

Anyhow, I wanted to run the samples through the browser anyway.

Click on the run drop-down shows some different run modes iOS and Android as well (neat feature), although I couldn't detect the difference for the very simple HelloWorld sample:

Screen Shot 2014-11-14 at 14.14.06.png

selecting "Run" automatically shows:

Screen Shot 2014-11-14 at 14.18.14.png

in SAP UI5 style.

 

and now I have to write some code "To be continued ...", also next time I will add some information on data import using my local SAP HANA studio. Where is my schema again?


Viewing all articles
Browse latest Browse all 6745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>