... DEFAULT val1 [TO val2] [OPTION opt] [SIGN
sgn]
What does it do? This addition defines start
values for the columns in the first row of the
selection table . Without the addition
DEFAULT , initial values of the
corresponding type are used as start values.
val1 and val2 are used to define start values for
columns low and high . These start values can either be
specified as literals or as previously defined data objects. If the data
type of the specified start values does not match the data type of the
columns, these are converted according to the conversion rules.
The addition OPTION is used to define the start value for the
option column. If the addition TO is not specified, one of
the expressions eq , ne , ge , gt , le ,
lt , cp , or np must be specified directly for
opt . If the addition TO is specified, either specify bt
or nb must be specified. If the addition OPTION is not
used, the content of the option column is set to " "EQ" bzw.
"BT" . If specify cp or np are specified, the start
value in val1 must contain at least one of the wildcard
characters " * " or " + " when data is passed to the selection
table, otherwise the program terminates.
The addition SIGN is used to define the start value for the
sign column. Either i or e must be specified
directly for sgn . If the addition SIGN is not used, the
content of column sign is changed to "I" .
The times at which the start values are passed to the first position
in the selection table are processed in the same way as with the
addition DEFAULT to the PARAMETERS
statement. If the selection table is not empty when the data is
passed, the start values are not passed to the first position. Only the
header line in the selection table is
filled with these values, which does not influence the
selection criterion .
Latest notes: The associated input fields on the
selection screen are only filled
with the start values if the first row in the selection table is not
changed before the selection screen is sent. The system displays the
value contained in the selection table when the event
AT SELECTION-SCREEN OUTPUT has
been processed. Start values for multiple selection can only be defined
by inserting rows in the selection table.
When start values are specified, these must have the internal format
of the ABAP values, and not the output format of the screen display.
ABAP_ADDITION_2 ... LOWER CASE
What does it do? This addition prevents the content of character-like
fields from being converted to block capitals when the data is
transported from the input fields on the selection screen to the
selection table.
ABAP_ADDITION_3 ... MATCHCODE OBJECT search_help
What does it do? This addition links the input fields for the selection
criterion to a search help search_help from the ABAP Dictionary.
The name of the search help must be specified directly. The addition has
the same effect on the input fields as when it is used with a
PARAMETERS statement for an input
field for a parameter.
ABAP_ADDITION_4 ... MEMORY ID pid
What does it do? This addition links the first input field to a
SPA/GPA parameter in the
SAP Memory . The ID pid of the
SPA/GPA parameter must be specified directly and it can contain a
maximum of 20 characters. The addition has the same effect on the first
input field as when it is used with a
PARAMETERS statement for an input field for a parameter.
If the specified ID pid is not in the database table TPARA
, the extended program check reports an error.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved