怎么在SAP Cloud Platform上进行第一个integration flow开发

怎么在SAP Cloud Platform上进行第一个integration flow开发,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

创建一个新的Content package:

怎么在SAP Cloud Platform上进行第一个integration flow开发怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

点击Add,选择integration flow:

怎么在SAP Cloud Platform上进行第一个integration flow开发怎么在SAP Cloud Platform上进行第一个integration flow开发

保存:

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发怎么在SAP Cloud Platform上进行第一个integration flow开发

Adapter类型选择HTTPS:

怎么在SAP Cloud Platform上进行第一个integration flow开发

维护Address:

怎么在SAP Cloud Platform上进行第一个integration flow开发

选择message converter:

怎么在SAP Cloud Platform上进行第一个integration flow开发

json to xml converter:

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

再选择Content Modifier:

怎么在SAP Cloud Platform上进行第一个integration flow开发

拖到integration process里:

怎么在SAP Cloud Platform上进行第一个integration flow开发

选择call->external call:

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

选择Step2:

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发怎么在SAP Cloud Platform上进行第一个integration flow开发

点击step3按钮:

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发怎么在SAP Cloud Platform上进行第一个integration flow开发怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

在postman里输入上图的endpoints:

怎么在SAP Cloud Platform上进行第一个integration flow开发

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

怎么在SAP Cloud Platform上进行第一个integration flow开发

测试成功。

看完上述内容,你们掌握怎么在SAP Cloud Platform上进行第一个integration flow开发的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注行业资讯频道,感谢各位的阅读!