Application Development 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: 

FM Vs RFC , FI related query.

Former Member
0 Kudos
107

Hi Friends,

Can any one lte me know what exactly is the difference between Function module & Remote Function Module.

Can any one let me know some links that show light on FI scenario and tables.

Regards,

Roby.

4 REPLIES 4

suresh_datti
Active Contributor
0 Kudos
46

Hi,

A remote function module can be called from an external system. Any function module that has the 'Remotely callable' attribute set is an RFC.

Regards,

Suresh Datti

0 Kudos
46

Hi Suresh,

Thank you ,That is the basic difference we can find out between those two.

My question is some thing like can we use raise statments in a RFC . if so how do we handle it .

let me know .

Regards,

Roby

Former Member
0 Kudos
46

u have created a Function module in Dev system as RFC. This fm is transported to Quality/Prod.

Now, from Dev system ur executing this FM which is RFC. Write a program and call this FM in the program & accordingly, check the internal tables or sy-subrc & u can give the exceptions or error messages.

Former Member
0 Kudos
46

Hi roberts,

1. Normal FM

It runs in the same system,

in which it is called (thru abap code)

Remote FM.

It runs in ANOTHER system,

rather than, in which it is called (thru abap code).

(The OTHER System is specified using

DESTINATION keyword)

2. When we call RFC,

its NOT EXECUTED IMMEDIATELY,

(sap stores the information

and then executes if a little afterwards)

Hence, we cannot know

what has happened

in our abap code, immediately !

regards,

amit m.