top of page
blank.png
Search

ABAP tricks #26/100: šŸ˜€ REF Operator

ā€¢Ā TheĀ REFĀ operator creates aĀ data reference variableĀ pointing to a specified data object.


ā€¢Ā Sometimes it is necessary to pass a parameter to a method in the form of a data reference. This normally involves declaring a reference variable with type REF TO DATA, then using the GET REFERENCE OF dobj INTO dref statement. The new REF operator condenses this coding into a single expression.Ā 


ā€¢Ā The REF operator replacesĀ GET REFERENCE OFĀ and is particularly useful for avoiding the declaration of helper variables that are only necessary to specify data reference variables as actual parameters.



Please share with your ABAP friends and follow us.

If you want to dive deeper, visit our course https://lnkd.in/d42HfjDh



Ā 
Ā 
Ā 

Comments


bottom of page