• Embed Doc
  • Readcast
  • Collections
  • 1
    CommentGo Back
Download
 
ABAP Proxy Communication (Client Proxy)
 
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
 
SAP XI ScenarioABAP Proxy Communication (Client Proxy)
Brought to you by
 
ABAP Proxy Communication (Client Proxy)
 
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
 
By Neeraja Surapaneni, YASH TechnologiesThis document is focused to give a better understanding on ABAP client proxies.From WAS 6.20 onwards, proxy generation feature enables application systems to communicatewith XI using proxies.Proxy objects implement message interfaces from Integration Repository. Proxy generationconverts non-language-specific interface descriptions in WSDL into executable interfaces in theapplication system. Proxies separate Business Application logic from the integration logic of theExchange infrastructure.There are 2 types of proxies available.
1.
Java Proxies
2.
ABAP Proxies.
 
1. Java Proxies
: - Java proxies are used when JAVA applications needs to send or receivemessages with other applications. JAVA proxies are generated from the WSDL description of theinterface in the Integration Repository, and the result is a .jar file containing generated javaclasses corresponding to the integration objects.
2. ABAP Proxies
: - ABAP proxies are used when ABAP applications needs to send or receivemessages. ABAP proxies are generated on the Application server with transaction SPROXY,based on the WSDL representation of the message interface.The type of the message interface determines what type of proxy is generated. The counterpartsto outbound message interface in application systems are
client proxies
, these are called tosend a message to inbound interface. And the counterparts of inbound message interface inapplication systems are
server proxies
.
Advantages of ABAP Proxies.
1.
Proxy communication always by passes the Adapter Engine and will directly interact withthe application system and Integration engine. So it will give us better performance.
2.
Proxies communicate with the XI server by means of native SOAP calls over HTTP.
3.
Easy to handle messages with ABAP programming.
4.
Proxy is good for large volumes of data. we can catch and persist the errors ( bothsystem & application fault ) which was generated by Proxy settingThe rest of the document gives you pre-requisites and steps that are necessary for generatingand executing ABAP client proxies.
Pre-requisites
1.
The business systems should be based on SAP Web AS 6.20 and SAP Web AS 6.20kernel patch level above 1253
2.
You have installed the XI Add-On in each of these business systems as described in theInstallation Guide SAP Exchange Infrastructure 3.0
3.
The business systems and your central Integration Server are maintained in the SystemLandscape Directory (SLD).
 
ABAP Proxy Communication (Client Proxy)
 
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
 
Steps required for developing ABAP Proxies
Establish the connection between WAS and Integration Builder, this allows theapplication system to retrieve WSDL description of the interface as the basis of proxygeneration.
Create a source data type and a target data type.
Create Message types for the source and target data types.
Create Message Interfaces includes Inbound Message interface and Outbound Messageinterface.
Create message mapping between the source and target message types.
Create Interface mapping.
Create ABAP proxies using the transaction SPROXY in the application system.
Create Collaboration agreements and Collaboration profiles in Integration directory.
Write a program in the application system for creating the client proxy request.
Scenario demonstrating ABAP Client Proxies.
 
Take a business scenario where in business (Source System) sends an Employee details totheir Payroll system for calculating the monthly salaries of their employees. But here thesource business is running on SAP R/3 and corresponding Payroll system is not on SAP,hence the interpretation of data/communication is different. Because source system sendsemployee information through proxy communication and the target Payroll system is notaware of these proxy call, so in order to provide a communication between these two weneed some interface mechanism which accepts proxy request and converts it into the formatunderstandable by the target payroll system and vice versa.
Objects needed to be developed in IR
 
For this scenario we need to create the corresponding Data types, Message types andMessage interfaces for source and target messages. Once the source Message interface iscreated we can generate the interface in source R/3 system using SPROXY transaction.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...

Thanks. Great tutorial mate... Here's the Video Tutorial: http://bit.ly/cXQPGN - If you prefer video like myself. Don't get me wrong, I still like ur tutorial!

You must be to leave a comment.
Submit
Characters: ...