Fiori-Connecting Remote Systems in SAP Web IDE Personal Edition

个人版如何连接到远端的系统?

前提

  • 如果安装的系统是SAP_BASIS 7.31 SP 14或者 7.40 SP 8 or later

    必须要安装下面的Notes:

    2046730

    2047506

    1684342
  • 如果用的是SAP_BASIS 7.31,要确保UI组件已经全部安装(UI_INFRA 和 UI5_731)

过程

  1. 创建一个和远程系统同名的文件
    C:\SAPWebIDE\eclipse\config_master\service.destinations\destinations
  2. 打开文件,加入下列配置:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    Description=<mysystem> description
    Type=HTTP
    TrustAll=true
    Authentication=NoAuthentication
    Name=<mysystem>
    ProxyType=Internet
    URL=https\://<host>\:<port>
    WebIDEUsage=<add a value according to the table below>
    WebIDESystem=<mysystem>
    WebIDEEnabled=true
    sap-client=<SAP client number for ABAP systems only. Delete this line if you are not using an ABAP system.>
Key value
WebIDEUsage Enter one or more of the following possible values:

odata_abap:
For the OData functionality of Gateway (corresponds to URL path /sap/opu/odata)

odata_gen:
For generic OData functionality (service URL must be provided manually in the New Project wizard)

ui5_execute_abap:
For executing SAPUI5 applications from the SAPUI5 ABAP repository (corresponds to URL path /sap/bc/ui5_ui5)

dev_abap:
For extensibility scenarios and developing or deploying to the SAPUI5 ABAP repository (corresponds to URL path /sap/bc/adt)

bsp_execute_abap:
For working with fact sheets (corresponds to URL path /sap/bc/bsp)

odata_xs:
For SAP HANA XS OData services (corresponds to URL path/sap/hba) |

  1. 保存并关闭文件

如果需要使用代理的话,需要配置Orion应用服务器:
打开Orion.ini文件

在最正文增加下面的配置:

1
2
3
4
5
-Dhttp.proxyHost=<Proxy address>
-Dhttp.proxyPort=<Proxy port>
-Dhttps.proxyHost=<Proxy address>
-Dhttps.proxyPort=<Proxy port>
-Dhttps.nonProxyHosts=localhost|<host1>|<host2>

部署

很抱歉,之前说Local trial版不能部署,经过一天时间的摸索请教再摸索,终于!连通了!但我也说不清楚我到底做了什么了,把能想到的一些必须的步骤写下来,希望能帮到你。

1. Destination文件

按照上面的要求创建一个和你要连接的server SID名字一样的文件,比如下面的N74

放在下面路径:

文件的内容我也粘在这里,很容易明白:

下面是我正在使用的文件内容,参考图修改吧,其中屏蔽了密码和IP地址

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description=N74
Type=HTTP
TrustAll=true
Authentication=BasicAuthentication
UserName=ztest01
User=ztest01
Password=<Password>
Name=N74
ProxyType=Internet
URL=https\://<xxx.xx.xx.xx>\:8001
WebIDEUsage=odata_abap,odata_gen,ui5_execute_abap,dev_abap,bsp_execute_abap,odata_xs
WebIDESystem=N74
WebIDEEnabled=true
sap-client=800

一定要注意URL,地址里有两个\做为转义符

2. SICF服务激活

在家连不上系统,再补吧

参考

Connecting Remote Systems in SAP Web IDE Personal Edition

Configuring the Orion Application Server

Jim Guo wechat
ex. subscribe to my blog by scanning my public wechat account