‎2008 Dec 15 8:13 PM
Hi Experts,
We have the two servers Like S11 and R11.
I have created the RFC function module in S11 server.
I need to call the same function module in R11. how we can do this.
We need to approch any steps please suggest me.
First time I am working in the RFC function modules.
Thnx,
Sam.
‎2008 Dec 15 8:39 PM
You've to create a entry on SM59, for example .. S11_RFC and on the program you've to use the FM on this form
CALL FUNCTION 'Z_CALL_RFC'
DESTINATION 'S11_RFC'
EXPORTING
parameters ...
IMPORTING
parameters.PD: The FM Z_CALL_RFC must exist on the other server, sry for my bad english xD!
Thanks and Regards.
David Carballido
‎2008 Dec 15 8:39 PM
You've to create a entry on SM59, for example .. S11_RFC and on the program you've to use the FM on this form
CALL FUNCTION 'Z_CALL_RFC'
DESTINATION 'S11_RFC'
EXPORTING
parameters ...
IMPORTING
parameters.PD: The FM Z_CALL_RFC must exist on the other server, sry for my bad english xD!
Thanks and Regards.
David Carballido
‎2008 Dec 15 9:53 PM
Hi Sam,
You follow below mentioned steps to achieve RFC function module access from different server.
1) Create function module as you usually do. Make sure in the attributes section of the function module
choose radio button "Remote-enabled function module".
2) In R11 server, Please ask your basis consultant to create RFC destination using SM59 transaction
pointing to server S11. Since you are calling another SAP system, you can choose connection type
as R/3. ( I am assuming your S11 & R11 are both R/3 systems).
3. Go to R11 server and call transaction SM37 and provide function module which you have created
in step 1, additional to other parameters provide RFC destination created in step 2.
Let me know if you have further questions on the process.
Best Regards,
Krishna
‎2008 Dec 15 10:20 PM
Hi,
Refer this link : [Calling RFC function modules in ABAPhere|http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm]
regards,
Advait