You use this function to check programs in the ABAP Editor. Different checks include different parts of the program.
Function | Description |
---|---|
Syntax check |
The contents of the editor and the TOP include (if there is one) are checked for syntactical and semantic errors. The system does not check any other includes. To start the syntax check:
|
Main program check |
The system checks the syntax of the whole program and all of its includes. To start the 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 static checks, which are too time consuming for the normal syntax check. See also: Extended Program Check . |
In the Syntax and Main program checks, the system displays error messages in a separate pane as soon as they occur. The pane has the following fields:
Description | Row | Type |
---|---|---|
Description of the error |
Number of the row where the error occurred |
Type of error. Possible variants: Red light: Error Yellow light: Warning |
If your program has no errors you can save and activate it. If the system finds errors in your program, you can do the following:
After your program is checked, you can save and activate it.
The syntax check does not stop at warnings and the program is basically executable. However, syntax warnings should be taken care of because they may lead to unexpected errors. For more information, see Errors and Warnings .
See also: