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: 

RFC Function Module - Message Reference parameters are not allowed with RFC

Former Member
21,616

Hi,

I’ve checked the Remote-Enabled Module radio button, declared Import and Export parameters using ‘Type’ typing and checked the ‘Pass Value’ in export and import parameters but I still receive message ‘Reference parameters are not allowed with RFC’ and not able to activate the function module.

Am I missing something?

Regards,

...Naddy

1 ACCEPTED SOLUTION

5,283

Hi all,

               I faced the same problem and solved it ,

You have defined a reference parameter for a remotely called

  function module. However, only value parameters are allowed

  for this type of module.

  Procedure

  Change the reference parameter to a value parameter.

Guys  pls .don't leave the thread un-asnwered when you solved problem , post the solution it might be useful for others also.

Regards

Krishna Acharya

13 REPLIES 13

Former Member
0 Kudos
5,283

Hi,

Try for instead of types give like.

REgards

SRinivas

Edited by: ramesh on Mar 18, 2008 12:23 PM

Former Member
0 Kudos
5,283

Try to activate wholw function group.

reward if useful

S@meer

Former Member
0 Kudos
5,283

Hi,

Go in Import & Export Click on check box.

Regards,

Mehul Shah.

Former Member
5,283

Hi

I have tried to create a remote enabled function with a import and export parameter both pass Value type

The FM was activated succesfully the prob is something else.

Post the error u get as u try to activate the FM.

0 Kudos
4,540

HI 

The given solution is usful

thanks

Former Member
0 Kudos
5,283

Solved by myslef.

Former Member
5,283

hi Naddy naddy,

How you solved the error.

regards

Ankit

0 Kudos
5,283

i do not remember how I solved because it was nearly 5 yesrs ago.

but, I can try now if you tell me what you've tried.

...Naddy

5,284

Hi all,

               I faced the same problem and solved it ,

You have defined a reference parameter for a remotely called

  function module. However, only value parameters are allowed

  for this type of module.

  Procedure

  Change the reference parameter to a value parameter.

Guys  pls .don't leave the thread un-asnwered when you solved problem , post the solution it might be useful for others also.

Regards

Krishna Acharya

zaberca_david
Explorer
5,283

For anybody that still looks for an answer to this.

Check "Pass Value" column for each parameter.

David

5,283

You don't need to post another answer if the "best answer" contains the same information ("Change the reference parameter to a value parameter.") Or if you consider it's unprecise (missing information "checkbox pass by value"), add a comment below the answer (it will be more visible).

5,283

Thanks a lot. Pass value help.

5,283

Thanks very much for this, Zaberca. My parameters all seemed to be correctly defined, but I was still getting the error, but it activated after checking the Pass Value boxes. As is often the case, this SAP error message did not fully explain the reason.