Hello,
There is a QUITE SIMPLE step to find out ALL dataproviders (queries and views) used by your template.
Access transaction RSA1 > Metadata Repository > BEx Web Template > Select the template.
On Required Objects, you will see all queries used by this template
On this image, my template has only one query:
Best Regards,
Edward John
SCN Moderator