17. Selectioon screens and user messages Flashcards
Selection table
Selection criteria for each item on a selection screen are stored in a selection table. Selection
tables are system-generated internal tables
Standard field format for selection tables
Sign, option, low, high
SIGN
This field indicates whether the current row of the table is inclusive or exclusive. Each row of the internal table represents a particular condition. The overall condition specified by the selection table is the union of lines marked with sign I (inclusive), less the union of lines marked with sign E (exclusive).
OPTION
This field holds the relational operator for the current row of the selection table (i.e.., “EQ” for =)
LOW
This field holds the low value for range comparisons. If the comparison is against a single value, this field contains that value.
HIGH
This field holds the high value for range comparisons. If the comparison is against a single value, this field is left blank.
NO-EXTENSION option
When the NO-EXTENSION option is used, the user will not see the arrows pointing to the right at the far right.
NO INTERVALS option
When this option is utilized there will be no FROM … TO choices. The NO INTERVALS option may be used in conjunction with the NO-EXTENSION option. (used with SELECT-OPTIONS).
REJECT statement
The REJECT statement unconditionally terminates the current event processing block. It is normally used with a logical database program. REJECT skips any remaining processing for the current record (and any associated records at lower database levels). Processing resumes with the next record at the same database level.
PARAMETERS statement
The PARAMETERS statement creates a single entry field on the selection screen. It also creates a variable in your program with the same name. The value placed into the field at run-time by the user is also placed into the variable.
PARAMETERS statement options
DEFAULT, LOWER CASE, OBLIGATORY
AS CHECKBOX clause
To create a parameter as a checkbox, use the AS CHECKBOX clause.
RADIOBUTTON GROUP
To create parameters as radio buttons, use the RADIOBUTTON GROUP clause. The parameter will automatically be defined as type C and length 1
MATCHCODE OBJECT
To attach a Search Help to a parameter field, use the MATCHCODE OBJECT clause.
SELECTION-SCREEN SKIP
This option will generate blank lines on the screen