Hi Ashu,
Can you please refer the following tables related to Queries and check whether it helps you:
RSZELTDIR - Directory of the reporting component elements
RSZELTTXT - Texts of reporting component elements
RSZELTXREF - Directory of query element references
RSRREPDIR - Directory of all reports (Query GENUNIID)
RSZCOMPDIR - Directory of reporting components
Thanks & Regards,
Sapna