I believe you want to use an inner join here to remove the duplicates.
inner Join SOP30200 SOP on GL.ORGNTSRC=sop.TRXSORCE
Also seconding Tristan's suggestion regarding Victoria Yudin website. I often start with one of the view she has written and then modify it to meet our requirement.
Regards,
Kirk