SAP Message 37511 - Program & contains errors. Check syntax

Diagnosis
You chose Check -> Consistency.
The program or module pool to which this screen belongs contains suchserious syntax errors that a consistency check is not possible.

System Response
Function terminated.

Procedure
Branch to program/module pool maintenance, choose Check,eliminate the syntax error and repeat the function.