Quantcast
Channel: SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 789

How to deploy a simple SAPUI5 application into ABAP server using Eclipse.

$
0
0

Hello All,

 

This blog explains you how to deploy a SAPUI5 application into ABAP server.

 

1. How to install Eclipse.

 

Installing eclipse-jee-juno-SR1-win32.


To download and install please visit the below link.


http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junor

 

1.png

 

Click on windows 32-bit, it will download one zip file.


Go to the eclipse download path and extract the eclipse juno rar file. Open the eclipse folder and double click on eclipse.exe


Note: Before doing that we have to install jdk in our system. And set the jdk path.


2. How to install SAPUI5 packages in Eclipse.


Click Help > Install new software.

 

2.png

Click on "Add" button.

3.png

 

4.png

 

In the above window specify Name as sapui5 and in Location give the below link and Click "ok".

https://tools.hana.ondemand.com/juno

 

5.png

 

Click on Select All and Click Next.


6.png

 

Choose I accept the terms of the licenses agreement and Click on Finish.


7.png


3.How to Install Tomcat 7


To download Tomcat visit the below link.

 

http://tomcat.apache.org/download-70.cgi

 

How to Integrate Tomcat 7 to Eclipse juno

 

Select Windows and click on Preferences in Eclipse.


9.png


10.png


Choose Server and click on Runtime Environment and click on Add.

11.png

Select Apache Tomcat v7.0 and click on Next.


12.png


Click on Browse.


13.png


 

And specify the path directory and click on Finish.


14.png

 

4.How to Create a Simple Hello World Project


Open Eclipse → Click File and select new option → Select Project.


15.png


In New Project window choose SAPUI5 Application Development and click on Application Project→and Click on Next.


16.png


Enter your Project name and Click on Next.


17.png

Select the Development Paradigm as JavaScript or XML or JSON or HTML click on Finish.


18.png


MVC structure of  in Eclipse

  • Index Page
  • Controller Page
  • View page

Index File for Hello World Project

Below screen short shows the index file.

19.png


View File for the Hello World Project


View file is used for web Page View purpose.


Below screen short is View code.

 

20.png

.

Controller File for Hello World


Controller part is used to write the functionalities.


Below screen short is Controller code

 

21.png


Output


22.png



5.How to share or upload a project in ABAP server system.


Open Eclipse.


In project Explore Right click on project name and choose Team and click on share.


23.png


Share project repository window will open, in that choose SAPUI5 ABAP Repository and click on Next.


24.png


Click on Browse and select system details and click on OK.


25.png


26.png


Click on Next.


27.png


Enter the client number, username and password details and click on Next.


28.png


Next we will get SAPUI5 Repository window, in that choose create a new BSP Application.


Enter the details like Name, Description and Package.


29.png


Click on Next----> Finish.


30.png


After sharing the project into the server we have to submit the code.


Right click on the project and select Team and click on submit.


31.png


Click on Finish.


Best Regards,

Mohanbabu D.


Viewing all articles
Browse latest Browse all 789

Trending Articles



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