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

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

Former Member
25,379

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

9,046

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

Former Member
0 Likes
9,046

Hi,

Try for instead of types give like.

REgards

SRinivas

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

Read only

Former Member
0 Likes
9,046

Try to activate wholw function group.

reward if useful

S@meer

Read only

Former Member
0 Likes
9,046

Hi,

Go in Import & Export Click on check box.

Regards,

Mehul Shah.

Read only

Former Member
9,046

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.

Read only

0 Likes
8,304

HI 

The given solution is usful

thanks

Read only

Former Member
0 Likes
9,046

Solved by myslef.

Read only

Former Member
9,046

hi Naddy naddy,

How you solved the error.

regards

Ankit

Read only

0 Likes
9,046

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

Read only

9,047

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

Read only

zaberca_david
Explorer
9,046

For anybody that still looks for an answer to this.

Check "Pass Value" column for each parameter.

David

Read only

9,046

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).

Read only

9,046

Thanks a lot. Pass value help.

Read only

9,046

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.