LEAVE PROGRAM, no commit?
DELETE FROM zvfnvrd. * Check if delete ís OK SELECT COUNT(*) FROM zvfnvrd. IF sy-subrc = 0. WRITE:/ 'Try again'. <<<<<<<HERE>>>>>>>>>>> ENDIF.
How to leave program without COMMIT WORK.
If I use LEAVE PROGRAM, commit work is stil done.
Raymond Giuseppi replied
If ROLLBACK WORK does not work, you have perform a database commit (implicitly or explicitly) Some instructions close the current database LUW, so its then too late to undo the database changes.
Look at [Database Logical Unit of Work (LUW)|http://help.sap.com/erp2005_ehp_03/helpdata/EN/41/7af4bca79e11d1950f0000e82de14a/frameset.htm] where you will found information on implicit database commit triggering.