cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Ritz
Active Contributor
0 Kudos

Former Member,

Changes to quantity is not suppoted when we use class items in BOM.

and thats the reason its not working.

Its mention very clearly in SAP Help,

Disadvantage.

In a class item, the item quantity is always the same, regardless of which classified material is selected. For this reason, only use class items in cases where you use the same quantity of different materials.

check below blog ,

http://scn.sap.com/community/erp/manufacturing-pp/blog/2012/06/22/classes-as-place-holders-component...

see SAP NOTE :  https://service.sap.com/sap/support/notes/37484

Thanks

Ritesh