Application Development 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: 

Regarding BOM report

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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