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

BOM Item with Alternatives

Former Member
0 Likes
2,082

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,574

Hi,

You can use FM CS_BOM_EXPL_MAT_V2

3 REPLIES 3
Read only

Former Member
0 Likes
1,575

Hi,

You can use FM CS_BOM_EXPL_MAT_V2

Read only

0 Likes
1,574

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.

Read only

0 Likes
1,574

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