Show TOC

Checking ABAP SyntaxLocate this document in the navigation structure

Context

The ABAP syntax check enables you to verify code-based development objects before activating them. You can run the syntax check by:

If syntax errors occur, these are issued to the Problems view and displayed as an ABAP Problem. In addition, the code line with the error is labeled with a decorator in the ABAP source editor.

If errors occur during the syntax check, these will be issued to the Problems view and displayed there as ABAP Problem. In addition, the code line with the error is labeled with a decorator in the ABAP source editor.

Syntax errors are displayed in the Problems view
Figure 1: Syntax errors are displayed in the Problems view
Note In SAP NetWeaver 7.4 as well as 7.31 SP11 or higher, you can enable the package check during the syntax check. This allows you to check whether you access objects that are visible in your object. In order to activate this functionality for an ABAP system, select the following option from the menu bar: Start of the navigation path Project Next navigation step Properties Next navigation step ABAP Development Next navigation step Editors Next navigation step  Do package check during syntax check End of the navigation path