Application Development and Automation 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: 
Read only

Multilevel BOM

Former Member
0 Likes
340

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
306

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

1 REPLY 1
Read only

Former Member
0 Likes
307

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