简体   繁体   English

SAP Web IDE UI5数据存储

[英]SAP Web IDE UI5 odata saprouter

I have a SAP server with below information (must use saprouter to connect to it from afar). 我有一个具有以下信息的SAP服务器(必须使用saprouter远距离连接到它)。 (3rd picture) (第三张图片)

And i have an Odata service that i connect on LOCAL like below. 而且我有一个Odata服务,可以像下面那样在LOCAL上进行连接。 (2nd picture) (第二张图片)

Now in SAP Web IDE, i want to connect to this Odata. 现在在SAP Web IDE中,我想连接到此Odata。 (1st picture) The picture is an example to connect to Northwind Odata test server. (第一张图片)图片是连接到Northwind Odata测试服务器的示例。 I need to replace the northwind odata url with my Odata url in 2nd picture. 我需要在第二张图片中用我的Odata网址替换Northwind odata网址。 But this url is only for local. 但是此网址仅适用于本地。 So how can i config this? 那么我该如何配置呢? I think it has something to do with the saprouter. 我认为这与腐殖菌有关。 And how can i include the username and password for the Odata too? 我又如何包含Odata的用户名​​和密码?

SAP Web IDE SAP Web IDE

Odata Odata

SAP SERVER SAP服务器

These are the steps you need to follow: 这些是您需要遵循的步骤:

  1. You need to expose your OData service in your NW system. 您需要在NW系统中公开OData服务。 I think this can be done in the /iwfnd/maint_services transaction. 我认为可以在/ iwfnd / maint_services事务中完成此操作。 But Google it, because I am not a system administrator. 但是谷歌呢,因为我不是系统管理员。 Once done you should be able to access de OData inside your internal Network like this: Https://host:port/sap/opu/odata... Where host:port is the full qualified domain of your NW system. 完成后,您应该可以像下面这样访问内部网络中的de OData: Https://host:port/sap/opu/odata...其中host:port是NW系统的完全限定域。

  2. The Cloud Platform is in the cloud (obviously), this means that it is outside your private network, so you need to configure a secure tunnel to pass your firewall. 云平台位于云中(显然),这意味着它位于您的专用网络之外,因此您需要配置安全隧道以通过防火墙。 This way you can access from your SCP account to your NW in your private network. 这样,您可以从您的SCP帐户访问专用网络中的NW。 To configure this tunnel, SAP provides a great tool called "SAP Cloud Connector". 为了配置该隧道,SAP提供了一个名为“ SAP Cloud Connector”的出色工具。 You can download it from here Google some tutorials to configure it. 您可以从此处从Google下载一些教程以对其进行配置。 There are tons and it is easy. 有很多,很容易。

  3. Now configure a destination in the Cloud Platform cockpit. 现在,在Cloud Platform座舱中配置目标。 As I can see in the pictures you already did it for the Nortwind service, so I guess you know how to do it. 正如我在图片中看到的那样,您已经为Nortwind服务做到了这一点,所以我想您知道该怎么做。 The main difference will be that instead of pointing to Nortwind, it will point to your NW system thought the Cloud Connector. 主要区别在于,它不指向Nortwind,而是指向您的NW系统,即Cloud Connector。

  4. Last, change the line of the manifest.json file you highlight in the first picture, so it points to the new destination. 最后,更改在第一张图片中突出显示的manifest.json文件的行,使其指向新的目的地。

And that's it!! 就是这样!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM