‎2008 Apr 01 8:04 AM
Hi Buddies,
what is the difference between RFC and Function Module?
thanks
soni
‎2008 Apr 01 2:14 PM
Hi,
RFC is Remote Function Call which can be used to execute
the function module on remote system to get the required
data.To call the function module remotely,we have to enable
the remote call radio button located in the attribute of
the function module.
Normal function module is one which can be used to
execute the function module in the local system to get the
required data.
RFC stands for REMOTE FUNCTION CALL RFCs are used to
establish a connection between two different application
servers rfc used for accessing functions of a function
module in a function group present on different application
servers with in a landscape i.e., for transfer of data
directly between source and target client on remote systems
in sap system landscape.
in sap basis rfc is used for remote client copies.
Tcode RFC- sm59 display/maintain
FUNCTION MODULE contains functions in particular to a module
like finance , HR , MM....... .Function module is always
created under function group. one group can contain one or
more function modules a function module can be accessed from
remote system where u can call it as RFC call.
u create function module in following way
1.tcode- sm37
2.create a function group
3.activate the function group
4.create the function module
5. activate the function module
6. access the function module
RFC, to connect two different SAP Servers to transfer data
bt normal function calls r like subroutines to access
within the sysetm.
Thanks®ards,
Sravani,
‎2008 Apr 01 8:08 AM
Hi,
RFC is also a function module but the main difference is that you can call a RFC from other SAP systems or non SAP systems
(java VB) and you cannot call a normal RFC from other SAP systems and non SAP systems.
Reward points if it helpful.
Thanks,
Prasanna
‎2008 Apr 01 8:14 AM
‎2008 Apr 01 8:17 AM
Difference between FM & RFC:
RFC is also a functional module but it is remote enabled. Means from one system you can execute the RFC in another system. To make a FM RFC you have to take care of the following thisng:
1. you can convert a normal FM remote enabled by clicking the radiobutton remote-enabled module in the attribute of the FM.
2. You have to pass all the parameters by 'Pass by value'. While in case of normal FM (Not RFC) you can pass the parameters by 'Pass by referance also'.
3. While calling a RFC you have to pass a parameter 'Destination' which specify the destination where the Module will be executed.
Reward if useful
Richa
Edited by: Richa Khosla on Apr 1, 2008 11:01 AM
‎2008 Apr 01 9:48 AM
Hi
You have still not got the answer.
Let me explain..
RFC- Remote Function Call
Its a Function module which can be called from SAP systems only ie portal but not from non sap systems(java VB)
and normal FM can only be used in ABAP Programs , cannot be called from Portal
BAPI- are also RFC's which can be called form SAP as well as non sap systems.
Please reward points
Regards
‎2008 Apr 01 11:53 PM
‎2008 Apr 01 2:14 PM
Hi,
RFC is Remote Function Call which can be used to execute
the function module on remote system to get the required
data.To call the function module remotely,we have to enable
the remote call radio button located in the attribute of
the function module.
Normal function module is one which can be used to
execute the function module in the local system to get the
required data.
RFC stands for REMOTE FUNCTION CALL RFCs are used to
establish a connection between two different application
servers rfc used for accessing functions of a function
module in a function group present on different application
servers with in a landscape i.e., for transfer of data
directly between source and target client on remote systems
in sap system landscape.
in sap basis rfc is used for remote client copies.
Tcode RFC- sm59 display/maintain
FUNCTION MODULE contains functions in particular to a module
like finance , HR , MM....... .Function module is always
created under function group. one group can contain one or
more function modules a function module can be accessed from
remote system where u can call it as RFC call.
u create function module in following way
1.tcode- sm37
2.create a function group
3.activate the function group
4.create the function module
5. activate the function module
6. access the function module
RFC, to connect two different SAP Servers to transfer data
bt normal function calls r like subroutines to access
within the sysetm.
Thanks®ards,
Sravani,