对于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的一种绑定技术,用于保持数据的一致性。

posted @ 2020-11-05 16:38  荒野游侠  阅读(213)  评论(0编辑  收藏  举报