Application Development and Automation 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: 
Read only

reference variables inside a remote FM

Former Member
0 Likes
468

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
Read only

ThomasZloch
Active Contributor
0 Likes
413

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
Read only

ThomasZloch
Active Contributor
0 Likes
414

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

Read only

0 Likes
413

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?