Ansicht
Dokumentation

ABAPASSIGN_SHORTREF - ASSIGN SHORTREF

ABAPASSIGN_SHORTREF - ASSIGN SHORTREF

ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

ASSIGN

Reference



Syntax

ASSIGN { dobj[+off][(len)]
       | [TABLE FIELD] (name)
       | dref->*
       | {dobj INCREMENT inc}
       | {COMPONENT comp OF STRUCTURE struc}
       | oref->(attr_name)
       | {class|(class_name)}=>{attr|(attr_name)} }
  TO <fs>
  [ { CASTING [ {TYPE type|(name)}
              | {LIKE dobj}
              | {[TYPE p] DECIMALS dec}
              | {TYPE HANDLE handle} ] }
  | { {TYPE name}
    | {[TYPE name] DECIMALS dec} } ]
  [RANGE range].


Effect

Assigns a memory area to a field symbol <fs>.

Additions

Specifies the memory area:

  • (name) - Data object contained in name.
  • dref->* - dereferenced reference variable.
  • oref->(attr_name) - Attribute of an object referenced by oref, specified in attr_name.

Specifies the data type:

Restricts the memory area:

  • RANGE range
    Restricts the assignable memory area to the data object range.





SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5368 Date: 20240329 Time: 002856     sap01-206 ( 72 ms )