A default value can be assigned to a parameter of a search help.
The following default values are allowed:
- Constants, which are enclosed in apostrophes when they are defined in the maintenance screen. The constant must be defined in internal representation for parameters whose data type has an editing template (such as date and time). For example, the date 01.03.1998 must be defined as ‘19980301’.
- System fields, i.e. fields of structure SYST, where the prefix SY- can be used in place of the prefix SYST-.
- Get parameter IDs, with which the parameter is assigned values from SAP memory.
The parameter is assigned the default value in the input help process in the following cases:
- If the parameter is not an import parameter.
- If nothing was assigned to the parameter in the search help attachment with which the search help was attached to the screen field.
- If a field that does not exist in either the screen or the flow logic in the input help process was assigned to the parameter in the search help attachment.
- If a search help is included in a collective search help and the parameter is not linked to any parameter of this collective search help.