0% found this document useful (0 votes)
28 views2 pages

4thsep Eclipse JSView Deployment

This document provides steps to deploy an SAP UI5/Fiori project into a gateway system and download it from the gateway system to Eclipse. It involves uploading the exported project folder from Eclipse to the gateway system using transaction /UI5/UI5_REPOSITORY_LOAD, testing it from transaction SE80, and then downloading the project folder from the gateway system to import back into Eclipse. It also lists some common UI elements that can be used in a JavaScript view like the application header, image, text view, text field, password field, checkbox, dropdown, combobox, and radio button group.

Uploaded by

Let us ABAP
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views2 pages

4thsep Eclipse JSView Deployment

This document provides steps to deploy an SAP UI5/Fiori project into a gateway system and download it from the gateway system to Eclipse. It involves uploading the exported project folder from Eclipse to the gateway system using transaction /UI5/UI5_REPOSITORY_LOAD, testing it from transaction SE80, and then downloading the project folder from the gateway system to import back into Eclipse. It also lists some common UI elements that can be used in a JavaScript view like the application header, image, text view, text field, password field, checkbox, dropdown, combobox, and radio button group.

Uploaded by

Let us ABAP
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Deploying SAP UI5/Fiori project into gateway system

1)Uploading into gateway system

a)download/export the project from Eclipse:


Go to Eclipse ,select the project right click export and select export
then choose folder general,select subfolder file system ,next and Finish.now
project
folder is downloaded in the given path.
b)Upload the same folder in gateway system.
Go to gateway system.Go to SE38 and give the program name
/UI5/UI5_REPOSITORY_LOAD.Give the name of the UI5 application,select radio button
upload and execute.Select folder and click ok.
Then click here to upload in the down and enter
c)texting from SE80
Go to SE80 ,select bsp application and give name of the UI5 application given
and press F8 to test

2)downloading from gateway system to eclipse


a)download from gateway system:
Go to gateway system.Go to SE38 and give the program name
/UI5/UI5_REPOSITORY_LOAD.Give the name of the UI5 application,select radio button
download and execute.select desktop and create a folder .select the folder and
click
ok
b)upload the same in eclipse :
create a project eclipse without initial view .choose the created project
select webcontent folder right click import and choose webcontent from folder to
upload

Ui elements in Java script view


Application header,Image,Text view,Text Field,Text Area,Password fied,
check box,dropdown,combobox,radiobutton group

sap.ui.jsview("ztest4.VIEW1", {

/** Specifies the Controller belonging to this View.


* In the case that it is not implemented, or that "null" is returned, this
View does not have a Controller.
* @memberOf ztest4.VIEW1
*/
getControllerName : function() {
return "ztest4.VIEW1";
},

/** Is initially called once after the Controller has been instantiated. It
is the place where the UI is constructed.
* Since the Controller is given to this method, its event handlers can be
attached right away.
* @memberOf ztest4.VIEW1
*/
createContent : function(oController) {
//Application Header
//create an object for Application header screen element

var aho = new sap.ui.commons.ApplicationHeader();


//place the required methods
aho.setDisplayLogoff(true);
aho.setLogoSrc("sap.png");
aho.setLogoText("SAP Logo");

aho.setDisplayWelcome(true);
aho.setUserName("Venkat");
//image
var imageo = new sap.ui.commons.Image({src:"sap.png"});
//imageo.setSrc("sap.png");
//Text view
var txvo = new sap.ui.commons.TextView({text:"Welcome to this training"});
//Text Filed
var txfo = new sap.ui.commons.TextField({value:"123"});
//Password
var pwdo = new sap.ui.commons.PasswordField({value:"abcd"});
//Text Area filed
var tao = new sap.ui.commons.TextArea({value:"please enter
hhhhhhhhhhhhhhh",rows:5});
//Checkbox
var cbo = new sap.ui.commons.CheckBox({text:"I want to learn SAP
Ui5/fiori",checked:false});
//drop down box
//create an object for dropdown
var ddo = new sap.ui.commons.DropdownBox();
//create an object for list item which contains list of values
var lio = new sap.ui.core.ListItem({key:"IN",text:"India"});
ddo.addItem(lio);
//create an object for list item which contains list of values
var lio = new sap.ui.core.ListItem({key:"DE",text:"Germany"});
ddo.addItem(lio);
//Combobox
var cbo = new sap.ui.commons.ComboBox();
//create an object for list item which contains list of values
var lio = new sap.ui.core.ListItem({key:"IN",text:"India"});
cbo.addItem(lio);
//create an object for list item which contains list of values
var lio = new sap.ui.core.ListItem({key:"DE",text:"Germany"});
cbo.addItem(lio);
//Radio button Grop
var rbo = new sap.ui.commons.RadioButtonGroup();
var itmo = new sap.ui.core.Item({key:"IN",text:"India"});
rbo.addItem(itmo);
var itmo = new sap.ui.core.Item({key:"US",text:"USA"});
rbo.addItem(itmo);
return [aho,imageo,txvo,txfo,pwdo,tao,cbo,ddo,cbo,rbo];
//
}

});

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy