ITT1 table in SAP Business One (Bill of Materials (components))
ITT1 is the SAP Business One table that stores the components of a bill of materials: one row per component, with the component code, quantity, warehouse, issue method and component type. It joins to the BOM header OITT on ITT1.Father = OITT.Code.
ITT1 key fields
| Field | What it holds |
|---|---|
Father | Parent item. Joins to OITT.Code. |
ChildNum | Component element number. |
VisOrder | Visual order of the row. |
Code | Component code (an item when Type = 4). |
ItemName | Item description. |
Type | Component type: 4 = item, 290 = resource, -18 = text. |
Quantity | Quantity of the component. |
Warehouse | Warehouse. Joins to OWHS.WhsCode. |
IssueMthd | Issue method: B = backflush, M = manual. |
Price / Currency | Price and price currency. |
PriceList | Price list. Joins to OPLN.ListNum. |
StageId | Stage ID. |
How ITT1 relates to other tables
ITT1 rows belong to one OITT header through Father. When Type is 4 the Code is an item and joins to OITM.ItemCode; resource rows (290) and text rows (-18) are not items.
Common joins
ITT1 T0 INNER JOIN OITT T1 ON T1.Code = T0.Father (BOM header)ITT1 T0 LEFT JOIN OITM T2 ON T2.ItemCode = T0.Code AND T0.Type = 4 (component item)ITT1 T0 LEFT JOIN OWHS T3 ON T3.WhsCode = T0.Warehouse (warehouse)
When you use the ITT1 table
Use ITT1 to list the components of a parent item, to run where-used reports (which BOMs use a component), and to check issue methods and warehouses before production orders are created.
Example query: where-used: boms that contain a component, with stock of the component
SQL Server
SELECT T0.Father AS ParentItem, T0.Code AS Component, T2.ItemName, T0.Quantity, T0.IssueMthd, T0.Warehouse, T2.OnHand FROM ITT1 T0 INNER JOIN OITM T2 ON T2.ItemCode = T0.Code WHERE T0.Type = 4 AND T0.Code = 'C-1001' ORDER BY T0.Father
SAP HANA (column names in double quotes)
SELECT T0."Father" AS "ParentItem", T0."Code" AS "Component", T2."ItemName", T0."Quantity", T0."IssueMthd", T0."Warehouse", T2."OnHand" FROM ITT1 T0 INNER JOIN OITM T2 ON T2."ItemCode" = T0."Code" WHERE T0."Type" = 4 AND T0."Code" = 'C-1001' ORDER BY T0."Father"
Paste either version in Tools → Queries → Query Generator. Need the other dialect for your own query? Use the SQL to HANA converter.
Common pitfall: Treating every ITT1 row as an item
ITT1 also holds resource rows (Type 290) and text rows (Type -18). Filter Type = 4 before you join OITM or sum quantities, or text and resource lines distort the component list. See OITT table (bill of materials).
Questions about the ITT1 table
How do I get the components of a BOM in SAP B1?
SELECT the ITT1 rows WHERE Father = the parent item code; join OITM on ITT1.Code when Type = 4.
What do the ITT1 Type values mean?
4 = item, 290 = resource, -18 = text.
What is IssueMthd in ITT1?
The issue method of the component: B = backflush, M = manual.
Related tables
OITT (Bill of Materials (product tree header)) · OWOR (Production Order (header)) · WOR1 (Production Order (component rows)) · search all SAP Business One tables
Sources: SAP Business One documentation and SDK (DI API database tables reference), SAP Help Portal.
Ready to get started?
Tell us what you need. You get a clear technical answer, a fixed scope and a price, usually within 24 hours.
