‎2015 Jun 08 11:47 AM
Hello Gurus,
I am trying to import / export / change an internal table through ABAP method in a local class. How do i control if the internal table is passed by reference or value.
Since the internal table is big, i do not want it to be copied to every method i pass it to. For global classes i find the option of 'pass by value' or 'reference'. How do i do the same in local class?
.
Could you please help me with an example, which provides best performance.
Thanks in advance,
‎2015 Jun 08 11:50 AM
Hi,
as long as you dont write "value()" in the method description it is passed by reference.
Regards
Stefan Seeburger
‎2015 Jun 08 11:50 AM
Hi,
as long as you dont write "value()" in the method description it is passed by reference.
Regards
Stefan Seeburger
‎2015 Jun 09 7:18 AM
HI Rojer,
use method parameter (import, export & changing etc ) and value() for pass by value for performance