Introduction to Update Function Module
-
Update function module is used to bundle database changes in a single Logical Unit of Work.
-
The purpose of update function module is to commit all the changes at once or ROLLBACK them all.
-
An update function module is a function module having the processing type ‘Update Module’ in the properties tab.
Syntax to call a Update Function Module :-
- The syntax to call a update function module is CALL FUNCTION <FUNCTION_NAME> IN UPDATE TASK.
Note :-
-
When we execute a Update function module, it does not get executed immediately.
-
Update Function Module executes in a special work process that is called as update work process.
-
When we execute the COMMIT WORK statement, the Update function module is assigned to update work process.
-
This actual execution ( update work process ) is triggered by the <COMMIT WORK> statement.
How to Check Work Process ?
- You can check the work process at SM50 transaction code.
- You can check the status of Update work process at SM13 transaction code.
Comments
Post a Comment