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

Regarding BOM report

Former Member
0 Likes
954

Hi friends,

If anyone have developed ALV report for Bill Of Material.than pls give me sample code....

Material A

Mterial B

Material C

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
929

Hi

Your requirement does not seem to be clear.

However, follwing is the logic to find BOM:

1. For the given material (MATNR), goto table MAST, which is the article to BOM link and get STLNR, which is the BOM

2. Now goto table STPO (BOM table) and use the above stlnr to get all the BOM details.

Thanks

Vijay

PLZ reward points if helpful

6 REPLIES 6
Read only

Former Member
0 Likes
929

reply.......................

Read only

Former Member
0 Likes
930

Hi

Your requirement does not seem to be clear.

However, follwing is the logic to find BOM:

1. For the given material (MATNR), goto table MAST, which is the article to BOM link and get STLNR, which is the BOM

2. Now goto table STPO (BOM table) and use the above stlnr to get all the BOM details.

Thanks

Vijay

PLZ reward points if helpful

Read only

0 Likes
929

hi vijay,

thank for reply.that i know..but how to find multiples level BOM.........like

material A

subcomponent B

subcomponent D

subcomponent F

subcomponent G

subcomponent E

subcomponent H

subcomponent B

Read only

0 Likes
929

Hi,

You get all the BOM components in STPO table. The component is nothing but IDNRK field in STPO table. To verify, you can goto transaction MM43, enter matirial number (basic view) and then click on components push button, which will give you all the components (IDNRK). This comes from STPO-IDNRK.

Thanks

VIjay

PLZ reward points if helpful

Read only

0 Likes
929

thank for reply.that i know..but how to find multiples level BOM.........like

material A

-


subcomponent B

-


subcomponent D

-


subcomponent F

-


subcomponent G

-


subcomponent E

-


subcomponent H

-


subcomponent B

Read only

0 Likes
929

reply..........pls