SET UPDATE TASK LOCAL
Effect
This statement switches the local update on. The local update saves update function modules with high priority registered in CALL FUNCTION … IN UPDATE TASK in the current SAP LUW to the ABAP memory instead of to the database tables VB… When the statement COMMIT WORK is executed, it saves the function modules immediately in the current work process and within the current database LUW. This statement has no effect on low-priority update function modules.
At the beginning of every SAP LUW, the local update function is deactivated. If required, it must be activated again before the first update function module is registered.
System Fields
sy-subrc Meaning
0 The local update function is activated.
1 The local update function has not been activated, because the program has already registered at least one update function module for the normal updating procedure in the current SAP LUW.
Notes
The local update function performs a synchronous update after the COMMIT WORK statement, independently of the addition AND WAIT.
If a database rollback occurs during the local update, then all previous change requests are affected.
SET UPDATE TASK LOCAL命令用于开启局部更新,使得高优先级的更新功能模块在当前SAP工作区内直接保存到ABAP内存,而非数据库表。COMMIT WORK时,这些模块立即在当前工作进程内同步更新。每个SAP工作开始时,局部更新默认关闭,如需使用,必须在注册第一个更新模块前激活。如果局部更新期间发生数据库回滚,所有先前的变更请求都会受到影响。
1597

被折叠的 条评论
为什么被折叠?



