Working with Automatic ABAP Syntax Check While Programming
Prerequisites
The syntax check always is executed solely for the ABAP source code in the editor currently opened.
Context
By default, the ABAP source code editor automatically checks the syntax of a development object you are currently working on.