SAP RFC 使用总结:
(1).BAPI and RFC
SAP R/3 的接口方式主要有 RFC(Romote Function Call,远程函数调用)、IDOC、BAPI
三种,BAPI 实际上也是 RFC 函数,它处理一组业务。使用 Tcode:BAPI/BAPIW 在 SAP
系统中可查看到各模块的 BAPI 函数。
RFC 版本:
sRFC( synchronous RFC)是 RFC 的第一个版本,它要求连接的双方是同步的工
作方式,即都是在可用状态才能够实现成功调用。
aRFC(asynchronous RFC)这种 RFC 可以实现异步的 RFC 调用方式,它可以进
行多个并发调用,并且不要求被调用系统的可用状态。发出调用系统会一直尝试直到获得
被调用系统的应答。它通常用于当你需要提高系统并行调用多个 RFC 的效率,相对于强制
等待程序的结果,它的效率更高。
tRFC(transactional RFC)是对 aRFC 进行相关技术改进后的一个 RFC 版本,其
于 ARFC 相同点是实现异步调用,其优点是可以将多个调用进行 LUW 分组处理, 并只执
行一次运行。现在 aRFC 基本上已经停用。
qRFC(queue(d) RFC)是 tRFC 的一个增强版本,它保证了所传输数据的处理次序。
pRFC(Parallel RFC)是一种特殊的 RFC,它是 aRFC 的一种扩展类型。因为它改
善了系统的性能,在执行大量的 aRFC 时。SAP 使用它在 MRP 里面提高速度。但是它只
能执行在同一个系统和同一个 client 里。
RFC 不但是一种函数,更是一种数据通信协议,类 TCP/IP.
(2).iDOC and Doc,XI,NetWeaver
IDoc: An Intermediate Document (IDoc) is a SAP standard format for data
transfer between systems.
IDocs are mainly used for Application Link Enabling (ALE) and for Electronic
Data Interchange
(EDI). They are not used for processing inside an application.
DBoc: Business Documents (BDocs) are used by the CRM Middleware to
exchange data with mobile
clients. Furthermore BDocs are the central data structure to process business
objects internally.
In contrast to Idocs, for which the internal processing has to be implemented
manually, the coding to
process BDoc may be generated automatically.
(3).SOA and ESA
企业服务架构(ESA)和面向服务的体系结构(service-oriented architecture,SOA)的
组件模型.
评论0