ABAP Keyword Documentation → ABAP - Short Reference
WRITE - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
WRITE {[AT] [/][pos][(len||*)]} dobj
[UNDER other_dobj]
[NO-GAP]
[LEFT-JUSTIFIED|CENTERED|RIGHT-JUSTIFIED]
{ { [EXPONENT exp]
[NO-GROUPING]
[NO-SIGN]
[NO-ZERO]
[CURRENCY cur]
{ { [DECIMALS dec]
[ROUND scale] }
| [UNIT unit] } }
| { [ENVIRONMENT TIME FORMAT]
[TIME ZONE tz] }
[STYLE stl] }
[USING { {NO EDIT MASK}|{EDIT MASK mask} }]
[DD/MM/YY|MM/DD/YY|DD/MM/YYYY|MM/DD/YYYY|DDMMYY|MMDDYY|YYMMDD]
[COLOR { { { { COL_BACKGROUND
| {1 | COL_HEADING }
| {2 | COL_NORMAL }
| {3 | COL_TOTAL }
| {4 | COL_KEY }
| {5 | COL_POSITIVE }
| {6 | COL_NEGATIVE }
| {7 | COL_GROUP } } [ON] }
| OFF}
| {= col} }]
[INTENSIFIED [{ON|OFF}|{= flag}]]
[INVERSE [ {ON|OFF} | {= flag} ]]
[HOTSPOT [ {ON|OFF} | {= flag} ]]
[INPUT [{ON|OFF}|{= flag}]]
[FRAMES [{ON|OFF}|{= flag}]]
[RESET]
{ [AS CHECKBOX]
| [AS ICON]
| [AS SYMBOL]
| [AS LINE] }
[QUICKINFO info].
Effect
Formats the content of the data object dobj
and writes it to the current list.
Additions
-
[AT] [/][pos][(len|*|**)]
Specifies the line feed/
, the horizontal positionpos
, and the lengthlen|*|**
of the output. -
UNDER other_dobj
Positions the output in the current line at the position where the data objectother_dobj
was in the output of a previousWRITE
statement. -
NO-GAP
Positions the list cursor directly after the output and not in the next but one position of the list buffer. -
LEFT-JUSTIFIED
, ...,YYMMDD
As with the statementWRITE TO
but with reference to the output area of the list. -
COLOR
,INTENSIFIED
,INVERSE
,HOTSPOT
,INPUT
,FRAMES
,RESET
As with the statementFORMAT
but with reference to the current output. -
AS CHECKBOX
Produces a one-character checkbox which is ready for input. -
AS ICON
Produces an icon ifdobj
contains the corresponding internal representation. -
AS SYMBOL
Produces a symbol ifdobj
contains the corresponding internal representation. -
AS LINE
Produces a line element ifdobj
contains the corresponding internal representation. -
QUICKINFO info
Assigns a tooltip to the output.