Hi
I agree with Raman there is no such way that translates directly to a BW query. You need to understand what the basetables are below a TA and then search with the basetables what kind of datasources exist for it. From there on you find the contents dataflow (cubes, dso and eventually query)
hope it helps
Martin