Ansicht
Dokumentation
ABAPASSIGN_SHORTREF - ASSIGN SHORTREF
ABAP Short Reference Addresses (Business Address Services)This documentation is copyright by SAP AG.
ASSIGN
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:
- dobj$[+off$]$[(len)$] - Data object dobj or its subarea off(len).
- (name) - Data object contained in name.
- TABLE FIELD - Obsolete: Restricts the search for the data object (contained in name) to interface work areas declared using the TABLES statement.
- dref->* - dereferenced reference variable.
- dobj INCREMENT inc - Area that is incremented inc times by the length of dobj.
- COMPONENT comp OF STRUCTURE struct - Component comp of a structure struc.
- oref->(attr_name) - Attribute of an object referenced by oref, specified in attr_name.
- class$|(class_name)=>attr$|(attr_name) - Static attribute attr of the class class, where the attribute and class can also be specified as the content of attr_name and class_name.
Specifies the data type:
- CASTING
Specifies the data type used to handle the memory area:
TYPE type$|(name) - Data type type, which can also be specified as the content of name.
LIKE dobj - Data type of data object dobj.
$[TYPE p$] DECIMALS dec - Data type p, with decimal places specified in dec.
TYPE HANDLE handle - Data type described by the type description object of RTTS that handle points to.
- $[TYPE name$] DECIMALS dec
Obsolete: Casting to an elementary ABAP type in name or to the decimal places in dec.
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 )