08-28-2006 9:37 PM
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
BAPI_PLANNEDORDER_GET_DET_LIST .
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
urgent please.
08-28-2006 10:02 PM
Hi,
You can use the below FM module.
CS_BOM_EXPL_MAT_V2
Pass the corresponding values:
For
CAPID: PP01
DATUV: <sy-datum>
EMENG: <BOM QTY>
MKTLS: X
MEHRS: X
MTNRV: <Material Number>
STLAL: 1
STLAN: 1
STPST: 0
SVWVO: X
WERKS: <Plant>
VRSVO: X
Then execute the FM and all the entries will be collected in STB internal table.
Check and let me know for any concerns.
Cheers,
Suresh Ganti