Reduction of Data in SAP Query
I have an Infoset query which have multiple table joins on Material master data. All these tables are linked only by Material number.
Due to this there are many duplicate records coming in the output.
We use the SAP List viewer as output type for our Queries here.
I have tried writing a piece of code to remove the duplicates in Infoset Query -> Code section. I have written my logic in the event END-OF-SELECTION (Before List). All mu data declarations are in DATA section.
But my problem is I am not able to trigger the code I have written. Any idea on how to trigger this code or how to reduce the duplicates?
Or is there any BAdi or User exits available?
Thanks in Advance,