SAP Message AQ240 - Assignment of lines to line groups is incorrect or incomplete DOCUMENTATION DiagnosisIncorrect assignment between lines and line groups. There are twopossible reasons this:The assignment of lines to line groups must be in ascending order, i.e.as the line number increases, the line group must either stay the sameor also increase.The assignment is incomplete, i.e. not all the lines are assigned to aline group. You must either assign all lines to a line group or none atall.ProcedureCorrect the assignment.