Defining Material Quantity Calculation

Use

You use this procedure in the master recipe to define formulas for the calculation of the following values:

  • The operation quantity or any interim results

  • The phase quantity, the expected phase scrap, or any interim results

  • The quantity of a material component or any interim results

  • The product or base quantity or any interim results

If required, you transfer the formula results to the corresponding alternative BOM.

Caution Caution

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:

End of the caution.
  • Directly-produced components of the leading order

  • Materials or phases of subordinate orders

Prerequisites

  • A production version has been defined for the master recipe.

  • For you to be able to take into account material properties such as the active ingredient potency in material quantity calculation, the following requirements must be met:

  • It must be possible to enter the property as a numeric value.

  • You must classify the material master record or the BOM item with a class of class type Batch.

  • You must assign the property as a characteristic to this class and assign a value to it in the material master record or the BOM item.

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.

  • To transfer the scrap calculated in material quantity calculation to the corresponding phase in the process order, you must have activated scrap management in the parameters of the relevant order type (see Customizing for Process Orders ).

  • If you have just maintained the material list or bill of material of another production version in the master recipe, you must access the recipe group again.

Procedure

  1. Choose the Materials tab page in the recipe.

  2. If more than one header material and/or production version exist for your recipe, select the material or production version whose material quantity calculation you want to maintain.

  3. The material list of the recipe appears.

  4. Choose .

The Material Quantity Calculation screen appears. It consists of two sections:

  • The lower section contains one line with data for each operation, phase, and material contained in the recipe.

  • In the Formula definition section, you can display the formula defined for the field that you have selected in the lower section.

  1. Place the cursor on the field for which you want to enter a formula and choose Select formula .

  1. Enter the required formula in the Formula definition section. You insert the elements of this formula as follows:

  • Use the keyboard to enter number constants.

Use the decimal markers defined in your user defaults or the decimal point.

  • To insert a reference to a material or a material property in the formula, double-click the relevant field.

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.

  • To insert the operators of the basic arithmetical operations or a bracket in the formula, choose the corresponding button in the Formula definition section or use the keyboard to enter the sign.

  • Use the keyboard to enter all other operators or functions.

For information on the available operators and functions, see Basic Functions of Material Quantity Calculation and Material Quantity Calculation with Batch Data .

  1. Depending on the values for which your have entered a formula, you start the calculation as follows:

  • If you want to recalculate component, operation, phase, or scrap quantities, choose .

  • If you want to recalculate the product or base quantity, choose Calculate product qty .

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.

  1. Save your entries as follows:

  • If you want to save the formulas without transferring the formula results to the material list and BOM, choose and save the master recipe.

  • If you want to save the formulas and transfer the calculated material quantities to the material list and BOM, choose and save the master recipe.

Caution Caution

The system also copies the calculated material quantities to the BOM if the Fixed quantity indicator has been set for the BOM item.

End of the caution.