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

SET UPDATE TASK LOCAL

Quick Reference

Syntax

SET UPDATE TASK LOCAL.

Effect

This statement switches on the local update. In the local update, high priority update function modules - registered during the current SAP LUW using CALL FUNCTION ... IN UPDATE TASK - are registered in the ABAP memory instead of the VB... database tables. In addition, it specifies that the current work process and not the update work process run these modules during the current database LUW, when the COMMIT WORK statement is executed. This statement is ignored by update function modules with low priority.

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.

The local update is executed in a separate internal session of the current ABAP session and not in a dedicated update session.

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