Skip to Content
0
Jun 04, 2008 at 09:31 AM

Keeping Track of BOM's while exploding them,and relating to their parents

37 Views

Hi Everyone,

I am doing a Costing Report to analyze the price of base Material in a Bill of Materials. This Base Material may occurs at any level of the BOM, and there also is a possibility that it may occur at 2 levels, and most definitely the last level.

I have a set of materials in KALM. When I get their BOM Numbers, I try to get their IDNRK, BOM Components, and then, do some filtering before I get to MAST Table from where I pick up the BOM numbers for these Components.

Once, I obtain these BOM Numbers, I begin to expand to more and more levels if there are any, until i get the last one.

I am getting stuck at the point where I get the BOM Nos from Level 1, and then find it difficult to keep the relationships between each level, and relate them to each other via Internal Tables.

Is there any specific algorithmic approach I must follow, any programming technique...