Hi Mithun,
The GetItemRepeatConfig function that the Multilevel BOM Report uses accepts an attribute on the relationship called repeatTimes. The value of this attribute indicates how many levels down the query should return (this is 6 by default in my database). You can also set the value of this attribute to 0 which will return all levels.
I believe this is the only change that should be needed as the Stylesheet should be written generically to handle many different levels of a BOM structure. That being said, I don't have a large enough data set in any of my test instances to verify this.
Chris
Christopher Gillis
Aras Labs Software Engineer