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: 

A problem while creating RFC function

Former Member
0 Kudos

Hello experts:

Thank you in advance for all your replies.

The system always pops up saying "reference parameters are not allowed with RFC" when clicking check button to check the RFC function's usefulness. Would you please explain it by an example ?

couldn't thank you more.

Best regards.

Frank

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

For a remote function module all export/import parameters should be passed by value (and not by reference). This means that the parameter will always have value assingned by the FM on completion of processing.

To get rid of error message that you get while creating an export or import parameter of an RFC, check the box 'Pass Value' on the screen where you create the parameter. (It is after the checkbox for 'Optional Parameter'.

1 REPLY 1

Former Member
0 Kudos

Hi,

For a remote function module all export/import parameters should be passed by value (and not by reference). This means that the parameter will always have value assingned by the FM on completion of processing.

To get rid of error message that you get while creating an export or import parameter of an RFC, check the box 'Pass Value' on the screen where you create the parameter. (It is after the checkbox for 'Optional Parameter'.