I believe that, with the “afraid” of some data been on the Cloud, some companies will still keep everything local. So I will show how to set the SAP WEB IDE local, and deploy an app on premise.
Setting up the local SAP WEB IDE
Pre-reqs: at least java version 1.7
java -version
Download
https://tools.hana.ondemand.com/#sapui5
Extract the zipped files to C:\SAPWebIDE.
Now, you need to start it. Execute the file orion.exe, and then access the link http://localhost:8080/webide/index.html
Create a username and password in the first login.
Create a file with the <SID> name, without extension, in this directory:
C:\SAPWebIDE\eclipse\config_master\service.destinations\destinations
Content of the file:
Description=<mysystem> description Type=HTTP TrustAll=true Authentication=NoAuthentication Name=<SID> ProxyType=Internet URL=https://<host>\:<port> #same port of launchpad WebIDEUsage=odata_abap,ui5_execute_abap,dev_abap WebIDESystem=<SID> WebIDEEnabled=true sap-client=<SAP client number for ABAP systems only. Delete this line if you are not using an ABAP system.> |
Start the Local SAP WEB IDE, executing the C:\SAPWebIDE\eclipse\orion.exe file.
login http://localhost:8080/webide/index.html.
Create the project:
Give a name, and finish.
Just put a simple hello world in the view:
Ok, before deploy it, I had to change the path of “resources/sap-ui-core.js”, or you may have this error:
GET http://server.com.br:50000/sap/bc/ui5_ui5/resources/sap-ui-core.js/index.html 404 (NOT FOUND) index.html?sap-client=100:21 Uncaught ReferenceError: sap is not definedat index.html?sap-client=100:21 |
So, it was changed to this:
To Deploy, select the project and go to:
Give a name and select a Package:
Select or create a Request
And confirm.
To test the app, open the SAP system, and go to tcode SICF:
Search the Service you have created.
Left click, and test service:
Congrats: