‎2012 Oct 10 1:14 PM
Hi
I am new to abap. I know what is pass by value and pass by reference concepts but I need to understand this only with a function module.
Could any one please let me know how the above is done only using a function module in abap with an example?
regards
krishna
‎2012 Oct 10 1:28 PM
Hi,
In abap, 2 ways to send or receive the importing and exprting parametrs
Pass by value normally not used In NORMAL function modules, it is used in RFC Enabled,
RFC Enabled have slower perofrmance than normal.
For pass by reference :- it is preferable
here instead of passing value, we are passing the memory address.
if value changed inside FM,the change happen in the memory address.so in effect in main program also.
read this for further concept
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm
Thanks
Gourav.