Master Data References in Bills of MaterialConfigurable material BIKE has the following characteristic:
Characteristic |
Values |
BACKPEDAL |
Yes |
No |
If a bike is ordered with a backpedal brake, the number of brakes increases to 3.
BOM of BIKE
Item |
Component |
Qty |
Action |
0030 |
BRAKE |
2 |
Quantity = 3 if Backpedal |
Create a reference characteristic called QUANTITY with the following master data reference:
Table STPO field MENGE
Create a procedure with the following source code:
$SELF.QUANTITY = 3 if BACKPEDAL = 'Yes'
Allocate the procedure to BOM item 0030 (component BRAKE).
When you configure the bike, if you set value ‘Yes’ for characteristic BACKPEDAL, the quantity for component BRAKE increases to 3.