Defining Material Quantity Calculation 
Use
You use this procedure in the master recipe to define formulas for the calculation of the following values:
If required, you transfer the formula results to the corresponding alternative BOM.

When you enter a formula for the product quantity, note that after the product quantity has been calculated the system only updates dependent values for which a formula has been maintained. For this reason, you must also enter a formula for the values that are proportional to the product quantity.
In collective orders, material quantity calculation is only supported within the leading order. Header quantities and component quantities of subordinate orders are calculated in proportion to the product quantity of the leading order. For this reason, do not enter formulas for:
Prerequisites
Material quantity calculation uses the value from the BOM or, if this value is missing, the value from the material master record. If multiple values or value ranges have been defined, the system uses the lowest value.
Procedure
The material list of the recipe appears.
.The Material Quantity Calculation screen appears. It consists of two sections:
Select formula. Use the decimal markers defined in your user defaults or the decimal point.
The coordinates of the field are inserted in the formula. When the material quantity is calculated, they are replaced with the up-to-date quantity.

Note that the system does not take the unit of measure of referred values into account. Percentages, for example, are treated like absolute values during the calculation.
For information on the available operators and functions, see
. The system calculates the product quantity and subsequently updates all component, operation, phase, and scrap quantities for which formulas have been maintained.
The system displays the calculated values in the corresponding fields in the lower screen section.
and save the master recipe.
and save the master recipe. 
The system also copies the calculated material quantities to the BOM if the Fixed quantity indicator has been set for the BOM item.