05-29-2006 7:26 AM
Rollback work closes a logical processing unit by reversing all database changes made since the last COMMIT.
Is there any way through ABAP coding, to create a save point in the code and to perform a rollback till that particular point, so that the rollback statement when executed, reverses the database changes made after that particular save point and not the changes made after the last commit statement, so that the database changes made before the save point in the code is not cleared.
05-29-2006 7:28 AM
Hi renu,
1. I don't there is checkpoint concept,
which we can use in abap.
2. We can only control using last COMMIT
which we can mention in our program.
regards,
amit m.
05-29-2006 7:29 AM
please clarify. What do you mean? Why can't you put your own commits in to create such a 'save point'?
05-29-2006 2:25 PM
Hi Renu. Why don't you try making a COMMIT WORK everytime you want this 'save point', and that way the rollback will only cancel the data not saved by the commit.
Hope it helps.
Jesus
05-29-2006 2:30 PM
hi
welcome to sdn.
if ROLLBACK is followed by COMMIT then it will undo the changes made in COMMIT.
Cheers,
Abdul
Mark all useful answers..