01-05-2008 7:55 AM
Hi Gurus,
I would like to know is there any functional module by which we can read the Zeroth level of BOM from a child level mterial.
it is Like BOM Implosion
from child to parent.
For example i have the bom like below
0 level--- FERT
1 LVEL-- HALB1
2 LEVEL-HALB2
3 LEVEL-ROH
In this structure i know the ROH MATNR.Now i have to get the FERT MATNR.
Suggest me is there anyother way to find it.
01-05-2008 8:55 AM
CF_UT_BOM_DISPLAY PRT: Display bill of material
CAVC_I_GET_BOM_HEADER_DATA
CAVC_I_GET_BOM_ITEM_DATA
CAVC_I_GET_BOM_ITEM_DATA_LIST
Regards.
01-05-2008 9:11 AM
HI ,
Try to use BAPI 'BAPI_PRODORD_GET_DETAIL'.
It may solve ur problem.
Reward if useful.
Regards,
Rajesh Akarte
01-05-2008 9:16 AM
Hi Vijay,
Try these BOM FMs,
APHT/DRM_MAT_BOM_READ Read BOM components till no further explosion is possible
/SAPSLL/BOMHD_DISPLAY
DMU_MAT_BOM_EXPLODE
Regards,
Ram
01-05-2008 12:19 PM
Hi Vijay,
try this FM. it will solve your problem..
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = LV_DATE
DATUV = WA_MASTERDATA-DATUV
EMENG = wa_masterdata-bmeng
MEHRS = ' ' "just download 1 level
MTNRV = wa_masterdata-matnr
STLAL = wa_masterdata-stlal "Alt BOM
STLAN = wa_masterdata-stlaN "Prod BOM
WERKS = wa_masterdata-WERKS
TABLES
STB = LT_BOM
EXCEPTIONS
OTHERS = 4.
Thanks,
Murali