In SAP Business One for SQL Server, if you want to create an unlimited multilevel Bill of Material (BOM) report, you can use WITH Recursive query expressions. However, in HANA as stated in the documentation, the <with_clause> cannot support recursive query expressions.

But don’t worry, you can still create unlimited multilevel bill of material (BOM) queries in SAP Business One for HANA, with a Stored Procedure and 2 temporary tables, here is the snippet :

Now, you can use this query and expand it according to your needs. Hope this article helps you.
Also read relevant SAP Business One Tips:
- Print and Preview Documents in SAP B1 Web Client
- How to View Email History in SAP Business One
- SAP Business One Data Search with Case Sensitive Search
- How to Hide Inactive Contact Persons in SAP Business One
- How to Create a New User in SAP Business One
- Recalculate Gross Profit with SAP Business One Wizard








