Skip to Content
-1

FIORI Application Odata Service Binding

Apr 06, 2017 at 03:57 PM

456

avatar image

Hello,

For reasons of security I cannot use the cloud connector in conjunction with the on premise system which we have. Never the less I am very comfortable using WebIDE in order to create the necessary applications. I create the applications in WebIDE using a .edmx file which represents the on premise ODATA service which i plan to use.

After the application is made. I import the archive and then make necessary modifications to the archive in HANA Studio (inside Java EE perspective).

I am doing things according to this guide: https://www.sap.com/developer/tutorials/hcp-webide-switch-live-odata.html

My understanding is that the manifest.json and neo-app.json are both to be modified pointing to the real ODATA service.

In the manifest.json:

BEFORE:

AFTER:

According to the guide above, within the neo-app.json, I need to point it to the gateway.

Here is the information of our on premise system.

System Name: sapewp01.xxxxx.com

localURI: /sap/opu/odata/sap/zbw_odata_q3_srv/

Port: 8012 (i assume, the odata service link works on my end)

SAP Gateway (sapgw12)

Another other required information can be provided on request.

How does one change a web ide app to be able link into an on premise ODATA service, WITHOUT disrupting all the work done on webIDE?

My fundamental problem is the idea that webide is always pointing to /destination/....

I understand that you can create a destination in webide. But for my purposes I need the app itself to contain all the resources which point it to an ODATA service. Surely, only the manifest.json file needs to be changed?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jamie Cawley
Apr 12, 2017 at 08:59 PM
0

The uri in the manifest should be relative, "/sap/opu/odata/sap/zbs_odata_q3_srv". You also need an entry in the neo-app.json, STEP 7, which points to a destination, STEP 2. The destination will point to your on premise system and if you are not using the cloud connector then you must set the proxy type to internet.

Regards,

Jamie

SAP - Technology RIG

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello sir, I will follow through with the steps. My question remains, how do you create a "destination". Would it just be a file that I would create? I don't understand where webide is providing this destination file. There is no destination file in the webide archives of the app which i download.

0
Kuppireddi Sireesh Apr 13, 2017 at 06:55 PM
0

I believe WEBIDE Personal edition could be a good option to consider.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

I have tried that, it doesn't connect and gives a configuration error. I have posted a question and no updates on that. Frankly, the problem remains that even in the webide personal edition, the application you build points to a destination file. Therefore, one still has to understand how this is all working. Without that nothing can occur.

That is what I am hoping Jamie Cawley can clarify for me and all other users in my state.

0
Jamie Cawley
Apr 14, 2017 at 12:11 PM
0
Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hello Jamie,

None of this makes any sense. Not every company is capable of running on webide for various reasons, which a consultant has no control over. SAP's total ignorance of this is frustrating to say the least.

My question is how do these webide apps refer to the destination, where is that destination file which they refer to located? i need for the application to point to a destination file which preferable a part of the application. As of now, it's point to some user created external destination, which I can only assume is a part of IDE. Please help me point this data correctly.

0

Can you please let me know how destinations are referred to?

0

No one is forcing your hand, Web IDE is just one development option for you to use, eclipse or any web editor could also be used. Web IDE uses the neo-app.json to refer to the destination, which is detailed by example in the previously provided links. Both the neo-app and the destination are concepts that only exist within Web IDE. To understand why this is needed I would suggest you read

https://en.wikipedia.org/wiki/Same-origin_policy

Regards,

Jamie

0