Validity of Dependent Formulas: Example

This example illustrates how the recipe validity and the validity of a dependent formula are related. It describes how the formula is edited from within the recipe. The recipe type allows both formula editing on a key date and using change master records.

Process Flow

You create the recipe with change number C1, go to formula editing and enter material item 1. A change state with change number C1 is created for the recipe, the formula header; and the material item respectively. This change state obtains 01/05 as the valid-from date, which is specified in the relevant change master record. The validity of the change state is unrestricted.

You load and edit the recipe without a change number on the key date 03/20 , go to formula editing and add material item 2. The existing change state in the recipe is changed over its entire validity period. The formula is not edited on the key date, but for change number C1 of the recipe change state loaded. The new material item becomes valid as of 01/05 , simultaneously with the change state.

You load and edit the recipe with change number C2, go to formula editing and change material item 2. A new change state with change number C2 is created for the recipe, the changed material item, and the formula header. It obtains 12/07 as the valid-from date from the relevant change master record. The validity periods of the existing change states are shortened accordingly; they end with the day immediately before.

You load and edit the recipe with change number C3 and go to formula editing where you change material item 1 and add the new material item 3. A change state with change number C3 is created for the recipe, the material items, and the formula header. It obtains 06/11 as the valid-from date from the relevant change master record. In the recipe and formula header, the validity period of the new change state ends on 12/06 , that is, immediately before the valid-from date of the new change state. The validity periods of the preceding change states of the recipe, formula header, and material item 1 are shortened. They end on 06/10 .

You load and edit the recipe without a change number on the key date 11/03 and go to formula editing where you change material items 2 and 3. In the recipe, the change state valid on the key date is changed over its entire validity period. The formula is edited for change number C3 of the recipe change state loaded. This means that a new change state with change number C3 and 06/11 as the valid-from date is created for material item 2. In the formula header and material item 3, no new change state is created since a change state with change number C3 already exists for them. The changes made to material item 3 are valid for this change state.

You notice that the changes made with change number C3 must already take effect in May. For this reason, you replace the valid-from date 06/11 in the relevant change master record with 05/01 . The valid-from date of all change states to which the change number has been assigned is now shifted to 05/01. The validity period of the preceding change states ends on 04/30.