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.
PARAMETERS DATE LIKE SY-DATUM.
For more information, see Calling the Initial Screen .
The Variant Attributes screen for the selected variant appears.
For more information, see Variant Attributes .
A dialog box appears, listing the possible types for the selected field.
All possible date calculations are displayed in a new dialog box.
Use only the F4 help to enter data in the Name of Variable column.
If necessary, enter the required values. To subtract days, you must enter them in the format of a number with a minus sign in the last position (for example 10-).
You cannot change the proposals in the list, nor can you add new proposals.
Here you can also specify the selection options for the date calculation.
You return to the attributes screen.
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.