Showing results for 
Search instead for 
Did you mean: 

Need help on proxies

Former Member
0 Kudos

Hi Guys,

I am new to XI. Certified but never got a chance to work practically. Now i would like to get into an XI project.

I have done file-file, IDOC-File scenaros.

I would like to know abt proxies.

Please help me giving:

what is Proxy and why it is used?

and some simple documents on proxies.



Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


Proxy are used when u wanted to send the R3 data which is fetched from R3 table to some legacy system or any other systems. that is called client proxy or outbound proxy similarly if u wanted to update the R3 table with the data which is coming from any source system that time we go for Server proxy which inbound proxy.

There are two different uses for the ABAP proxy runtime:

u2022 You want to exchange messages with the Exchange Infrastructure Integration Server by using ABAP proxies. To send a message to the Integration Server, use a client proxy. To provide a service on the SAP Web AS that can be addressed by messages from the Integration Server, use a server proxy.

u2022 You want to call a Web service in the Internet and have generated a client proxy for this purpose. For a description of how Web services are used, see ABAP Web Services.

For proxy you need to first do the configuration:

ABAP Proxy configuration:

Refer the below links:

for java proxies

Client Proxy -

In this case you can define you scenario as a proxy to File. The blog explains the proxy part. Map the structure to a file and complete the scenario.

Please chekc this PDF :

Server Proxy -

File to Inbound Proxy:

Debugging Inbound Proxy:

SPROXY not working:



Answers (3)

Answers (3)

Product and Topic Expert
Product and Topic Expert
0 Kudos

ABAP proxies are mainly R3 related communication.

There are two types of Proxies.

1. Java Proxies.

2. ABAP Proxies.

Java proxies are used when java applications needs to send and receive data and ABAP proxies are used when ABAP applications needs to send and receive data.

- Activate Proxy

- ABAP Server Proxy

- ABAP Client Proxy

Proxies over RFCs/BAPIs:

Proxies communicate with the XI server by means of native SOAP calls over HTTP whereas RFC does not, so you have to convert from SOAP to RFC calls and vice versa . So XML conversion is required.

Proxies can be can be used for both synchronous and asynchronous communication , RFC/BAPI is basically only intended for Synchronous comm. which asks much more system resources from your XI system

RFC/BAPI has its own overhead of function call for large chunk of data

Proxies over IDOCs:

IDocs are always asynchronous - no response

Every business transaction in SAP does not necessarily has a corresponding standard IDOC

Heavy transfer of data in IDOCs (If we consider IDOC transfer, we might be in need of few fields for which we have to transfer the whole IDOC. In the case of Proxy, we can write a report to trigger the proxy & wherein we can fetch only the required fields that has to be sent from R/3 to XI

JPG,PDF files can be sent as attachments in addition to the XML Message though proxies as they communicate thru SOAP Protocol.

Note: Since SAP is moving towards a SOA framework , proxies are best suited for this environment as it uses native SOAP calls over HTTP.

All SAP systems above WAS 6.4 would be using proxies to communicate with the external systems

Types of ABAP Proxies:

1. Based on the mode of communication:

Synchronous Proxy -Sender is awaiting response from the Receiver immediately. i.e. When you send data, it expects an immediate acknowledgement.

Asynchronous Proxy - Sender is not waiting for any acknowledgement.

2. Based on ABAP application:

Client Proxy ? ABAP application utilizes ABAP Proxy to send message to IS in XI protocol format

Server Proxy ? ABAP Proxy receives XML message from IS and converts it to be received by application sytem(R/3 in our case)

3. Based on ABAP web services:

Client proxy ? Allows calling web service on internet (synchronous only). Does not require IS services.

Sever Proxy - Allows using inbound MI as WS( synchronous only)

Point-to-point ? communication between two SAP WA servers.

4. Based on flow of messages

Inbound Proxy ? receives messages to external system

Outbound Proxy - sends messages to external system

ABAP Client and server proxies link:

Hope this helps.

Edited by: parvathy sriraman on Sep 23, 2008 7:45 AM

Edited by: parvathy sriraman on Sep 23, 2008 7:47 AM

Active Participant
0 Kudos

What Are Proxies?

Proxies are essentially the APIs, or the programming lines of code, that are generated for the target application language like ABAP/JAVA/.Net.

These application languages use "executable interfaces" to exchange messages in SOAP/XML with external applications.

Proxies in SAP XI

As we know, the role of SAP XIu2019s integration broker is basically to integrate SAP and non-SAP systems, as in the integration of an SAP R/3 system with a database using adapters. SAP XI provides various adapters to integrate different types of systems.

But in some of real-time scenarios, itu2019s not always a particular type of business system that has to send/receive messages with SAPXI; it can also be an application like ABAP or Java. To cater to these needs, SAP XI provides different ways to generate interfaces in ABAP and JAVA u2013 and these interfaces are known as proxies.

ABAP proxies are generated using the transaction SPROXY (in SAP Web AS 6.20 and above); for Java proxies, the Integration Builder tool is used.

this blog can give you the basics of Proxies

Active Contributor
0 Kudos


what is proxies

why we go for proxies

Proxies are nothing but a mechanism to shift the application logic from the XI server onto the sender or receiver system so as to reduce the effort on the side of XI.Depending upon where the proxies are generated ,it is differentiated as client proxy ( sender ) and server proxy ( receiver ) .In R3 system having WAS 6.2 and above its already has an inbuilt small IE so the proxy generation

when we go for ABAP proxy and Java proxy

If the Sender/ Receiver Application is based on ABAP application Means we will use ABAP Mapping

If the Sender/ Receiver Application is Based on JAVA application means we will use JAVA Mapping

i.eIf your system is supporting ABAP Application then go for ABAP Proxy.else If your system is supporting Java Application then go for Java Proxy.Mainly Proxy is used to connect to R/3 systems.

To test a connection -

Client Proxy -

Server Proxy -

Testing proxy -

How to configure ABAP proxy

How to configure Java proxy

JAVA Proxies:

ABAP Proxies:


How to debug a proxy

In XI go to WSADMIN and give /h. It goes into the debugging mode. Then you test your scenario and you run step by step and you see your values on the right hand side of your screen.

Do step by step rather all at once. Then I think you should be able to debug the webservice. Also I suggest you to post in ABAP forums also for quicker response.

Check the blog by Stefan Grube for reference,

Handle errors in ABAP Proxies

Handle errors in JAVA Proxies

Hope this helps



Edited by: Saiyog Gonsalves on Sep 22, 2008 4:15 PM