We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
PERFORM subr ON ${ ${COMMIT $[LEVEL idx$]$} $| ROLLBACK $}.
This statement registers subroutine of the current program for later execution. The name of the subroutine is directly specified as subr. The subroutine is not executed immediately, but is flagged for execution by one of the statements COMMIT WORK or ROLLBACK WORK.
The statements COMMIT WORK or ROLLBACK WORK execute the subroutines that are registered
with ON COMMIT or ON ROLLBACK respectively in the current work process and before update
function modules registered using CALL
FUNCTION ... IN UPDATE TASK are called. Subroutines that are registered during execution of an update function module with ON COMMIT are executed at the end of the
update. In non-local updates, this takes places in the update work process and in local updates in the current work process.
Do not implement in function modules and subroutines
... LEVEL idx
In the case of subroutines registered for COMMIT, the order of execution can be controlled using
the addition LEVEL, where idx expects a data object of the type i. 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 the same as idx or if no value is specified,
the order of execution is the same as the order of registration. A subroutine registered multiple times for COMMIT or ROLLBACK is executed once in each case.
Registers a subroutine insert of the same program for execution in the statement COMMIT WORK. The data is passed using the ABAP memory.
Leave us your contact details and we will call you back. Fields marked with * are mandatory.
We offer holistic SAP solutions from a single source to shape digital change and develop new business areas.
Switzerland
Schaffhausen
Germany
Mannheim, Düsseldorf, Munich
USA
Haverhill
Greece
Thessaloniki