对于Update Function Modules的一点说明详解编程语言

To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to one of the following values:

  • Update with immediate start

Set this option for high priority (“V1”) functions that run in a shared (SAP LUW). These functions can be restarted by the update task in case of errors.

  • Update w. imm. start, no restart

Set this option for high priority (“V1”) functions that run in a shared (SAP LUW). These functions may not be restarted by the update task.

  • Update with delayed start

Set this option for low priority (“V2”) functions that run in their own update transactions. These functions can be restarted by the update task in case of errors.

这三个选项,最大的区别就是优先级和是否可以重启。

对于这样的函数调用的时候,需要指定IN UPDATE TASK 参数。在同一个LUW内,启动一个update-task process 是SAP LUW的一种绑定技术,用于保持数据的一致性。

原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/19668.html

(0)
上一篇 2021年7月19日
下一篇 2021年7月19日

相关推荐

发表回复

登录后才能评论