Skip to content

ABAP Keyword Documentation →  ABAP - Short Reference 

WRITE - Short Reference

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