Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing External Data →  Data Consistency →  SAP LUW 

SET UPDATE TASK LOCAL

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


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.