Get Example source ABAP code based on a different SAP table
Updates in ABAP Release 7.40, SP02 ITOC
ABAP_MODIFICATION_NN 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 ABAP_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. BEGIN_SECTION SAP_INTERNAL_HINT Temporarily the <(>NGAP<)> behavior was introduced for messages with SP02 but rolled back with a kernel patch. END_SECTION SAP_INTERNAL_HINT