Skip to Content
author's profile photo Former Member
Former Member

Regarding RFC

HI ,

I have devloped a function module and the i have used the parameters in the source code which are declared as import and export parameters with some local structure and table declaration,

I am also using a select on some custom table which is not used in the table s parameter.

if i change the fucntion module to Rfc ane error starts appearing saying '

refrence parameters are not allowed with RFC.

could u provide solution for same.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:19 AM

    You must change attributes of parameters from pass by reference to pass by value

    While using RFC you cannot pass values by reference

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:21 AM

    Hi Saurabh,

    the EXPORT parameter should be PASS BY VALUE. The check box Pass Value should be checked.

    Best regards,

    raam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:23 AM

    Hello Saurabh,

    In order to enable a FM as Remotely callable, it is necessary that the parameters in the interface are of "Pass Value" in nature.

    Hope this solves your problem.

    With Regards

    Vijay Gajavalli

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:23 AM

    Hi, Just check the checkbox Pass value for your FM parameters.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:27 AM

    hi,

    Let's say you want to have an Import Parameter Name to be created.

    For this first createa a Data Element, ZName in SE11.

    Assign this Data Element in the Import Parameter tab in the 2nd column which is Ref. field/Structure. You need not provide anything else.

    Hope this helps........

    regards,

    praveena.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.