Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with RFC

Former Member
0 Likes
746

Hi guys,

Where do we create the RFC? and how does RFC works?

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
721

Hi Mark,

Where do we create the RFC : We create RFC in SAP R/3 using Transaction Code SM37. It is function module with RFC enabled flag checked.

how does RFC works : RFC is called from another system to system in which it resides. Example : There are 2 SAP system SAP1 and SAP2. RFC function module is developed in SAP1. We can call this function module from SAP2 using CALL FUNCTION....DESTINATION dest. (There are few things need to be configured through SM59 for establishing connection - this is one time activity). You can access data and functionality of RFC enabled FM from another system

Similary you can call this RFC from non-SAP system. (Syntax of call will vary depending upon technology. Example calling using Java, C++ etc)

Regards,

Mohaiyuddin

7 REPLIES 7
Read only

Former Member
0 Likes
721

for example:

u have r/3 and crm

if u want to retrive data from r/3 to crm

u create a fm in r/3 by giving the option as rfc

and u call that fm in crm.

if u exect the program in crm by using that fm it will go to r/3 and fetch the data and display it in crm.this is how it works.

Regards

Anbu

Read only

Former Member
0 Likes
721

-You create a Function Module using SE37 but that FM is Remote Enabled .

-This function Module is now available to be used by remote non SAP application

-This FM is called using SAPJCO connector in Java based application.

rgds

rajesh

Edited by: RAJESH KUMAR on Aug 5, 2008 12:43 PM

Read only

Former Member
0 Likes
721

Hi Mark,

You can create RFC in SE37 only.. you have to just click on remote enabled in Attributes tab...

and to call any FM from SAP to other SAP system or any non SAP system, you can use RFC...

Regards,

SAgar

Read only

Former Member
0 Likes
722

Hi Mark,

Where do we create the RFC : We create RFC in SAP R/3 using Transaction Code SM37. It is function module with RFC enabled flag checked.

how does RFC works : RFC is called from another system to system in which it resides. Example : There are 2 SAP system SAP1 and SAP2. RFC function module is developed in SAP1. We can call this function module from SAP2 using CALL FUNCTION....DESTINATION dest. (There are few things need to be configured through SM59 for establishing connection - this is one time activity). You can access data and functionality of RFC enabled FM from another system

Similary you can call this RFC from non-SAP system. (Syntax of call will vary depending upon technology. Example calling using Java, C++ etc)

Regards,

Mohaiyuddin

Read only

0 Likes
721

hi Mohaiyuddin,

Can I call RFC within SAP itself ? as your case, within SAP1 only. is it possible?

Thanks

Peerasit

Read only

0 Likes
721

HI,

You can call with in SAP too.

Read only

Former Member
0 Likes
721

This message was moderated.