11-20-2007 5:02 AM
Hi,
I have a requirement to display the Hirerachial display of all the components under a material. That is multilevel display for Components of a material. Like CS12. Is there any function module to display the hirerachial display.
Will reward points.
11-20-2007 5:42 AM
<i>Function on which is constructed transaction CS12:</i>
<b>CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
capid = 'PP01'
datuv = sy-datum
mktls = 'X'
mehrs = 'X'
mtnrv = t_mast-matnr
stlal = '01'
stlan = '1'
stpst = 0
svwvo = 'X'
werks = p_werks
vrsvo = 'X'
TABLES
stb = t_stb
matcat = t_matcat
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
OTHERS = 9.</b>