cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Destination

Former Member
0 Kudos

I would like to know in which case RFC destination needs to be set up?

Please tell me the reason why as well.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rokie

when u want to communicate to an external system or u want to establish connection with remote systems u need to create RFC destinations. for example : connection between AS to data base, HTTP Connection to ABAP System or external server. CCMS agents also use RFC to communicate to central monitoring system.you can create rfc destination in transaction sm59.

Steps to create RFC destination:

a) In the R/3 main menu, choose Tools -> Administration -> Administration -> Network -> RFC destinations (transaction SM59).

The "Display and Maintain RFC Destinations" screen appears.

b) Choose Edit -> Create.

The "RFC Destination" screen appears. Enter the following data:

RFC destination: Name of your RFC destination, (for example: WWI_WORD_START )

Connection type: T (stands for "TCP/IP connections)

c) Choose ENTER.

Additional pushbuttons are displayed.

d) Under Start on, choose the function Front-end workstation.

e) Enter wwiexe32.exe in the Program field.

f) Document the RFC destination and save your entries.

for more help you can refer to following links:

1)Programs for Communication

http://help.sap.com/saphelp_crm20c/helpdata/en/2c/a8769e85f711d3956100a0c92f024a/content.htm

2)Maintain RFC Destinations for RFC Calls

http://www.sapsecurityonline.com/other_sap_apps/r3_2_gts.htm

3) Define an RFC Destination in R/3

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/webas/s-u/sett...

hope it may helpful for you.

PS: if helpfull plz reward points

Former Member
0 Kudos

Do you know the reason behind why we need RFC destination configured? It sounds related to RFC while we don't use RFC call always.

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Rokie

according to question :- the reason behind why we need RFC destination configured?

To share the load on a single server we can call another function which are running on different machine.

Remote Function Call (RFC) is using one program on your own machine which is running on different machine.RFC call is nothing its calling (Remotely) those program which are running on different machine.remote destination is nothing but which we create to send the IDOC to other SAP system. To call another program first you need to make a connection to the system'whose application you want to access and also you need to define a port through which you will access that program. This configuration include your security seetings and also permission to access that machine.

Hope it has articulated RFC

Thanks

Sandeep Sharma

PS: if helpful reward points

prabhu_s2
Active Contributor
0 Kudos

Rokie

RFC calls are used in SAP system very frequently. For instance when u wanna to perform version comparrision the base rule is u need to have rfc connectivity establised with the target system. In XI RFC connectivy is used for SLD connection....and many more. In simple if u wanna to establish connection with remote system for data transfer u need have rfc dest created

Message was edited by:

Prabhu S

Former Member
0 Kudos

-->in which case RFC destination needs to be set up?

Rokie,

I think we require RFC destination for two purposes only..(if i am not wrong)

1. when ever you want to trigger a process which can be called remotely...

Like triggering a RFC or BAPI..

2. Or establishing a connection between 2 systems..(for any purpose)

Like creating RFC destination of H type for Proxies....bla..

for refreshing the cache....etc

Regards,

Former Member
0 Kudos

hi Rokie,

in simple words when we go for <b>Idoc to file or vice verca</b>, we need to set up RFC Destination.

reason:

<b>well, if we have two system like R/3 and XI so there should a connection betweeen them , RFC Connection does this job.</b>

<b>for testing purpose you can go to RFC Destination , there is a option of remote login so you can login to other system . it is in both system , for every one other one is RFC Destination</b>

this is the reason of RFC Destination.

hope this will help

regards

HONEY

aashish_sinha
Active Contributor
0 Kudos

In addition to Honey,

The RFC destinations are also used to retrieve the information about where to find the Integration Builder required for the proxy generation. This information is located in the XI exchange profile.

We have to create both RFC destinations in your business system. They use the same registered server program, which is defined as part of the RFC engine settings of the SAP J2EE Engine on the Integration Server host. This means that all business systems can use the same server program ID (SAPSLDAPI _UNICODE or SAPSLDAPI _NONUNICODE) for their RFC destinations LCRSAPRFC and SAPSLDAPI.

The RFC destinations LCRSAPRFC and SAPSLDAPI are used for the SLD connection. They use the SLD access data maintained with transaction SLDAPICUST. The RFC destination LCRSAPRFC is used to read the exchange profile; SAPSLDAPI is used by the ABAP API.

If your business system is a Unicode system, the RFC destinations LCRSAPRFC and SAPSLDAPI are used and need to be defined for the connection between the business system and the SLD.

Maintaining the RFC Destination LCRSAPRFC

1. Execute transaction SM59 in the business system.

2. Choose Create.

3. Enter at least the following:

&#56256;&#56443; RFC destination: LCRSAPRFC

&#56256;&#56443; Connection type: T

&#56256;&#56443; Description: <your description>

4. Choose ENTER.

5. Choose the Technical settings tab page and do the following:

a. In the Program ID field under Registered Server Program, enter LCRSAPRFC_UNICODE.

b. Under Gateway Options enter the Gateway host and Gateway service of your Integration Server host.

To find this information on the Integration Server host, call transaction SMGW, choose Goto &#8594; Parameters &#8594; Display, and search for the entries for the gateway hostname and gateway service attributes.

6. Choose the Special Options tab page and select the Unicode flag under Character Width in Target System.

7. Save your settings.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Thanks all. I believe this is important and needs to be clarified better by standard SAP document.

Former Member
0 Kudos

Hi Rokie,

If you want to commuincate From R3 to XI and XI to R3 you need to be done the RFC destination.For receiving/sending the Idoc's from/to R3 and making the lookup by using RFC.

Cheers

Veera

Shabarish_Nair
Active Contributor
0 Kudos

1. in case of IDoc communication - https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

2. In case of RFC communication - /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

3. IN case of proxy connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

prabhu_s2
Active Contributor
0 Kudos

when u want to establish connection with remote systems u need to create RFC destinations. u create rfc dest in sm59. the following types are avaiable:

I Connection to Application Server with Same Database

3 Connection to ABAP System

2 Connection to R/2 System

T Start External Program Using TCP/IP

L Reference Entry (Refers to Other Destination)

S Start External Program Using SNA or APPC

X RFC Using Special ABAP Driver Routines

M CMC Connection

H HTTP Connection to ABAP System

G HTTP Connection to External Server

Message was edited by:

Prabhu S