Professional Documents
Culture Documents
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387
The other way of interfacing XI is through proxies. From WAS 6.20, proxy generation feature enables application
systems to communicate with XI using proxies. Proxy generation enables you to create proxies in application
systems. Proxies encapsulate the creation or parsing of XML messages and the communication with the relevant
runtime components required to send or receive the messages.
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. I am going to demonstrate a simple client proxy which sends the
employee data to XI and it routes the information to a file.
We use two clients of XI here. Client 100 acts as XI server .Client 105 acts as a client ABAP proxy which sends
employee information as a message to XI which routes the info to a file. Logical flow is depicted as shown below.
Note that conversion of sending system format to XI specific format is not done at the outbound side of the XI server.
We need to develop an ABAP Report in 100 client to trigger a client proxy. The following report is executed in the
SE38 Editor for triggering an ABAP Proxy request from client 105.
*&---------------------------------------------------------------------*
*& Report ZBLOG_ABAP_PROXY
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT zblog_abap_proxy.
TRY.
it-emp_profile_msg-emp_name = 'Sravya'.
it-emp_profile_msg-empno = '80101'.
it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.
Receiver adapter configurations should be done in the integration directory and the necessary sender/receiver
binding should be appropriately configured. We need not do any sender adapter configurations as we are using
proxies.
Triggering ABAP Proxy
We can trigger the ABAP proxy by logging into client 105 of XI server and executing the ABAP report through SE38
editor. Once the report is executed we can see the file on the XI server and contents of file by double clicking the file.
I hope this blog will be useful for trying out real time applications on ABAP Proxies.
Ravikumar Allampallam is working as a NetWeaver Consultant in the SAP NetWeaver Competency Group of Wipro
Technologies.
hi,
i want to know that how we will connect these two clients 100 and 105 to make communication possible.
• Grt Blog
2007-05-27 23:02:33 Subhendu Sahu Business Card [Reply]
Dear Ravi,
Grt Grt blog.... Cant be better.
Regards,
Subhendu
HAI RAVI,
regards
sandeep
• sender system
2007-03-30 09:33:03 Fadel Taha Business Card [Reply]
Dear Ravi,
When I try to create proxy for the interface defined in XI using sproxy in IR, by right clicking on the Outbound
interface, it asks me for inputing the Package name???
Please advice...
Regards,
Ashish
Dear Ravi,
If I have scenario with SAP (ABAP Proxy) ---> XI ---> File System (File Adapter)
would your code and the procedure remain the same?
Regards,
Ashish
Hi,Ravikumar
I am trying to do with that a program abap sends data for SAP XI. I got to create the proxy of the type OUTBOUND
and SYNCH in my R/3. I am using your program as template. When I execute the report abap, error message doesn't
appear and nor of success, appears only an empty screen.
During the debuging of the program, we found that exit XML is not well formatted.
REPORT zco_teste_xi_abap_proxy_out.
DATA prxy TYPE REF TO zco_mi_teste_xi_proxy_out.
*
CREATE OBJECT prxy.
DATA it TYPE zzmt_teste_xi_proxy.
TRY.
it-z_mt_teste_xi_abap_proxy-empname = 'Sravya'.
it-z_mt_teste_xi_abap_proxy-empno = '80101'.
it-z_mt_teste_xi_abap_proxy-departmentname = 'NetWeaver'.