‎2008 Feb 13 2:00 PM
Hi ppl,
We use the tcode CS12 to explore the Multilevel BOM.
Is there any table which stores the details whether a BOM is a multilevel BOM?
I need to find out the number of BOM levels for a component.
Please help.
<REMOVED BY MODERATOR>
Thanks,
Dawood.
Edited by: Alvaro Tejada Galindo on Feb 13, 2008 9:36 AM
‎2008 Feb 13 2:26 PM
Mr. Dawood,
Call the function module 'CS_BOM_EXPL_MAT_V2' in your program & you will get the same output as you do in CS12.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
datuv = il_datuv " bom expln date
mehrs = 'X'
mtnrv = il_matnr "Material number
stlal = il_stlal
stlan = il_stlan
werks = il_werks " plant
tables
stb = it_stpox
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
Regards,
Vivek
‎2008 Feb 13 2:26 PM
Mr. Dawood,
Call the function module 'CS_BOM_EXPL_MAT_V2' in your program & you will get the same output as you do in CS12.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
datuv = il_datuv " bom expln date
mehrs = 'X'
mtnrv = il_matnr "Material number
stlal = il_stlal
stlan = il_stlan
werks = il_werks " plant
tables
stb = it_stpox
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
Regards,
Vivek