cancel
Showing results for 
Search instead for 
Did you mean: 

RFC func module

Former Member
0 Kudos

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

what could be the problem?

Discuss

-M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (3)

Answers (3)

Former Member
0 Kudos

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?

manuel_bassani
Contributor
0 Kudos

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

Former Member
0 Kudos

<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

christian_wohlfahrt
Active Contributor
0 Kudos

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!