COMMIT WORK
using CALL FUNCTION ... IN UPDATE
TASK , registered booking function modules are still registered for
the current SAP-LUW .
ABAP_ADDITION ... LEVEL idx
What does it do? In the case of subroutines registered for COMMIT ,
the execution sequence can be controlled using the addition LEVEL
whereby for idx a data object of the type i is expected.
The execution then takes place, sorted according to ascending value of
idx . idx has the value 0, if a value is not explicitly
specified. If the value is that same as idx or if there is no
specification, the sequence of execution is the same as the registration
sequence. A subroutine registered multiple times for COMMIT or
ROLLBACK is executed once in each case.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved