Ansicht
Dokumentation

ABENSAP_LUW_UPDATE_TASK_ABEXA - SAP LUW UPDATE TASK ABEXA

ABENSAP_LUW_UPDATE_TASK_ABEXA - SAP LUW UPDATE TASK ABEXA

BAL Application Log Documentation   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

SAP LUW, UPDATE TASK

This example demonstrates how SAP LUWs are bundled using update function modules.

Source Code

Execute

Description

The example shows a program divided into segments by switching the work process. An implicit database commit is performed at the end of each segment. Here, the work process is switched using the statement WAIT UP TO. In real programs, a switch of this kind can have many different causes.

This program makes writes on the database that are moved to different update function modules. The statement COMMIT WORK executes the function modules registered so far using the CALL FUNCTION IN UPDATE TASK. This entails closing an SAP LUW and opening another.

In the first statement, COMMIT WORK, the addition AND WAIT triggers synchronous updates, where one update function module must be completed before the next one can start. In the second SAP LUW, the statement SET UPDATE TASK switches local updates on, which are always performed synchronously.






ROGBILLS - Synchronize billing plans   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2053 Date: 20240427 Time: 041908     sap01-206 ( 37 ms )