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

Doubt regarding RFC

Former Member
0 Likes
883

Hi,

I need to create a RFC function module so that i can access our main server which is in another city, and get the table data in it. Using that data we can design our further logics.

1) How to Connect the two Sap systems which are seperated by long distances, Is it through internet?

2) How to access the Main server using RFC function module? What are the steps to configure the RFC destination?

Thanks in advance...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
860

Hi,

Step For RFC Creation

Goto Tcode SM59-->Select R/3 Connects

Click on Create Button

RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles

give the information for required fields

RFC Destination : <rfc_dest>

Connection type: <con_type>

Description

Target Host : <t_host>

System No: <sys_no>

lan : EN

Client : <cli_num>

User : Login User Name

Password:

save this & Test it & RemoteLogin

After setting this u can write ur RFC Function Module.

And while calling this FM u will have to mention destination.

Rgds,

Prakash

Hi,

Step For RFC Creation

Goto Tcode SM59-->Select R/3 Connects

Click on Create Button

RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles

give the information for required fields

RFC Destination : <rfc_dest>

Connection type: <con_type>

Description

Target Host : <t_host>

System No: <sys_no>

lan : EN

Client : <cli_num>

User : Login User Name

Password:

save this & Test it & RemoteLogin

After setting this u can write ur RFC Function Module.

And while calling this FM u will have to mention destination.

Rgds,

Prakash

6 REPLIES 6
Read only

Former Member
0 Likes
860

Hi,

RFC (Remote Function Call) is similar to the general SAP fun module: except that in the attributes you click the radio button: RFC enabled;

and you will be passing an Import parameter DESTINATION to it.

Other code and usage will be similar to any fun module;

Have a look at any fun module in SE37 to understand better about the different components of Fun modules;

Refer this link:

http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm

reward if useful

regards,

Anji

Read only

Former Member
0 Likes
860

Hi..,

In SM59 transaction we will create the destinations for our system to different sap system..

for this we need to know the Host name or the IP address of the other system...

<b>ALL the destinations for your system will be stored in DB table RFCDES.. check that !!</b>

regards,

sai ramesh

Read only

Former Member
0 Likes
860

Hi,

1) TO connect the RFC, they have the Intranet or the Internet or VPN conection in between the systems,

2) You need to create the Destination first from SE59 transaction code, then use the Destination in the RFC Enabled function module to conect the other system

Here is the perfect link for RFC

http://help.sap.com/saphelp_nw04/helpdata/en/22/0424ce488911d189490000e829fbbd/content.htm

Regards

Sudheer

Read only

Former Member
0 Likes
860

Hi Anji,

Thanks for ur reply,

But i need to know:

1) How to Connect the two Sap systems which are seperated by long distances, Is it through internet?

2) How to access the Main server using RFC function module? What are the steps to configure the RFC destination?

Read only

Former Member
0 Likes
861

Hi,

Step For RFC Creation

Goto Tcode SM59-->Select R/3 Connects

Click on Create Button

RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles

give the information for required fields

RFC Destination : <rfc_dest>

Connection type: <con_type>

Description

Target Host : <t_host>

System No: <sys_no>

lan : EN

Client : <cli_num>

User : Login User Name

Password:

save this & Test it & RemoteLogin

After setting this u can write ur RFC Function Module.

And while calling this FM u will have to mention destination.

Rgds,

Prakash

Read only

0 Likes
860

hi,

see following link

http://planetsap.com/RFC.htm

regards,

Naresh.