Skip to content

ABAP Keyword Documentation →  ABAP - Release-Specific Changes →  Changes in Release 7.40 and Its SPs →  Changes in Release 7.40, SP02 

Updates in Release 7.40, SP02


1. Cleanup in updates

Other versions: 7.31 | 7.40 | 7.54

Modification 1

Cleanup in Updates

When statements are executed that would produce a database commit or database rollback or would disrupt the update controller, the associated system behavior has been cleaned up as described under Forbidden Statements in Updates. The behavior in the case of local and regular updates has been synchronized and all forbidden statements now produce a runtime error directly, which makes troubleshooting easier.

The following statements now also raise the exception POSTING_ILLEGAL_STATEMENT directly during the update, since they disrupt the update controller:

  • LEAVE LIST-PROCESSING
  • LEAVE PROGRAM
  • LEAVE SCREEN
  • LEAVE TO LIST-PROCESSING
  • SET SCREEN

Before Release 7.40, only the statements CALL DIALOG, CALL SCREEN, CALL SELECTION SCREEN, CALL TRANSACTION, LEAVE TO TRANSACTION, SUBMIT, plus COMMIT WORK and ROLLBACK WORK raised an exception directly. The behavior of messages in updates was not modified.