SAP Message AQ242 - Reference line allowed only with line groups

Diagnosis
You attempted to use conditions without defining line groups.

Procedure
If you want to use conditions, you must define line groups and assignlines to line groups.