Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing External Data →  Data Consistency →  Database LUW 

Database Rollback

Database rollbacks are triggered implicitly or explicitly in an AS ABAP.

Other versions: 7.31 | 7.40 | 7.54

Implicit Database Rollbacks

The following exceptions trigger an implicit database rollback:

  • Program termination through sending of a message.


Notes

  • A termination message also leads to a database rollback if the message is handled with the predefined exception error_message when a function module is called.
    Termination and exit messages always lead to termination of the program. Other message types can also lead to program termination in certain contexts .

Explicit Database Rollbacks

You have the following options for triggering explicit database rollbacks in ABAP programs

  • Use of the relevant database-specific Native-SQL statement.