Reporting Macros

The reporting macros are used to construct reports from an Indented BOM output data set as produced by the BOM procedure. The macros contained in this section are as follows:

%BOMRMLB

constructs an indented bill of material

%BOMRMLW

constructs an indented where-used list

%BOMRSLB

constructs a single-level bill of material

%BOMRSLW

constructs a single-level where-used list

%BOMRSUB

constructs a summarized bill of material

%BOMRSUW

constructs a summarized where-used list

The single-level bill of material lists the components directly used by a given item. The indented bill of material of a given item lists all components that are directly or indirectly used by that item. It starts with the single-level bill of material for the given item. Each component in this bill of material is checked to see if it has subcomponents or a single-level bill of material. If so, the component is exploded. If any component on this second level bill has subcomponents, that component is exploded in the same fashion. The explosion of bill of material continues until the lowest levels are reached (Landvater and Gray 1989). The summarized bill of material lists all components and their quantities that are directly or indirectly used to make prespecified units of the given item.

On the other hand, the single-level where-used list traces all parent items where the given item is directly used. The indented where-used list starts with the single-level where-used list of the given item, and traces upward to all the places each parent item is used, and so on until the top-level end item is reached. The summarized where-used list shows all parents at higher levels in which a given item is directly or indirectly used, along with the total quantities of the item used in those parents.