SAP Cloud Platform和S/4HANA的互联

通过两个系统互相连接互相信任的配置,使得:

(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

时间: 2024-08-30 06:04:35

SAP Cloud Platform和S/4HANA的互联的相关文章

Hyperledger Fabric on SAP Cloud Platform

今天的文章来自Wen Aviva, 坐Jerry面对面的程序媛. Jerry在之前的公众号文章<在SAP UI中使用纯JavaScript显示产品主数据的3D模型视图>已经介绍过Aviva了,SAP成都C4C开发团队中其他同事评价她为:"美腻与智慧的化身","云时代女王","是大家前沿技术的引路人".因为Jerry和Aviva就在一个组,所以我的看法是,这些评价都实至名归. 比如Jerry了解到的Javascript 3D渲染,增强现

SAP Cloud Platform上Destination属性为odata_gen的具体用途

今天工作发现,SAP Cloud Platform上创建Destination维护的WebIDEUsage属性很有讲究: 帮助文档:https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/CF/en-US/5c3debce758a470e8342161457fd6f70.html 这个属性的枚举值: 看个例子. 我维护的是odata_gen: 根据标准文档描述,拥有odata_abap属性的Destination指向的是一个gat

部署在SAP Cloud Platform CloudFoundry环境的应用如何消费SAP Leonardo机器学习API

Jerry的前一篇文章?如何在Web应用里消费SAP Leonardo的机器学习API?里介绍的例子是Neo测试环境的Web应用消费sandbox版本的机器学习API,url如下: https://sandbox.api.sap.com/ml 本文介绍一个部署在SAP Cloud Platform CloudFoundry环境下的应用,如何消费SAP Leonardo上的机器学习API. 登录SAP Cloud Platform Cockpit,进入CloudFoundry环境的Service

使用SAP Cloud Platform Leonardo机器学习提取图片的特征向量

选中一个需要进行测试的Leonardo机器学习服务,点击Configure Environments: 因为我不想使用sandbox环境,所以我选择了eu10这个region: 维护clientid和secret: 在SAP Cloud Platform cockpit里创建了service key后,会得到这个client id和secret. 要消费机器学习api,先要获得Access Token: 把postman里得到的Access Token填到API测试控制台的Authorizati

使用SAP Cloud Platform Leonardo机器学习的测试控制台

选中一个需要进行测试的Leonardo机器学习服务,点击Configure Environments: 因为我不想使用sandbox环境,所以我选择了eu10这个region: 维护clientid和secret: 在SAP Cloud Platform cockpit里创建了service key后,会得到这个client id和secret. 要消费机器学习api,先要获得Access Token: 把postman里得到的Access Token填到API测试控制台的Authorizati

如何在SAP Cloud Platform ABAP编程环境里创建一个employee

用ABAP Development Tool登录SAP Cloud Platform ABAP编程环境后,对ABAP项目点击右键,选择属性,从而找到该环境的web访问的url: https://325df18f-0b6b-4d85-a127-ee6ad7437a7c.abap.eu10.hana.ondemand.com 登录web界面,实际上是一个Fiori UI,点击tile Maintain employee: 新建一个employee: 维护email地址: 给其维护业务角色: 要获取更

SAP Cloud Platform 上CPI的初始化工作

SAP Cloud Platform上的CPI tenant,如果没有正确的初始化,试图使用时会遇到如下错误消息: Insufficient scope for this resourceinsufficient_scope 具体的配置方法: (1) Security->Role Collections: 点击New Role Collection: 创建新的role,取名Tenant_Administrator: 进入这个空的Role collection,创建具体的role: Applica

使用SAP WebIDE进行SAP Cloud Platform Business Application开发

在WebIDE的Preferences里,启用SAP WebIDE扩展:SAP Cloud Platform Business Application development tools: 设置该WebIDE连接的SAP云平台CloudFoundry环境: 新建一个项目,类型选择SAP Cloud Platform Business Application: 该srv实现类型选择为Java,package设置为my.app, 数据库技术选择SAP HANA database: 自动生成项目文件,

使用SAP Cloud Platform fullstack WebIDE创建SAP UI5应用并部署

登录SAP云平台,在Services面板里找到SAP WebIDE Full-stack服务: 从availability里发现WebIDE full-stack目前只有Neo能用,CloudFoundry暂时不可用: 点击Go to Service打开WebIDE: 打开WebIDE后,新建一个项目,environment选成CloudFoundry: 从模板里创建一个UI5应用,模板选择成SAP UI5 Application: A new MTA project called mta_Fi