SAP SET UPDATE TASK LOCAL ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for SET_UPDATE_TASK_LOCAL

SET UPDATE TASK LOCAL

Short Reference

• SET UPDATE TASK LOCAL ABAP Statement

ABAP_BASIC_FORM_17 SET UPDATE TASK LOCAL.


What does it do? 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 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 you want to use it, you must reactivate it again before the first update function module is registered.

System fields sy-subrcMeaning 0The local update function is activated. 1The 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.

Latest 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.

Return to menu