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: 

error while creating import parameters in RFC function module

kasithunuguntla
Participant
0 Kudos

Hi,

I am trying to create import parameter in RFC enabled function module and getting the following error "Reference parameters are not allowed with RFC". Am I doing something wrong.

Your earlier response is much appreciated

Regards

Kasi

1 ACCEPTED SOLUTION

sunilachyut
Contributor
0 Kudos

There is a "Pass by Value" checkbox, just check that and you wont get the error. The basic reason behind is since an RFC is called by a different system the parameters have to be sent as values than as references.

hith

Sunil Achyut

3 REPLIES 3

sunilachyut
Contributor
0 Kudos

There is a "Pass by Value" checkbox, just check that and you wont get the error. The basic reason behind is since an RFC is called by a different system the parameters have to be sent as values than as references.

hith

Sunil Achyut

Former Member
0 Kudos

Check the PASS BY VALUE check box. PASS BY REF is not allowed in the RFC enabled function modules.

Regards,

Ravi

Note : Please mark all the helpful answers

LucianoBentiveg
Active Contributor
0 Kudos

You can pass paramters by referens to RFC Function module, becose, Function module executes in other system.

You need to check flag "Traspsing values" for all fields in "Importing".

Regards.