Disclaimer – This blog is for beginners like me 😉 … Moreover, the approach I took may not be the best one – I just followed what seems feasible at the moment. There may be alternate and better way to do the same
This all started while I was playing around with SAPUI5 a few days back. To run a simple UI5 application, I had to install a Tomcat 6 Server and host the SAPUI5 Libraries on it. I could add a “little bit” more to the application by displaying Sales Order Headers and Item Details retrieved from the SAP Hosted Demo Gateway Systems using RESTful Services and oData Channel. I did face lot of road blocks, but Thanks to Experts Simon Kemp and Abhilash Gampa who helped me with their inputs and I finally could fix the application to run successfully.
<If you would like to to see the dicussion thread – here is the link Access denied Error for sap-ui-core.js in IE8 !
Next curiosity was to host the SAPUI5 libraries on the NetWeaver Java Server 7.3 version and develop UI5 applications which will run on top of the SAP Java Server itself. Well this blog narrates the experience of how far I could go with UI5 and the Java 7.3 Engine.
So lets get started…:)
Host the SAPUI5 Framework on NetWeaver Java Server 7.3
I wanted to host the libraries in a location so that these are out of the Portal “IRJ” J2EE application and can be called accessed thru anonymous users. A more direct URL like – http://server:port/sapui5 and which does not use the IRJ Alias. But what is the folder location to get to the Java Application Sever Start Page? Well, a little bit of investigation of the Server Load (http://hostname:port/startPage) led me to the following location on the Server File System
Extract all the contents of the SAPUI5 zip file that you have downdloaded from SDN to a folder (in my case its sapui5), under this “root” folder
Lets try accessing the SAPUI5 Home page from the Server by using the URL http://server:port/sapui5
There we go, SAPUI5 running on the NetWeaver 7.3 Java Server.
Go further by running the Sales Order UI5 application which I hosted on the Tomcat Server. I created a folder structure inside sapui5 folder so as to segregate the HTML and JS files.
And Run the Sales Order Application on 7.3 JAVA Sever 🙂
<P.S – Using IE9 to run this application, faced issues with IE8>
Next try would be to run this application inside PoD (Portal on Device). Already tried running this, but SAPUI5 does not seem to render and work well inside PoD at the moment. Probably some work around might help…
So go on, and play around with SAPUI5 on the NetWeaver 7.3 Java server itself.
As always, feedback is most welcome !