cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure SAPUI5 project Web IDE to Eclipse?

Former Member
0 Kudos

Hello All,

I have configured the SAPUI5 appliication on eclipse from SAP Web IDE as mentioned in the below link

SAP Web IDE to Eclipse

But i am unable to run the application on Abap Server as i am facing some issues. I think there is some problem with my folder structure. Please have a look and guide me on this.

I have 2 index.html file now. I think this is the issue. Please help.

Again where and how can i give my odata service url. As of now i am using manifest.json file

and in models section providing the following values:

"models": {
			"i18n": {
				"type": "sap.ui.model.resource.ResourceModel",
				"settings": {
					"bundleName": "hello.i18n.i18n"
				}
			},
			"invoice": {
				
				"uri":"http://domainName:portNumber/sap/opu/odata/SAP/ZEMPLOYEE_INFORMATION_SRV_01/"
			}
		}
Former Member
0 Kudos

Hi, there is no problem with my service url...I think my eclipse folder structure is not proper and the files location pointed in those files like.

sap.ui.define([
	"sap/ui/core/UIComponent",
	"sap/ui/Device",
	"hello/model/models",
   "sap/ui/model/json/JSONModel",
   "sap/ui/model/resource/ResourceModel",
	"hello/controller/HelloDialog"
   
], function(UIComponent, Device, models, JSONModel, ResourceModel, HelloDialog) {
	"use strict";
	return UIComponent.extend("hello.Component", {
             metadata: {
			//rootView: "hello.view.App",
			manifest:{
				"_version": "1.1.0",
				"sap.app": {
					"_version": "1.1.0",
					"id": "hello",
					"type": "application",
					"i18n": "i18n/i18n.properties",
					"applicationVersion": {
						"version": "1.0.0"
					},
					"title": "{{appTitle}}",
					"description": "{{appDescription}}",
					"sourceTemplate": {
						"id": "servicecatalog.connectivityComponent",
						"version": "0.0.0"
					},
}}

Accepted Solutions (0)

Answers (3)

Answers (3)

omakinen
Participant
0 Kudos

Hi!

Move the stuff under "webapp" folder to "WebContent" folder. Then fix your relative paths.

This blog is helpful.

br, Ossi M

jamie_cawley
Advisor
Advisor
0 Kudos

The service url should be relative. What error do you get when trying to run it? What does the folder structure in abap look like?

Regards,

Jamie

SAP - Technology RIG

junwu
Active Contributor
0 Kudos

what url you are using? any error?