F2 (AT LINE-SELECTION
The addition ...HOTSPOT has no effect on
... INPUT [ON] or ... INPUT OFF
Determines whether the user can enter data. You can
change the contents of list lines output with the format ...
INPUT on the screen. You can also print out the change or process
it further by using READ LINE in
... INPUT OFF reverses the ready for input status.
Every time a new event ( START-OF-SELECTION ,
TOP-OF-PAGE , ...) is started, the system setting reverts to
... INPUT .
The additions ... COLOR , ... INVERSE and
... HOTSPOT have no effect on input fields.
The addition ... INTENSIFIED affects the background color
(color palette "input field" or "output field intensified").
The attribute ... INPUT causes lines to
be displayed character-by-character and ready for input ( | or
Resets all formats (color, intensified, inverse, hotspot
This corresponds to the command:
FORMAT COLOR OFF INTENSIFIED OFF INVERSE OFF HOTSPOT OFF INPUT OFF.
FORMAT INTENSIFIED INPUT.
WRITE 5 'JOHN'.
FORMAT INPUT OFF.
WRITE 40 'CARL'COLOR COL_GROUP.
produces the following output:
ready for input: <------->
From the beginning of the line to the last character of
'JOHN' , the list is ready to accept input and is thus displayed
in intensified form.
From column 9 (i.e. after the 'N' of of 'JOHN' ), the list
line is also intensified but no longer ready for input.
'CARL' is output from line 40, together with a colored bar
(color COL_GROUP = 7 from the palette "color intensified"). The
script color is the color "output field intensified" (ProtInt). The
intensified line display ends with the last character of 'CARL' .
If the formats apply only to the output of a single field,
you can set the same (and other) parameters as additions to the
If you want to display different formats on the screen, there are no
reserved characters, i.e. you may output 2 fields with different
formats one directly after the other (without gaps).
You can also set the static additions ON , OFF and
n (for COLOR ) dynamically with = var which always
interprets the contents of var as a number. Values other than zero are
used as ON or color number, zero works like OFF .
For color numbers less than zero or greater than 7, the result is not
Recommended data type: I(nteger)
DATA C TYPE I VALUE 5.
FORMAT INTENSIFIED ON COLOR = C.
© SAP AG 1996