Ansicht
Dokumentation

ABENGET_RUN_TIME_ABEXA - GET RUN TIME ABEXA

ABENGET_RUN_TIME_ABEXA - GET RUN TIME ABEXA

CPI1466 during Backup   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Runtime Measurement of Database Reads

The example demonstrates how to use the statement GET RUN TIME FIELD statement at runtime.

Source Code

Execute

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. faster than reading entire rows.






ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1037 Date: 20240420 Time: 084350     sap01-206 ( 16 ms )