‎2006 Nov 24 1:51 PM
hi frnds,
what is the diff beween normal function module and RFC?
regrads,
sanjay
‎2006 Nov 24 1:52 PM
It's easy
RFC (Remote Function Called) is a function module can be called from another system (remote).
So I can crun the RFC F1 in system B, calling it from system A.
System A can be another SAP, but it can be a legacy.
When RFC is called, it has to exist in the called system.
A normal function can be called and run only in the same system.
Max
‎2006 Nov 24 1:52 PM
It's easy
RFC (Remote Function Called) is a function module can be called from another system (remote).
So I can crun the RFC F1 in system B, calling it from system A.
System A can be another SAP, but it can be a legacy.
When RFC is called, it has to exist in the called system.
A normal function can be called and run only in the same system.
Max
‎2006 Nov 24 1:53 PM
Hi Sanjay,
RFC is remote function call which is used to execute the fn module on the remote system to get the required data. to call the fn mod remotely we hav to enable the remote call radio button located in the attribute of the fn mod. normal fn mod is the one which is used to excute the fn mod in the local system to get the require data .
Hope it clears u..
Reagrds,
Kumar
‎2006 Nov 24 1:56 PM
hi,
check these...
https://forums.sdn.sap.com/click.jspa?searchID=173040&messageID=2418218
https://forums.sdn.sap.com/click.jspa?searchID=173040&messageID=2730771
http://www.planetsap.com/RFC.htm
do reward if it helps,
regards,
priya.
‎2006 Nov 24 1:58 PM
Hi Sanjay,
Function modules are routines with a defined interface, supporting optional parameters and labelled exceptions, intended to perform specific tasks encouraging re-use.
Functions that are remotely callable via SAP's proprietary remote function call (RFC) protocol, have additional technical restrictions, primarily that the parameters cannot be changing and/or passed by reference, as previously mentioned. When a function module is marked as RFC-enabled, SAP checks that the function's interface meets the restrictions and also generates an internal stub routine to allow the RFC communication to take place (but we don't really need to know anything about that stub).
When a function module raises an exception, control is passed back to the calling program. When the calling program is an external RFC client, the caller receives only a return code indicating that an application exception was raised and the name of the exception as an upper-case text string. The caller is then responsible for inspecting the exception text to see what kind of error occurred.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Nov 24 2:01 PM
Hi,
RFC enabled FM is used to comunicate btwn SAP and NON sap systems
eg: WEBSITE ie in SAP terms EP(Enterprise Portal frontend) to R/3 like tht.
Function module(FM) -> used to communicate with in SAP system.
regards,
ajith
reward if it helps.