Sometimes when it becomes difficult to join 2 tables perfectly then one method to rectify this problem is to identify a field where values are not the same in these repetitive lines. If you find such, for example: you have value E in one line and value B in other of a field say AUFM-SOBKZ, then use the following syntax in the Record Processing section of the Infoset (SQ02 Extras) .
CHECK AUFM-SOBKZEQ 'E'.
This filters the extra lines. In case you are unable to find such field, then the task becomes difficult. Need for accessing the internal tables of the query by using field symbols. See this discussion ABAP Query - output entries repeating.
KJogeswaraRao