SAP Message W8319 - Position the cursor on an expression

Diagnosis
The function you have selected is only available if the cursor is on anexpression.

Procedure
Position the cursor by double-clicking on an expression in thecondition and choose the function again.