‎2011 Dec 13 8:38 PM
Hi Gurus,
I want to extract All Bom Items with their relevant Alternatives.
I'm facing a problem when i do a join between STAS & STPO. Sometimes i have BOM items in double cuz it was updated with change number or something like that.
Is there any BAPI or MF to get all Items for a Material BOM with their alternatives...
When i'm checking CEWB either, i can't get them also.
Thanks.
Hamza.
‎2011 Dec 13 8:45 PM
‎2011 Dec 13 8:45 PM
‎2011 Dec 14 9:11 AM
Hi,
Thanks for your reply.
For CS_BOM_EXPL_MAT_V2 it explode BOM based on Material Level which has been Used.......
My request is to select all the items for a material bom and an alternative X or Y ...
STAS have just the alternative STLAL with Nodes STLKN , when we do a join with STPO STLNR & STLKN , sometimes we can get much more items than the valid up to date of the day...due to all historical modifications...
Regards.
‎2011 Dec 14 9:32 AM
You can try FM 'CSAP_MAT_BOM_READ'
You can use this function module to display simple material BOMs. You cannot display BOM groups (for example, all variants of a variant BOM). as in transaction CS03. Current restrictions: You cannot display long texts. You cannot display sub-items.
I dont think there are anything standard (BAPI/FM) that meets your requirement. May be based on result read from this FM you can look to fetch alternatives.
Hope this helps!
Reetesh