通过两个系统互相连接互相信任的配置,使得:
(1) SAP Cloud Platform subaccount will get a destination which holds data for the connection and OAuth communication with the S/4HANA Cloud system.
(2) That enables its Web IDE to request data from the S/4HANA system during Custom UI development and finally to deploy that UI to the S/4HANA Cloud system. Both processes are so called inbound requests to the S/4HANA Cloud system.
使用一个分配有business catalog Communication Management (ID: SAP_CORE_BC_COM)的business role的用户登录S/4HANA Cloud系统:
创建一个新的Communication arrangement
scenario选择SAP_COM_0013,
进入创建好的Communication Arrangement,在inbound Communication区域点击OAuth 2.0 Details:
这个弹出窗口的值,我们稍后会维护在SAP云平台的Destination创建页面里:
SAP云平台里新建一个Destination:
并将之前从S/4HANA cloud系统Communication Arrangement OAuth 2.0明细页面的credential信息拷贝过来。
添加下列四个额外的属性:
把这个Destination命名为SCP_DEV_SYSTEM.
之后在SAP云平台的WebIDE里使用SAP UI5应用创建向导,在Data Connection这一步骤,就能从下拉菜单里看到这个Destination了。然而Destination指向的S/4HANA系统里的OData服务YY1_BONUSPLAN_还没法使用,报错误消息Service XXX is unavailable. 需要后续在S/4HANA系统将其暴露给外部系统才能使用。但是,S/4HANA和SAP Cloud Platform通过Destination的连接已经配置完成了。
本文图片来自SAP官方向导:
https://developers.sap.com/tutorials/abap-custom-ui-communication-arrangement.html
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
原文地址:https://www.cnblogs.com/sap-jerry/p/12530072.html