Skip to Content
0
Former Member
May 23, 2008 at 06:42 AM

BOM Recursive logic

249 Views

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