Defining Default Values for Input Fields 
Functions: |
Restrictions: |
| SET/GET Parameters |
Application developers must use the Screen Painter to set the attributes Set Parameter and Get Parameter for all input fields for which you want to define default values. |
| Transaction Variants and Screen Variants |
May only be used with dialog transactions |
| Selection Variants |
May only be used with selection screens |
| Parameter Transactions |
The default values selected are only valid on the initial screen of the dialog transaction |
| GuiXT |
None |
Combinations of the Methods Listed Above
The following rules apply when combining the functions listed above:
Default values from transaction or screen variants are given priority if the variant hides a field or revokes its ready for input status. These values also have priority if SET parameter is used to set an initial default value (SPACE, for example). As far as fields are concerned that are ready for input, however, default values of SET parameters have priority since these may be based on user entries, for example.
Default values from selection variants always have priority as long as they are not initial.

With initial values you can select Switch off SET parameter/GET parameter during variant maintenance. This inserts the initial value from the variant, otherwise SET parameter values retain priority.
Default values are only set using GuiXT if the field in question has an initial value. This is true for regardless of whether the value has been set using a transaction, SET/GET parameters, or a variant.