Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

tracing details of multilevel BOM by any function module

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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