Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Compare QRFC, sproxy and IDOC

hi Experts,

I am working in TM system and sometimes need to choose which way should be used in system communication.


Generally, QRFC is used because it looks much easier than iDOC and sproxy. You can set a queue name to make the communication is executed in sequence, this can prevent data update from lock issue.

But we do not have error handling log and importing data log in qRFC.

And if there is any error occurs, the queue will be blocked and all the rest execution is stopped.


I do not use a lot of this. I know the framework of it by learning a step by step configuration and writing some codes.

my understanding of it is to generate some data structure called segment and call a RFC in the target system to transfer the data.

iDOC has the monitor tools and user can check the data transferred and re-trigger the call again.

But it seems do not have functionality like queue execution. It seems not used a lot in the new version of SAP systems. and it only supports communication between SAP systems.


I have no idea of this technical. what I know is the tcode SPROXY with definition of outbound/inbound proxy classes to send/receive data.

Can any one send a link to learn it? like a WIKI or homepage?

this way is a suggested way for communication between systems.

it seems also not support queue execution(I am not sure).

But it supports the monitoring of data and re-trigger.

So can anyone give some comments on these 3 ways of data exchange ways? and give me some link to learn sproxy, better with a step by step to create a simple class to transfer data. thanks.




Hi Cain,

RFC and IDOC have been the traditional way to communicate an ABAP SAP system externally, the two protocols property of SAP. Some time ago the ABAP system can communicate externally with SOAP protocol (via SOAMANAGER transaction) you can take a WSDL and ABAP generate the classes for the communication automatically or you can expose an RFC as SOAP enterprise service.

With sproxy you will work with a SAP PI system. First of all you have to configure the communication infrastructure, this configuration can change if your PI system is a Dual or a Single Stack, more concretely if you will go to communicate with the java PI adapter or the ABAP PI adapter. Example to configure the connection:


JAVA (AEX adapter); @Michal Krawczyk's blog Michal's PI tips: How do you activate ABAP Prox... | SCN

When you activate the ABAP proxy technology, you should test the sm59 connections.

Later you can develop your first ABAP proxy, client or server. The client will be easier but you need to have developed a PI scenario. You can find lot of links:

Configuring a Consumer Proxy - Developer's Guide - SAP Library

ABAP Proxies in XI(Client Proxy)

SAPTechnical.COM - ABAP Proxy Communication Scenario (Client Proxy)

ABAP Client Proxy to ABAP Server Proxy Scenario - Process Integration - SCN Wiki

Hope this helps.


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question