The Editor offers several types of checks. Checks differ in how much of a program frame they encompass. You can imagine an ABAP program as a container for the separate components of program code. For example, a frame encloses a program's top include and other includes such as the PBO and PAI includes.

When you check a program or a program component, you must decide how much of the frame you want to check:
Function |
Explanation |
Current program |
Checks the code in the current Editor session and the top include if it exists. The system checks only the syntax. This is the default when you choose the Check icon. |
Main program |
The system checks the syntax of the entire program, including its includes. |
Extended Program Check |
Checks the entire frame and allows you to extend the check to more than a syntax check. |
Display warnings |
Displays the warnings found in the last check. |
R/2 syntax check |
Checks R/2 syntax. This function allows you to develop any changes for R/2 systems using the extended functionality of the R/3 system. You can transport programs that pass the R/2 syntax check into the R/2 system. |
The Current program and Main program checks display errors as they encounter them. During a check, if the system encounters an error and cannot offer a solution, the system displays the error at the bottom of the Editor screen and sets the line containing the error to the current line.

If the system can correct an error, it displays the Syntax Errors dialog:

From this dialog, you can choose to have the system Correct the error for you or you can Edit the program. If you choose Edit, the system displays the line containing the error for you.
Extended Program Check