Created by Jerry Wang on Oct 11, 2014
创建一个最简单的remote function module:
在function module source code里有一个COMMIT WORK。
在主程序里,直接call 该function module,其source code里line 8的COMMIT WORK AND WAIT会trigger主程序里注册在COMMIT上的form logic_main:
输入:
如果要避免这种问题,使用DESTINATION ‘NONE’. 在这种情况下,该function module在一个新的external session下执行,其COMMIT WORK不会触发原report注册在COMMIT上的subroutine。