Escolar Documentos
Profissional Documentos
Cultura Documentos
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. 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.
After the message interface is developed in the integration repository, proxy is generated on the client 100 using SPROXY transaction. SPROXY transaction lists all the message interfaces in the integration repository. We have to choose our message interface Proxy_Interface_OB and click Create.
ABAP proxy will generate 3 objects : 1. ABAP Class ( ZBLOGCO_ Proxy_Interface_OB). 2. Structure for the message type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_MSG). 3. Structure for the data type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_DT).
Once the proxy objects are activated we can check the ZBLOGCO_Proxy_Interface_OB in the SE24 editor. Since the proxy message interface is asynchronous the ZBLOGCO_ Proxy_Interface_OB has EXECUTE_ASYNCHRONOUS and message type ZBLOGEMP_PROFILE_MSG as the importing parameter. With this proxy generation is over.
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.
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.
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.