Assigning a Date Calculation Variable

Prerequisites

To use a selection variable for date calculation, you must have defined a date field as a selection criterion or parameter in the relevant program.

Procedure

  1. Open the initial screen for maintaining variants.

    For more information, see Calling the Initial Screen.

  2. In the Variant field, enter the name of the appropriate variant.
  3. In the Subobjects group box, select the Attributes radio button.
  4. Choose  Change.

    The Variant Attributes screen for the selected variant appears.

    For more information, see Variant Attributes.

  5. In the Selection variable column, press F4 and choose a type of selection variable.

    A dialog box appears, listing the possible types for the selected field.

  6. Select type D for dynamic date calculation and choose  with the quick info text Continue.
  7. In the Name of Variable column, choose the F4 help.

    All possible date calculations are displayed in a new dialog box.

  8. Select an entry and choose  with the quick info text Continue.

    You return to the attributes screen.

  9. On the Variant Attributes screen, choose  with the quick info text Save.

Result

You have assigned a variable to a variant for date calculation and saved it.

To make further specifications for date calculations, you can choose Selection Options on the selection variable screen.