Skip to content

ABAP Keyword Documentation →  ABAP − Short Reference 

WRITE TO - Short Reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


WRITE {source|(source_name)} TO destination 
  [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].

Effect

Formats the content of a data object specified either statically as source or dynamically in source_name and writes it to the variable destination.

Additions