‎2006 Dec 01 12:35 PM
Hi,
I want to findout the lower level items exists for a material.(BOM)
Is there any function module to get the bill of materials for the given material..
‎2006 Dec 01 12:40 PM
‎2006 Dec 01 12:41 PM
Hi Sumi
Yes, you can use FM 'CS_BOM_EXPL_MAT_V2'
eg :
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
auskz = ' '
capid = 'PP01'
datuv = sy-datum
emeng = '1.000'
stlan = '1'
stlal = mast-stlal
mtnrv = matnr
mehrs = 'X'
mmory = '1'
stpst = '0'
werks = werks
IMPORTING
topmat = selpool
dstst = dstst_flg
TABLES
stb = stb
matcat = matcat
EXCEPTIONS
material_not_found = 4
no_plant_data = 8
no_bom_found = 12
no_suitable_bom_found = 16.
Hope this helps,
Erwan
‎2006 Dec 01 12:45 PM
‎2006 Dec 01 1:01 PM
Hi,
Here are some FM related to BOM:
CS_BOM_EXPLOSION General BOM explosion
CS_BOM_EXPLOSION_EQUI BOM explosion - initial screen: equipment
CS_BOM_EXPLOSION_MAT BOM explosion (old version); as of 3.0, use CS_BOM_E
CS_BOM_EXPL_EQU_V2 BOM explosion for equipment
CS_BOM_EXPL_KND_V1 BOM explosion for material
CS_BOM_EXPL_MAT_V2 BOM explosion for material
CS_BOM_EXPL_PSP_V1
CS_BOM_EXPL_TPL_V1 BOM explosion for functional location