‎2006 Aug 03 5:47 AM
Hi,
What is the difference between the function and RFCs?
thanks,
Satish.
‎2006 Aug 03 5:52 AM
Hi satish,
1. An RFC is nothing,
but also like normal FM.
2. The only difference is,
we can run that FM in another server.
3. eg.,
we have TWO SERVERS,
A, B
4. We write abap code in server A,
and want the FM to execute
in server B, (and not A)
, then it should be RFC enabled.
regards,
amit m.
‎2006 Aug 03 5:52 AM
Hi Satish,
An RFC works same as a normal function module...
But only the difference is
we can call RFC enabled fn modules from different servers where as normal function module within the server...
If attributes of function is set as Remote enabled then its an RFC...
Regards,
Sridhar
‎2006 Aug 03 5:53 AM
Function modules are modularzation elements in the ABAP programming language. The encapsulate some function that can be reused. They provide an interface or signature in which to pass data to and from the function module. RFC is a remote enabled function module. All you need to do is set the flag on the attributes tab of the function module and you have an RFC.
‎2006 Aug 03 5:54 AM
Hi Satish,
In Function modules we have 2 types:-
1.Local(normal) Function module [LFM].
2.Remote Enable Function module [RFM].
LFM's can only be used or called in the same system in which they are created and activated, whereas RFM's can be accessed using RFC from a Remote Systems(like another R/3, Non-SAP), for this you need to create a RFC destination(SM59), with the help of your Basis Admin.
Regards:-
Santosh.
P.S. Mark usefull answers
‎2006 Aug 03 6:00 AM
‎2006 Aug 03 6:00 AM
hi satish,
Function Modules --> A reuseable piece of code.
Ex. SD_DATETIME_DIFFERENCE.
RFC --> The same a Function Module but allow external connection.
Ex. RFC_READ_TABLE.
Function modules are modularzation elements in the ABAP programming language. The encapsulate some function that can be reused. They provide an interface or signature in which to pass data to and from the function module. RFC is a remote enabled function module. All you need to do is set the flag on the attributes tab of the function module and you have an RFC.
if u find it useful plz mark the points
Regards,
Naveen