‎2008 Jul 31 5:16 AM
Hi
what is the main diff between normal FM and Remote enabled FM.
and what are the restrictions we face when we are useing remote enabled FM.
Thanks & regards
Naresh
‎2008 Jul 31 5:26 AM
Hi
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.
Also go through the link given below :
With Regards
Nikunj shah
‎2008 Jul 31 5:19 AM
Hi Naresh,
please search the forum...
Some of the links are here
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.
Best regards,
raam
‎2008 Jul 31 5:21 AM
Hi,
Normal function module can be called only in SAP programs.
Remote Function module ( RFC) can be called from external applications viz. VB, JAVA etc.
i..e it is an interface between external application & SAP.
Best regards,
Prashant
‎2008 Jul 31 5:21 AM
‎2008 Jul 31 5:22 AM
hi there....
Remote Function Calls (RFCs) are function modules that can be called on between systems. RFCs can enable applications between SAP systems or between an SAP system and a non-SAP system. They enable SAP-external applications, establishing a path for extraction of SAP data to non-SAP apps. By making good use of RFCs, you can give your ABAP/4 app tremendous flexibility, whatever its purpose.
I hope this clears the air over RFCs.... BAPIS are an example of RFCs only....
get back if u need further assistance or close the question.
Regards....
‎2008 Jul 31 5:24 AM
my basic q? was
what are the restrictions we need to face when we are going for RFC FM
‎2008 Jul 31 5:29 AM
Hi Naresh,
In Remote Enable Functions modules the exporting paremeters should be pass by value.
Best regards,
raam
‎2008 Jul 31 5:26 AM
Hi
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.
Also go through the link given below :
With Regards
Nikunj shah
‎2008 Jul 31 5:31 AM
‎2008 Jul 31 5:31 AM
HI,
Restriction is ... you cant define import export parameters of type c, type i etc.
Parameter Type Associated Type
matnr type char ===> Incorrect
matnr type mara-matnr ==> Correct
Cant give messages inside the FM as that wont be popped up.
Message 'Invalid material !' type 'E'. ===> Incorrect
wa_output-type = 'E'. ===> Correct
wa_output-message = 'Invalid Material'.
Append wa_output to gt_output.
Best regards,
Prashant