Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

ASSIGN - LOCAL COPY - Quick reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


ASSIGN LOCAL COPY 
  OF { {[INITIAL] { dobj[+off][(len)]
                  | (name)
                  | oref->(attr_name)
                  | {class|(class_name)}=>{attr|(attr_name)}
                  | dref->* } }
     | {INITIAL LINE OF {itab|(itab_name)}} }
  TO <fs>
  [CASTING ...].

Effect

Obsolete

Additions

Specifies the memory area

  • Additions other than LINE OF - See ASSIGN.
  • LINE OF itab|(itab_name) - Copy of a row of an internal table itab.

Specifies the content

  • INITIAL
    Initializes the anonymous data object. Otherwise, the content of the memory area is used.

Specifies the data type

  • CASTING ...
    Specifies the data type used to handle the memory area. See ASSIGN.