on 09-22-2008 3:12 PM
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.
Cheers,
Karthick
Hi,
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:
http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm
for java proxies
http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/64/30063c66171b3de10000000a11402f/content.htm
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:
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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:
http://saptechnical.com/Tutorials/XI/ABAPClientProxy/page1.htm
http://saptechnical.com/Tutorials/XI/ABAPProxy/page1.htm
http://help.sap.com/saphelpnw2004s/helpdata/en/91/de56456be146e791bf88188306aa57/frameset.htm
http://help.sap.com/saphelpnw2004s/helpdata/en/91/de56456be146e791bf88188306aa57/frameset.htm
http://help.sap.com/saphelpnw2004s/helpdata/en/91/de56456be146e791bf88188306aa57/frameset.htm
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
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.
How to configure ABAP proxy
How to configure Java proxy
JAVA Proxies:
ABAP Proxies:
ON SDN TV
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#
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
http://help.sap.com/saphelp_nw04/helpdata/en/3b/6f5c3c3806af06e10000000a11402f/frameset.htm
Handle errors in JAVA Proxies
http://help.sap.com/saphelp_nw04/helpdata/en/56/b46c3c8bb3d73ee10000000a114084/frameset.h
Hope this helps
Thanks
Saiyog
Edited by: Saiyog Gonsalves on Sep 22, 2008 4:15 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.