cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Destination Query

Former Member
0 Kudos

Hi Experts,

I have a query on RFC destination.

We create RFC destination for connecting between ABAP system and XI system.

Say for example we create ABAPRFC and XIRFC. Now if for some reason say ABAPRFC stops working then will IDOC/Proxy be sent to XI system as XIRFC is working. Also if XIRFC stops working and ABAPRFC is working then can we send IDOC/Proxy to ECC system. Or we need both of them to work for sending data to either of the systems.

Regards,

Shaibayan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shaibayan,

Let me explain thru simple example:

.

For example:

1)  We have RFC connection "ABAPRFC" in XI system which is using ECC Target host and ECC system credentials to create connection from XI to ECC, therefore if XI has to send IDoc to ECC it will use "ABAPRFC" connection to connect with ECC system. If "ABAPRFC" connection stops working then XI cannot send IDoc to ECC and IDoc will fail in XI itself.

But if your RFC connection from ECC to XI is working then XI will continue to receive the IDoc from ECC.

2) We have RFC connection " XIRFC" created in ECC system which is using XI target host and XI system credentials to connect with XI system from ECC, therefore if ECC has to send IDoc to XI it will use XIRFC connection. If XIRFC connection stops working then ECC will not be able to send the IDoc  to XI and IDoc will fail in ECC itself.

But if your RFC connection from XI to ECC is working then ECC will continue to receive the IDoc from XI.

So conclusion here is that you have two seperate RFC connections, one which is created in ECC to send the IDoc to XI and another is created in XI to send the IDoc to ECC.

Hope it is clear now.

Let us know if there is any confusion.

Regards,

Akshay

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Here is the answer to your question in simple terms.

1)RFC in ECC is to connect to PI and send an IDOC/Proxy message to PI.

2)RFC inPI is to connect to ECC and send an IDOC/Proxy message to ECC.

If 1st one fails and 2nd is working , then you can't send messages to PI .However you can send messages to ECC from PI.

Similarly reverse.

Regards

Venkat

Former Member
0 Kudos

Hi,

In addition to the above.

For IDoc will use RFC destination of type 3.

For Proxy will use RFC destination of type H

For RFC will use RFC destination of type T

For External HTTP connections will use RFC destination of type G

Regards

Venkat