Hi Marko - How are you creating the target root element.. one for each E1EDL44 ?
If so to remove the duplicates try the below mapping.
MATNR (E1EDL44 ) -> remove contexts -> split by value (value changed) ->collapse context -> split by value(for each value) - target field