Checking Programs 

There is a range of checks that you can use in the ABAP Editor. Different checks include different parts of the program. You can imagine an ABAP program as a framework containing a set of components, for example, the top include and PBO and PAI modules.

If you want to check a program or only a component of the program, you can restrict the scope of the check.

Features

Function

Description

Syntax

The system checks the syntax of the selected program.

To start the syntax check

  • Choose from the application toolbar, if the program is currently displayed in the ABAP Editor.
  • Select the relevant program in the object list and choose Check ® Syntax from the context menu.

This function checks the syntax of the selected program and the top include (if the program has one). It does not check any other includes.

Main program

The system checks the syntax of the whole program and all of its includes.

To start this check, select the main program in the object list and choose Program ® Check ® Main program.

Extended program check

The system checks the entire program and allows you to run additional checks with a greater scope than the normal syntax check.

See also: Extended Program Check.

From Checks to Corrections

In the Syntax and Main program checks, the system displays error messages in a separate pane as soon as they occur:

If the system finds an error during the check for which it can suggest a solution, a special icon appears next to the entry in the list. It also places the cursor on the first error in the list.
Choose this icon to correct the error automatically.

See also:

Extended Program Check