Get Example source ABAP code based on a different SAP table
ABAP_OS - Transaction Service This example demonstrates the execution of an object-oriented transaction.
ABAP_SOURCE_CODE DEMO CL_DEMO_TRANSACTION_SERVICE
ABAP_DESCRIPTION In this example, a transaction is executed in object-oriented mode. To do this, the parameter I_EXTERNAL_COMMIT> of the system service method INIT_AND_SET_MODES> in the static constructor is set to OSCON_FALSE>. After a transaction manager and a transaction, which is also the top level transaction, are created, they are started using START> and ended using END>. During the transaction, the attributes DEPTIME> and ARRTIME> of the class object CL_SPFLI_PERSISTENT> created in the executable persistent service example> are changed. Calling the END> method starts a COMMIT WORK> implicitly and writes the changes to the database in the asynchronous update mode. The method handle> of the local class th> responds to the end of the transaction and analyzes its status.