如下图所示:SAP S/4HANA 集成有下列这些类型:
用户移动设备同 SAP 云的集成
SAP 云系统之间的集成
SAP 云系统同物联网解决方案的集成
SAP On-Premises 解决方案同 SAP 云的集成
SAP On-Premises 系统间的集成
SAP On-Premises 系统同物联网解决方案的集成
SAP 系统集成的技术手段之一:API - Application Programming Interface,典型的类型如下:
OData
SOAP - Simple Object Access Protocol,就是我们常用的 web service
BAPI - Business Application Programming Interface,ABAP 特色技术
IDoc - ALE interface,广泛应用于 SAP ABAP On-Premises 系统间的数据交互
Communication User:定义了执行 API 的 technical 用户
Communication System:定义了通讯的远端系统明细:Define address of systems to talk to
Communciation Arrangement:定义了系统间通过具体什么渠道进行通信 - Who talks to whom how
SOAP:Asynchronous reliable messaging of business documents between systems 通过异步且可靠的消息传递,实现系统间业务文档的交换
OData:Direct access to business objects, usually synchronous - 同步直接访问 SAP Business Object 模型
IDOC & BAPI:Integration to ERP on-Premise with classic technologies, enablement for specific scenarios - 用于基于 ABAP 的 SAP 传统 On-Premises 产品间的集成
web service 开发
Model inbound interface in ESR
Generate a provider proxy on the application system
Implement the methods with the required logic
Create runtime configuration in SOAMANAGER
Test Service – WSNavigator, SOAP Client etc.
Only runtime configuration in SOAMANAGER is required for the standard SAP Services
详细步骤,参考 Jerry 的文章:最详细的 SAP ABAP Web Service 创建步骤讲解
下图是 SAP Cloud for Customer 和 SAP S/4HANA Cloud 的服务集成场景: