Multiple choice technology web technology

To measure how long a block of code runs, use the ABAP statement:

  1. GET TIME

  2. SET TIME FIELD

  3. GET RUN TIME FIELD

  4. SET CURSOR FIELD

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

GET RUN TIME FIELD is the ABAP statement used to measure code execution time. It retrieves the current run time in microseconds, allowing you to calculate elapsed time by capturing it before and after a code block. GET TIME sets the system time, SET TIME FIELD is not a standard statement, and SET CURSOR FIELD positions the cursor.