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

diff b/w RFC and function module

Former Member
0 Likes
812

Hi,

what's the difference b/w RFC and function module?

Regards,

bala.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
764

function module can be called within the system.

rfc can called from remote system

7 REPLIES 7
Read only

Former Member
0 Likes
764

everything is same except that RFC can be called from a non SAP system(remote system) but normal function module can NOT.

Regards,

srikanth

Message was edited by: Srikanth Kidambi

Read only

Former Member
0 Likes
765

function module can be called within the system.

rfc can called from remote system

Read only

0 Likes
764

RFC is the protocol used to call functions in an R/3 system by a caller external to R/3 or to call programs external to R/3 from an R/3 system.

Functions can only be called via RFC, if they are tagged as RFC functions in the SAP development workbench. They are then called RFC function modules.

A remote function call (RFC) is the call of a function module that runs in a different system to the calling program

also refer this link

http://www.planetsap.com/RFC.htm

regards

Vivek

reward points if this helps

Read only

0 Likes
764

RFC is just a FM that can be called from remote system too(destination defined in transaction SM59).

u create rfc function same as normal function only one diffrence is one radio button click which is rfc enabled function when we create fm.

RFC or RFC destination means you define (in transaction SM59) a remote destination, usually to another SAP system

Read only

uwe_schieferstein
Active Contributor
0 Likes
764

Hello Krithika

The interface of an RFC-enabled function module differs from a "normal" function module in that all parameters must be typed (to DDIC types) and passed "by value" (flag set for parameter in function module interface).

Regards

Uwe

Read only

anversha_s
Active Contributor
0 Likes
764

hi,

RFC - > FM used to comunicate btwn SAP and NON sap systems

eg: BAPI.

WEBSITE to R/3 like tht.

Function module(FM) -> used to communicate with in SAP system.

rgds

anver

if hlped mark points

Read only

Former Member
0 Likes
764

hi,

RFC is a function module, but it is remote enabled meaning it can be invoked from other(remote) systems.

when creating a function module u can make it remote enabled by choosing radiobutton in the attributes.

to call a Remote enabled FM, we do like this

call function '<FM name>' destination '<logical systemsname of partner>'.

RFC concept is very useful in ALE,EDI,also in BAPI where u can access a funtion in SAP from a legacy system also.