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 function modules

Former Member
0 Likes
301

Hello All,

I need a logic for re-cursive call.I am drilling down the BOM components.Example as below.

If I have A as header with B as component and again B may have C as component again C may have D and E as components in it.

Now if I pass A i should find B,C,D,E,F.

Please suggest somebody some idea how to get this logic?

I am using the function module CS_BOM_EXPL_MAT_V2 to get the components of a BOM.

Regards

Mahesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
274

When using the function module:

Export:

mehrs = 'X' "Multi Level

This sets the function module so it will return all the levels of the BOM.

1 REPLY 1
Read only

Former Member
0 Likes
275

When using the function module:

Export:

mehrs = 'X' "Multi Level

This sets the function module so it will return all the levels of the BOM.