top of page
blank.png
Search
Writer's pictureSmart Logic Academy

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



36 views0 comments

Commentaires


bottom of page