WITH RecursiveSQL as (
SELECT 1 as Level,INV1.ItemCode as ABSCODE,ITT1.Code as ITEMCODE,OITM.ItmsGrpCod,Oitm.ItemName,
Oitm.BuyUnitMsr, ITT1.Quantity
FROM INV1 INNER JOIN OITT ON INV1.ItemCode = OITT.Code
INNER JOIN ITT1 ON ITT1.Father=OITT.Code
INNER JOIN OITM ON ITT1.Code = OITM.ItemCode
UNION ALL
SELECT RecursiveSQL.Level+1 as Level, RecursiveSQL.ABSCODE,OITT.Code,OITT.DataSource,ITT1.Code as ITEMCODE,
OITM.ItmsGrpCod,OITM.ItemName,Oitm.BuyUnitMsr,ITT1.Quantity
FROM RecursiveSQL INNER JOIN INV1 ON RecursiveSQL.ITEMCODE = INV1.ItemCode
INNER JOIN OITT ON INV1.ItemCode = OITT.Code
INNER JOIN ITT1 ON ITT1.Father=OITT.Code
INNER JOIN OITM ON ITT1.Code = OITM.ItemCode
)
SELECT * FROM RecursiveSQL where INV1.DocEntry='19009'
It is there i mentioned as bold letter.