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

RFC func module

Why canot all the Function modules be made as RFC enabled,

what could be the problem?

Discuss 😊

-M

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2005 at 12:11 PM

    Hi, there is some restriction on the RFC function module.

    E.G. the parameter of them should be 'pass value'. Because the refenrence of value can't be transfer in the network.

    You'd better aware that the RFC function module is mainly in order to prepare be call remotely, not local.

    So if you don't want a function module be called remotely, no need to set it to be RFC.

    The function type should be decided according to business requirement.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2005 at 12:17 PM

    Because RFC calls have restrictions and I don't want to have restrictions all the time. Feedback in case of RFC is much more complicate, read!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2005 at 12:17 PM

    Hi Mano,

    maybe for security reasons. (to limit the visibility of certanin FM from outside SAP, those who are not RFC enabled I mean).

    An external program could have rights to access (via RFC FM) to a certain FM, but others FM could be designed for internal use only.

    This is the first reason i can think.

    Regards, Manuel

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      <i>You'd better aware that the RFC function module is mainly in order to prepare be call remotely, not local.

      So if you don't want a function module be called remotely, no need to set it to be RFC.

      The function type should be decided according to business requirement.</i>

      We can use it localy, how do SAP know that particular FM is not used remotely, i might still need a FM which should be RFC enabled.

      I buy Mauel's point though.

      Any more?

      - M

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2005 at 12:58 PM

    Hi, Mano Sri

    As you mentioned, you want to create a FM as RFC.

    But why? If not RFC, does it goes well too?

    But for some function module, e.g. BAPI, they prepare to be called remotely even when they were be created.

    Set a function module to be RFC, maybe restriction on it.

    If you want you function has many extensible mechanism, except remotely call, why you still set it as RFC?

    Another fact is when you create a function in se37, the default function type is not RFC, please aware. it is the SAP recommendation, why?

    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.