RFC类别的实现方式

The following additions to the statement CALL-FUNCTION-RFC effect a Remote Function Call:

·        CALL FUNCTION - DESTINATION (synchronous RFC)

同步调用,一般用在同步实现的情况,比如过账,或者涉及资金往来的情况。
If the addition
DESTINATION is specified without one of the following two additions, the calling program waits until the remotely-called function has finished.

·        CALL FUNCTION - STARTING NEW TASK (asynchronous RFC, aRFC)

异步调用,一般用在实时性要求不高的情况。
With the addition
STARTING NEW TASK, the processing of the calling program is continued as soon as the remotely-called function is started, without waiting for it to end. The results can be obtained from callback routines.

·        CALL FUNCTION - IN BACKGROUND TASK (transactional RFC, tRFC)
With the addition
IN BACKGROUND TASK, the remotely-called function is marked for execution and is started using the statementCOMMIT WORK.

事务调用,保证事务的一致性。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值