11-19-2007 12:59 PM
Hi friends,
If anyone have developed ALV report for Bill Of Material.than pls give me sample code....
Material A
Mterial B
Material C
11-20-2007 3:57 AM
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
11-20-2007 3:54 AM
11-20-2007 3:57 AM
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
11-20-2007 4:11 AM
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
11-20-2007 4:19 AM
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
11-20-2007 4:37 AM
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
11-20-2007 9:08 AM