Google
 

Wednesday, March 5, 2008

Tips and Tricks

Use

The Tips & Tricks function in the runtime analysis tool contains a series of source code examples intended to illustrate efficient programming. For each problem, it presents two possible solutions, and compares their respective runtimes. The results enable you to see which solution is more efficient.

Features

  • Runtime measurement for the required source code extract
  • Data display
  • Function for switching to the ABAP Editor to modify the source code extract
  • Simple navigation to other examples

Procedure

From the initial screen of the runtime analysis:

  1. Choose Tips & Tricks.
    The system displays a list of measurable components, divided up by themes.
  2. Choose an example by clicking it.
    The test screen appears. Below is the example for searching in an internal table.

This graphic is explained in the accompanying text

  1. Choose Measure runtime.
  2. Compare the runtime of each variant.

counter customizable free hit