Skip to Content
Former Member
Nov 20, 2012 at 05:25 PM

change component qty for class Item "K" in Super BOM based on Configuration


Hi All,

In our Super BOM we put a class type 200 as bom item with item cat K. After the configuration is completed it is replaced by a suitable material . So far perfect. But now I've to change to BOM component qty (component replaced by Class 200) through Procedure which I assigned to this Class Item in the BOM. My procedure dependency is a ref char with STPO - MENGE as well. However System is not changing the component qty based on the condition. The code of the dependency is as below:

*$self.bom_qty = $self.bom_qty,

*IF calc_area SPECIFIED

*$self.bom_qty = MDATA$self.bom_qty IF

*$self.bom_qty = $root.calc_area

$self.bom_qty = MDATA$self.bom_qty * $root.calc_area

IF calc_area SPECIFIED

Thanks Jai