Selection Screen Formatting
- SELECTION-SCREEN SKIP
- Syntax: SELECTION-SCREEN SKIP [<n>].
- Generates <n> blank lines, where <n> = 1..9, 1 is default.
- SELECTION-SCREEN ULINE
- Syntax : SELECTION-SCREEN ULINE [<format>] [MODIF ID <key>].
- Generates an underline.
- <format> is [[/]<pos>](<len>): "/" generates a new line and therefore is not allowed inside BEGIN OF LINE...END OF LINE.
- (<len>) without <pos> uses current position and only allowed inside BEGIN OF LINE...END OF LINE.
- <pos> can be a number (in this case it is relative to the frame if inside BEGIN OF BLOCK WITH FRAME...END OF BLOCK) or POS_LOW|POS_HIGH.
- SELECTION-SCREEN COMMENT
- Syntax : SELECTION-SCREEN COMMENT <format> <text> [FOR FIELD <f>|<selopt>] [MODIF ID <key>].
- Writes <text>.
- text symbol text-<nnn>;
- A field name with a maximum length of 8 characters. This character field must not be declared with (for example) the DATA statement, but is generated with length <len> automatically and must be filled dynamically during the INITIALIZATION.
- FOR FIELD option has as a result, if the user requests help on the comment on the selection screen, the help text for the assigned field is displayed.
- SELECTION-SCREEN BEGIN OF LINE
- Syntax :
SELECTION-SCREEN BEGIN OF LINE.
...
SELECTION-SCREEN END OF LINE.
- Places several elements on a single line. Note that the selection text (name of the parameter or text element) is not displayed when this option used. To display a selection text COMMENT option must be used.
- SELECTION-SCREEN POSITION
- Syntax : SELECTION-SCREEN POSITION <pos>.
- <pos> can be a number (in this case it is relative to the frame if inside BEGIN OF BLOCK WITH FRAME...END OF BLOCK) or POS_LOW|POS_HIGH.
- SELECTION-SCREEN BEGIN OF BLOCK
- Syntax :
SELECTION-SCREEN BEGIN OF BLOCK <block> [WITH FRAME
[TITLE <text>]] [NO INTERVALS].
...
SELECTION-SCREEN END OF BLOCK <block>.
SELECTION-SCREEN END OF BLOCK <block>.
- Creates a logical block. Blocks can be nested. Only 5 blocks with frames can be nested. NO INTERVALS displays all SELECT-OPTIONS within the block as with NO INTERVALS addition; inherited by subordinate blocks with frames and does not by subordinates blocks without frames.
No comments:
Post a Comment