SAP SAP LUW ON COMMIT ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

SAP LUW, ON COMMIT
This example demonstrates how SAP LUWs are bundled using subroutines.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
This example works mainly in the same way as the executable example for updates, but demonstrates bundling using subroutines registered using the statement PERFORM ON COMMIT.
No parameters can be passed in this type of bundling, which means that the internal table used in the database writes is passed by the statements EXPORT and IMPORT to and from the ABAP Memory.
The registered subroutines are called using the statements COMMIT WORK, which can be monitored using the ABAP Debugger. The subroutines themselves do not implement the writes itself but call methods of a class instead as recommended.