Indented BOM reports

Has anyone attempted to write a indented BOM report. I could use some
ideas. I am trying to write a report that shows total setup and production
hours for each level 1 assemblies. But I need to include any hours in the
lower levels as well. Any help would be appreciated.

Rhonda Reilly
Offshore Tool and Energy