Skip to Content
Author's profile photo DJ Adams

Getting Started with SAPUI5: Alternative Guide

With reference to my recent post about the ‘sapui5bin’ repo on Github, I had also put together a Getting Started guide for SAPUI5 for some colleagues, with particular focus on getting up and running with a portable and independent environment you can have on your laptop. In the spirit of “you can never have too many getting started guides” (as I learn different things from different guides) I thought I’d make my guide available for your reading pleasure.

Here it is: Getting Started with SAPUI5

Taken from the Table of Contents, here’s what it covers:

Introduction

Download and unpack SAPUI5

Choose a home development location

Set up Apache

Configure Apache

Access your local SAPUI5 docs

Set up git for Windows

Clone sapui5bin

Relax

Share & enjoy!

Assigned tags

      13 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Alessandro Spadoni
      Alessandro Spadoni

      Thank you for sharing! (especially for the GITHUB section)

      Author's profile photo Robin van het Hof
      Robin van het Hof

      Nice document!

      I wholeheartedly agree with 1) your "I learn different things from different guides" statement, and 2) the final "Relax" paragraph in your guide! 😉

      Author's profile photo Pankaj Kumar
      Pankaj Kumar

      Quick and easy document. Thanks for posting. One quick note, of course Apache or Tomcat are the default choice of web layer for many including me. These days with a lot of stuff happening on the client side ( mainly with JavaScript) python -m SimpleHTTPServer is becoming my favorite. Give it a go someday.

      Author's profile photo DJ Adams
      DJ Adams
      Blog Post Author

      Hi Pankaj

      Thanks. Yes, I use the SimpleHTTPServer on other projects, but I'm using Apache because of the alias and reverse proxy requirements. I wasn't aware that SimpleHTTPServer handled those?

      cheers

      dj

      Author's profile photo Fred Verheul
      Fred Verheul

      Another gem bookmarked. Love the 'getting started' concept (though for most subjects I never make it past that stage).

      Will have a look later, most things should already be in place on my laptop, but you never know, and yes: you can always learn something from another guide.

      Fred

      Author's profile photo Former Member
      Former Member

      Hi,

      Thanks for the nice guide. Is there anyway to get the static libraries from market place so that we can run the actual version not the trial version. In our case we would like to have production applications running on apache rather  portal or ABAP app servers.As apache is officialy supported by SAP how to get the static libraries to install it in apache.

      Thanks in advance,

      Abdul Raheem

      Author's profile photo Former Member
      Former Member

      Thanks DJ!

      One point that I'd like to reinforce is that you cannot necessarily follow some of the SAP guides to the letter with a local set up. I'm not a webhead as you know, so I followed the basic HelloWorld "fadey button" example in the Developer Guide.

      Sure enough, it didn't work (in Chrome, where I prefer to do my Gateway work). Luckily Thomas Jung has been advocating the developer tools in Chrome just today so I used them to locate the problem. Turned out to be Same Origin Policy 🙁

      I could not figure out why all the demokit examples worked and my simple test didn't.

      Had a lightbulb moment - remembered your Apache config had an alias for the work folder. So I put my html file in my work folder (not the desktop,as per SAP guide) and it worked via localhost addressing (now in same origin).

      P:S: it did work from desktop with IE10.

      Author's profile photo Arpit Goyal
      Arpit Goyal

      Posted something similar just that instead of apache, I used nodejs (handy to do it on laptop)

      http://scn.sap.com/community/developer-center/front-end/blog/2014/11/24/openui5-development-on-nodejs

      Author's profile photo Former Member
      Former Member

      Can't see document 🙁 . Can you please check and share again...

      Author's profile photo Robin van het Hof
      Robin van het Hof

      Just checked, it's still available

      Author's profile photo se po
      se po

      Hey DJ Adams,

       

      I just tried to download the file from this post and it seems the file is no longer available. Would it be possible to update the link?

       

      Thanks,
      sepo

      Author's profile photo DJ Adams
      DJ Adams
      Blog Post Author

      Hi there - I'm afraid the document has disappeared, not sure what's happened to it. Sorry about that. But it is probably out of date now - things have moved on since I wrote that five years ago. In case you're just starting out, I'd recommend the use of the SAP Web IDE for UI5 development - a zero install option, with reverse proxying built in and everything. Good luck!

      Author's profile photo se po
      se po

      Thank you :-)! Have a good one!