i am working on mrp report in which the need is to get the required quantity for all the materials used for making a header material .
i am looking for a function module which can give me the subsequent BOM number for the planned order number.
i have already checked the BAPI's like BAPI_PLANNEDORDER_GET_DETAIL
WHICH ARE ONLY GIVING THE DETAILS OF PLANNED ORDER FOR FIRST LEVEL.
the requirement is to cover up multiple levels of BOM.
related transaction is MD04