SAP Message BRAIN125 - Unable to generate query &2 without errors

Diagnosis
Program &V1& for query &V2& could not be generated without errors. Moredetailed information about the cause of the error cannot be provided.

Procedure
The generated report was saved with the name &V1& and must be analyzed.
To identify the cause of the error, edit program &V1&. Run a syntaxcheck (by choosing 'Check').
Using the type of syntax error returned, you can establish whether youcan apply an SAP Note to correct this problem. Otherwise, contact yourconsultant or notify SAP of the problem.
Display Program &V1&

1628615Query generation terminates for key figures that have units