Hi,
You can try to write some routine at DTP/Infopackage level by analyzing the ECC program like what is doing and what type of documents are getting generated.
Then write the routine to filter specific those type of documents.
Hope this helps!!
Thanks