This is not an easy report.
The problem with an indented costed BOM is that it requires you to self join the BMPRDSTR to itself a number of times -- how many depends upon how many levels deep your products structures go -- from component item to parent item.
On top of this, you must also have several aliases of the IMINVLOC -- one for every level -- to pull out the std and avg costs. Add the same number of aliases for the IMITMIDX if you want item descriptions.
Place each level of the report in a separate details section, and conditionally suppress a lot of ugly details that you don't want to see, and this report is doable. The formulas to sum the cost will require use of variables.
I have done this report for std cost only, up to 4 levels only, and it took me about 30 hours. I am sure I could cut that time in half now, as some of what I was doing was learning curve. However if you need an extra level, figure on adding a couple of extra hours.
One last comment, and if anyone knows how to do this (Peter ?) I would be grateful. Using heirarchical grouping, I think this would be possible AND fairly easy, however I have been unable to produce this report, I have only been able to produce a where-used report. Perhaps someone knows hierarchical grouping and can tackle this?
Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports