Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner
About
About
Home / Community / Blogs + Actions
Chandrashekhar Mahajan
more by this author
SAPUI5
SAP Enterprise Portal | abap server | bsp application | deploy ui5 project | odata | run sapui5 application | sapui5 | ui5
share
1 share
0 tweet share
0
Follow
Introduction
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 1/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
In this technical article, we will see how we can deploy and run SAPUI5
application on SAP ABAP server.
Prerequisite
Before deploying this application into SAP ABAP AS, if we see Run As menu, it
will display below options. Once it will get successfully deployed, it will show
option for testing on ABAP server.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 2/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Procedure
As displayed below, we need to right click on Project and go to menu Team >
Share Project.
In this step, you need to configure connection to SAP system where you want to
deploy your SAPUI5 application.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 3/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 4/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Now you will be provided with 2 options as below. We will select option to
create new BSP application. By default, name of BSP application will be
selected as your SAPUI5 project name. But in that case, you will get error
message as displayed in below screen.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 5/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
You need to give Z* name to your BSP application. Also you can browse
package and select required package in which you want to save your BSP
application.
In this step, you can perform selection of Transport Request. You will be
provided with below 3 options.
You will get below kind of popup message for Server Runtime Version Check.
Click OK.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 6/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Final step of the deployment will be submitting the project. Select option Team
> Submit.
With this step, SAPUI5 application will get deployed to SAP ABAP AS Server
and SAPUI5 project structure will look like as below.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 7/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Also you will see now Run on ABAP Server option got added as displayed
below. By selecting this option, SAPUI5 application will run on ABAP server.
Here you can see URL path which is nothing but the BSP application URL path
got created in SICF transaction.
If you see in backed SAP system, BSP application will get created as displayed
below.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 8/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Also you can see service getting created under the path
/sap/bc/ui5_ui5/sap/zflightdemo in SICF transaction.
Closing Remarks
We can easily deploy and run SAPUI5 application on ABAP server. Basically, in
the backend SAP system, BSP application gets created when we share and
submit SAPUI5 project.
We can easily resubmit the changes done to the UI5 application. after doing
changes in UI5 application, you need to again submit the project. in that
case, you will see below screen with operation as Update.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 9/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
I created UI5 application with input field and submitted as explained in this
technical article. below is the screen of BSP application executed which I
created for UI5 application.
After that, I added TextView UI element and again submitted the project. I
again executed BSP application which reflected back the changes I did to
my UI5 application.
Alert Moderator
45 Comments
You must be Logged on to comment or reply to a post.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 10/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Naveen Inuganti
Hey.. I am not getting Run on ABAP server. Any idea? Do we need to manually add
it?
I can still see my BSP in SAP system and I can get the link from there.
Thanks,
Naveen.I
Regards,
Chandra
Naveen Inuganti
For example,
1. Create a page with on input field
2. Submitted project to SAP server
3. BSP created and I can run this BSP to see the page that
I created
4. Applied some changes to UI5 project, lets say added
second input field.
5. This code change is working as expected when I test in
local host
6. Submitted this project to SAP sever
7. I can see my new code lines in BSP view/coontroller
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 11/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Thanks,
Naveeen. I
Hi Naveen,
Regards,
Chandra
Neeta Thankachan
Hi Chandrashekar,
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 12/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Neeta Thankachan
Hi Chandarshekar,
Hi Neeta,
Regards,
Chandra
Neeta Thankachan
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 13/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Hi Chandra ,
Joao Sousa
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 14/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Neeta Thankachan
Hi Chandra,
Hans-Joerg Alles
Hello Naveen,
i am using Eclipse Kepler with the SAP Plugins. I can deploy the
SAPUI5-Projekt on the SAP AS Server, but i dont see RUN ON ABAP
Server as you told. Did you already find the solution ?
Regards
Hans-Jrg
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 15/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Robbe Wuyts
Hi,
Everything works, until I try to test my application. When I test my BSP application in
the Repository Browser in the SAP backend, I get the same error as when I try to run
in in eclipse.
URL call was terminated because the corresponding service is not available.
Note
The termination occurred in system with error code 403 and for the reason Forbidden.
Thanks
Hi,
This error means that your service is not active. Please check the
service in SICF transaction and check if it is active or not. Activate it and
then retest it.
Regards,
Chandra
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 16/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Robbe Wuyts
Silke Arians
Thanks for this nice blog I hope you can also find all needed information about the
topic in our Demo Kit documentation under
https://sapui5.netweaver.ondemand.com/sdk/#docs/guide/UI5BSPRepository.html
Best regards
Silke (UI5 Tools)
Naveen Inuganti
Hi Silke Arians,
When I re-submit my project from UI5 to SAP BSP, latest code changes
are not working as expected.
For example,
1. Create a page with on input field
2. Submitted project to SAP server
3. BSP created and I can run this BSP to see the page that I created
4. Applied some changes to UI5 project, lets say added second input
field.
5. This code change is working as expected when I test in local host
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 17/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Now, If I create new BSP, I mean if I submit this project to new BSP.. its
working there. Same story
Silke Arians
Hello Naveen,
Best regards
Silke
Naveen Inuganti
Thank you!
Eric Young
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 18/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Hello,
Our environment currently uses CTS Plus to manage transports. Was wondering
how you would take care of the change in the service URI once the application has
been transported to a different environment? For example, the gateway service URI
would be different from Dev to QA to Production.
I was thinking of using the JavaScript function document.URL to retrieve and parse
the URI from within the application. Is this a viable solution or does SAPUI5 provide
a more elegant solution?
Thanks,
Eric
Hi Eric,
Regards,
Chandra
Vidya Goruganthu
Hi Chandrashekar,
When I try to test the BSP application , I cant see data coming through the table.
My application runs fine on local host and not on the ABAP server. Please advice.
Thanks,
Vidya
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 19/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Hi Vidya,
Please check if your are getting any error while running application on
ABAP server.
open the application in chrome browser and then press function key
F12 to open the developer console. There you can check if you are
getting any errors.
Regards,
Chandra
Vidya Goruganthu
Hi Chandra,
Regards,
Vidya
Vidya Goruganthu
Hi Chandra,
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 20/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
var serviceUrl =
proxy/https/server/sap/opu/odata/sap/Z_Fligh
t_res
var serviceUrl =
/sap/opu/odata/sap/Z_Flight_res/;
Regards,
Vidya
Chandrashekhar Mahajan
Post author
Regards,
Chandra
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 21/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Christian Schuff
BR
Chris
Markus Reich
When I try to share with an ABAP System I get the error message
in Eclipse Wizard?
Robbe Wuyts
Markus,
Guillaume GARCIA
Hi,
Last but not least, how do I force Disconnect, when Semantic File System is
chosen, this action (Disconnect) is no longer available and Im stuck with it
Thanks in advance.
Best regards,
Guillaume
Avinash Chilukuri
Hi,
I have deployed SAPUI5 application on ABAP Server and while I try to test my
application on browser its says
Best Regards,
Avinash.
Santhosh Gowda
Hi Avinash,
It clearly shows your ui5 application doesnt content index.html. open
your web.xml and check for
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
if 1st you need to display any other html file, please give that name in
welcome- file list.
regards,
santhosh
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 23/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Avinash Chilukuri
Hi Santhosh,
Thanks for the reply, I have checked for welcome-file-list and I found it, what do you mean
by (1st you need to display any other html file, please give that name in welcome- file list.) can you
Regards,
Avinash
chetna dabra
Hie chandra,
What all components do we require at SAP Netweaver 7.40 ABAP server (backend)
in order to deploy SAPUI5 application?
Do we require any components at all for this new version??
If yes then from where to get them or how to access them at backend?
You may find this question a little out of place or may be inappropriate, but being new
to this platform, i am not able to figure out even simple things sometimes.
Silke Arians
Hi Chetna,
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 24/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Best regards
Silke
chetna dabra
Hello !
I am getting an error in step Logon to System. After I introduce my usr/pssw the
next message popup appears:
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 25/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Any idea ?
Thankyou
Hello again !
The above error appears when using NWDS7.5 SP3. Trying to fix this
issue in this IDE might be hard. If anyone manage to fix this, I hope to
see the solution here!!
Anyway, with a Eclipse Mars2 the problem does not appears and
deploying the app works fine. Ofcourse you will need to Install New
Software first.
With Eclipse Mars2 this url https://tools.hana.ondemand.com/mars also
works.
Matthias Schmalz
Hi,
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 26/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Simone Milesi
A little tip: add the note to convert to the correct end of file character to avoid error in
submit (File -> Convert line delimiter to -> Windows) to avoid the error wrong EOF,
should be CR+LF
Sam Sam
It was really nice article. Thanks for sharing such a nice one!!!
Daniel Su
Hi Chandrashekhar,
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 27/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Best Regards,
Daniel
Matthias Schmalz
Hi Daniel,
as specified in the error message theres a missconfiguration of the
virus scan profiles on your ABAP backend system. It looks like the used
virus scan profile has been activated but not configured properly. Either
disable the virus scan profile (dont delete it) or fix the configuration.
As no files could be submitted, theres no URL to run on the ABAP
server yet.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 28/30
9/8/2017 How to Deploy and Run SAPUI5 application on ABAP Server | SAP Blogs
Best regards
Matthias
Bhavin A Shah
Hi Chandrashekhar,
I have added following question related to the sharing a project with UI5 repository
on SCN and I am not able to do find the solution for the same.
https://answers.sap.com/questions/48470/eclipse-neon-logon-to-system-failed.html
Could you please help on the same if possible.
Regards,
Bhavin
Karthik S
Hi Chandra,
I had developed one UI5 project in eclipse. I have not deployed on ABAP server.
Now my query is shall i able to consume the odata from gateway server in my
undeployed ui5 application. Because when I run the odata url in browser, I am
getting a xml data. Similarly when i try to read the data from serviceurl in ui5 app, its
not showing anything. I have passed the relevant parameters in odata read
operation. Still odata is unavailable.
https://blogs.sap.com/2013/06/15/how-to-deploy-and-run-sapui5-application-on-abap-server/ 30/30