Professional Documents
Culture Documents
: TRANSACTION_FINISHED
Note: This event gets triggered as soon as the COMMIT WORK gets executed.
My custom class name
: ZTEST_HANDLER
Once the COMMIT WORK for the transaction is executed, control comes to custom method
CALL_DIALOG method. Here we can check whether transaction got committed successfully or
rolled back by using interface parameter KIND as shown in below screen shot.
To get the control to the CALL_DIALOG method, we need to do SET HANDLER to register the
event in any user exit before transaction COMMIT WORK execution.
Here in this case, I registered event in a BADI, which gets triggered after pressing SAVE button
in the outbound delivery (VL01N/VL02N) and before COMMIT WORK execution.
Please find below screen shot of BADI method.
Note: We can use IMPORT and EXPORT statements to transfer data from BADI to the method
CALL_DIALOG.