SAP GET RUN TIME ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTIClE

Runtime Measurement of Database Reads
The example demonstrates how to use the statement GET RUN TIME FIELD statement at runtime.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
In this example, the runtime of three program segments is examined:
An empty program segment for determining the offset of the runtime measurement
A program segment that reads all data of the database table SBOOK
A program segment that reads two columns of the database table SBOOK
The result shows that the offset of the runtime measurement can be neglected in this case and that reading specific columns of a table is faster than reading entire rows.