SAP Message 28540 - Compilation of dependency &1 incorrect: condition expected in line &2

Diagnosis
A compilation error was found in the dependency.

System Response
The system terminated processing of the object dependency.

Procedure
Check the dependency and try to resolve the error by re-checking andsaving again in the dependency maintenance function.