You can get list of data table names by using Get Data Table List
tablenames = Get Data Table List() << get name;
Report windows with Get Window List
reportwindows = Get Window List(Type("Reports"));
You can then loop over them using For Each.
Check both of those from Scripting Index as they support Project argument which you might have to use.
Edit: fixed command or report windows
-Jarmo