美文网首页SAPSAP 实用篇SAP札记
如何在SAP Cloud Platform上进行第一个integ

如何在SAP Cloud Platform上进行第一个integ

作者: 华山令狐冲 | 来源:发表于2019-12-06 12:26 被阅读0次

登录SAP Cloud Platform integration tenant,点击Edit图标:

创建一个新的Content package:


保存content package后,点击artifacts标签页,此处创建integration flow:

点击Add,选择integration flow:


保存:

然后就可以进行iFlow的编辑了:

创建sender channel:把integration flow切换成编辑模式,点击这个箭头,把它拖到Start图片位置:


Adapter类型选择HTTPS:

维护Address:

选择message converter:

json to xml converter:

选中后放到integration process方框内,看到一条绿色的线:

再选择Content Modifier:

拖到integration process里:

选择call->external call:

将External Call的request reply同Receiver建立连接,adapter类型选择OData V2:

选择这个OData V2 adapter,在connection标签页的Address字段里,维护这个地址:
https://espmrefapps.hana.ondemand.com/espm-cloud-web/espm.svc

点击processing标签页,再点Select按钮:

选择Step2:

从Select Entity的下拉列表里选择Products:


点击step3按钮:

在step3的选择页面里,点击F4选择ProductId:

操作类型选择Equal,值维护成${header.productIdentifier}:

这样,当inbound HTTP请求里携带的product ID传入Odata adapter时,后者会调用odata取得product明细。点击Deploy进行部署。

点这个图标查看部署情况:



等到部署成功后,就可以测试了:

在postman里输入上图的endpoints:

通过执行odata adapter,得到结果:

测试成功。

要获取更多Jerry的原创文章,请关注公众号"汪子熙":


相关文章

网友评论

    本文标题:如何在SAP Cloud Platform上进行第一个integ

    本文链接:https://www.haomeiwen.com/subject/qgasgctx.html