cancel
Showing results for 
Search instead for 
Did you mean: 

FIORI Application Odata Service Binding

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

jamie_cawley
Advisor
Advisor
0 Kudos
Former Member
0 Kudos

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.

Former Member
0 Kudos

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

jamie_cawley
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

jamie_cawley
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

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.