Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

reference variables inside a remote FM

Former Member
0 Kudos
122

Hi,

Can anyone explain me why I can't use reference variables inside a remote Function Module.

How can then create a dynamic table.

And how can I return back a dynamic table?

Thanks.

1 ACCEPTED SOLUTION

ThomasZloch
Active Contributor
0 Kudos
67

Passing by reference requires that both caller and callee can access a common memory area. This is not applicable during a remote function call, where caller and callee are in separate systems. Thus, only passing by value is supported.

Thomas

2 REPLIES 2

ThomasZloch
Active Contributor
0 Kudos
68

Passing by reference requires that both caller and callee can access a common memory area. This is not applicable during a remote function call, where caller and callee are in separate systems. Thus, only passing by value is supported.

Thomas

0 Kudos
67

Thanks Thomas.

Ok, in general we can't use a reference variable because both application or systems are on separate adress-spaces, therefore it's not possible.

If the kernel was designed for that it could be possible, am I right?