PROXIES VS ADAPTERS
Hi All,
I am new to xi. Can anyone tell me in which case we use proxies and in which case we use adapters?
Thanks in advance.
Rgds,
Ram Sri
Hi Ram,
The way I understand it is this:
1.You use proxies because it adheres to ESA(Entreprise Services Architecture) which will eventually become the norm throughout.
2.You don't have to create interfaces or mappings for proxies.Also no routing is involved(as no interfaces are involved).
For a clearer idea, you can refer to a previous discussion (on this same forum in Aug 2004). It discusses this topic wrt IDOCs,monitoring and queuing.You can find in the following link:
Why is it better to use Proxies and not adapters
Regards,
Puloma Chaudhuri.
Similar Messages
-
Diff between Proxies and Adapters
Hello,
What is the difference between Proxies and Adapters?
Also, why do we need to go for proxies, when we have adapters?
Priya<b>Proxies</b> are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions.
You can use proxies for systems with WAS >=6.20
XI will communicate in native language with SAP systems via proxies. Proxies uses XML - SOAP based communication for both ABAP and Java Proxies.
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/86/58cd3b11571962e10000000a11402f/frameset.htm">Proxy Generation</a>
<b>Adapters</b> will convert one format into another expected/target format. means from SAP standard formats and as well as 3rd party formats to target formats.
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/86/58cd3b11571962e10000000a11402f/frameset.htm">Adapter Runtime</a>
From
Yallabandi -
Outside-In vs Inside-Out (Proxies vs Adapters)
Hi all,
can anybody tell me about outside-in and inside-out development approach?
What meaning have "outside" and "in" by outside-in? and "inside" and "out" by inside-out? I have read, that the first one are used by proxies, the second - by adapters.
But I don't really know, how I should understand this "outside" and "inside"?Hi,
just have a look at this quote:
You can use the following approaches when developing interfaces:
+· Outside-In: You can develop new, platform-independent message interfaces by using the Integration Builder. Message interfaces are based on the WSDL standard Web Services Description Language), an XML schema for describing network services. Using this description, you can generate platform-specific proxies in Java or ABAP that you can then use to implement the actual message exchange.
· Inside-Out: You can connect interfaces from SAP and non-SAP systems to SAP Exchange Infrastructure by using adapters. The Integration Builder can import interface descriptions in XML format for BAPI, RFC, and IDoc interfaces from SAP systems Release 4.0 or higher.+
from:
http://help.sap.com/saphelp_nw04/helpdata/en/ba/d4c23b95c8466ce10000000a114084/content.htm
basically it's all about where you start developing
your interfaces either in XI (and later one in the
system - by proxies ) or in system first and then you try to match
to this interface in XI (by importing IDOCs, RFC, external definitions etc.)
Regards,
michal
XI / PI FAQ - Frequently Asked Questions -
Proxies Vs. Adapters: When to use Proxy?
Could somebody list out the scenarios where you would Proxy and where you would use Adapter?
Use Proxy or Adapter: What is the best practice to develop my integration?
An Example Scenario:
Let's say I have data from legacy systems in legacy format in text files. I have a standard to BAPI to call to send to R/3. But, I need to do some lookups, code conversions etc. before I call the standard BAPI. So, we write a wrapper ABAP fucntion, inside there we write lookup codes, and then call standard BAPI.
Should I do this scenario using Proxy or regular RFC adapter?
Thanks.Hi Sorna,
You can do both but since you got the wrapper function it's going to be much easier (**and faster**) to use RFC adapter
- RFC adapter will be maintained for a quite a long time and it's friendy to monitor
on the other hand proxies are relatively new concept the will be used more extensively more and more in the future
(that's what SAP says as least) but it can only be implemented with WAS 6.20 and above so not all systems will have that possibility
monitoring features of the proxies are on the oter hand based on the local integration server (monitoring - TCODE - SXMB_MONI) on the R/3 system and most probably it will even be improved in the near future:)
but that's just my opinion:)
hope that you'll hear some more others
Regards,
michal -
Automatic generation of Proxies and RFC Adapters after change
After a maintenance on the server, or new transports on the xi, uploading new RFC function modules often the Proxies and RFC Adapters have to be restarted.
If you are not aware of that kind of changes the messages arrive in the wrong format, funny things happen and so on...
Question: Is it possible to scedule a job on the xi which automatically generates all proxies and adapters new in order to minimize message/service errors after uploads and changes?Did you run program RIMODGEN in SE38 with appropriate variant to generate new integration models ? The spro settings or CFC9 have nothing to do with generation of new integration models. try to do some forum search on Integration Models and you may get some clue.
-
Hi everyone,
can anyone plz answer the below quests
1) what are proxies?
2) what are the advantages of proxies over adapters like RFC, IDOC etc etc?
3) if proxies are implemented in a project then do they implement adapters again plz explain me clearly this quest.
thank u
xilearnerHi
1) what are proxies?
We can say Proxy is a duplicate of Adapter.Proxies are off two types
Client proxy and Server proxy
Client proxy is located in source and Server proxy is located in destination.
Actually Adapters are located in XI box,Where as proxy is located in souce and destination.
2) what are the advantages of proxies over adapters like RFC, IDOC etc etc?
Adapters like RFC,IDOC,FILE etc are already present in XI box.But proxies has to be designed by the user depending on the scenario.We can design the proxies as the wish of the user.
3) if proxies are implemented in a project then do they implement adapters again plz explain me clearly this quest.
if proxies are implemented then it is not necessary to use Adapters.
Go through these links:
<a href="/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems:///people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
<a href="proxies and performance...://proxies and performance...
ABAP proxies link:
Abap proxies
Regards,
Gunasree. -
What is the Difference Between Adapter and Proxy
Hi Master,
I want to know the Difference Between Adapters and Proxies.
And when we are using proxies and Adapters....
Regards,
SReddyAdapters are part of the Adapter Framework. Adapters provide the technical connectivity to enable the integration of SAP and non-SAP applications through XIs Integration Engine.Again, Adapters are used for connectivity from and to external systems with XI that cannot communicate via proxies.Adapters are only required in SAP systems older than 6.20 and external systems.
Systems based on 6.20or higher can communicate directly with proxies.
The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages.
Proxies are generated from Message Interface in IR.
The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with. The Proxy Runtime currently has the following components available: 1. ABAP Proxy Runtime Communication using XI or Web Services a. Web Service Runtime 2. Java Proxy Runtime Communication using XI (J2EE) The objects that the Proxy Runtime then controls are created via Proxy Generation, for both ABAP and Java. In the following sections a client proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context). Conversely, a server proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context). -
Hi Experts,
I have a scenario where purchase order and goods receipt info is coming from an external application to XI.
Too update ECC with the same..do i use a bapi/rfc or proxy?
I mean call bapi in the proxy or import bapi directly?..what is the best procedure?
Is it possible to use purchase order IDOC?...
Do we have any BAPI for creating internal order?Hi Teja,
Find below some of the threads related to that.
[When and Where and how to use Proxies]
[When to use RFC ,Idoc and proxies]
[Re: Proxies Vs. Adapters: When to use Proxy?]
[Use of Proxies(both java and abap)]
Regards,
Venu V
Edited by: Venu V on Jul 27, 2009 2:24 PM -
Doubt in JMS to proxy scenario
Hi All,
I have a scenario, in which i need to send data from Tibco system to SAP ECC , where i am using JMS adaptor and proxies. For this do i need to create 2 diffrent datatypes, Message types or just i can create 1 datatype and 1 messge type and then create 2 different inbound and outbound? Please let me know. Thanks.
Regards,
KalpanaHey kalpana
why do you want to create just 1 data and message type?
is there any reason for that,usually we have to create data type and message type for JMS as well as for proxies.
are u confusing wid proxy?proxies replace adapters,they have nothing to do with data or message type.
is the structure of both sender and receiver exactly the same in ur case?
thanx
ahmad
Message was edited by:
Ahmad -
Review checklist - XI development
Hi,
Can you provide a set of useful points/checklist that we can use for reviewing XI work.
For e.g. i need to do a peer review of the scenarios developed by my team mates. it must cover sld, id, ir, alerts, mappings, proxies, bpm, adapters etc.
For a XI work based on PI 7.1, what could be additional review areas.
Thanks in advance.
Ganesh (g22sep).Thats a nice idea .
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/86bdc490-0201-0010-b9a2-b98373ea4dc4
There are many checklist available on XI and it can also be desinged as per the project requirement. However please some of the checklist which may be helpful for you in regards to XI:
Checklist - Making Correct Use of an Integration Process:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/98d06d5a-0401-0010-c7a5-ca3dad5a3cfc
Checklist: Making Correct Use of Mappings:
http://help.sap.com/saphelp_nw04/helpdata/en/d5/be364296f1b26be10000000a155106/frameset.htm
Checklist: Making Correct Use of Correlations:
http://help.sap.com/saphelp_nw04/helpdata/en/6d/94364296f1b26be10000000a155106/frameset.htm
Checklist: Making Correct Use of Dynamic Processing:
http://help.sap.com/saphelp_nw04/helpdata/en/ce/bb2c421f3fda2ce10000000a1550b0/frameset.htm -
Hi friends,
Can anybody explain me that how actually ABAP proxy works(in both cases clent and server proxy). when shuld we go for proxy.And how proxy seprates business application from technical infrastructure?
If u have any presentation or document on ABAP proxies ,plz send me
Thanks in advance
ShwetaHi
Adapters are part of the Adapter Framework. Adapters provide the technical connectivity to enable the integration of SAP and non-SAP applications through XIs Integration Engine.Again, Adapters are used for connectivity from and to external systems with XI that cannot communicate via proxies.Adapters are only required in SAP systems older than 6.20 and external systems.
Systems based on 6.20or higher can communicate directly with proxies.
Proxies
The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages.
Proxies are generated from Message Interface in IR.
The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with. The Proxy Runtime currently has the following components available: 1. ABAP Proxy Runtime Communication using XI or Web Services a. Web Service Runtime 2. Java Proxy Runtime Communication using XI (J2EE) The objects that the Proxy Runtime then controls are created via Proxy Generation, for both ABAP and Java. In the following sections a client proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context). Conversely, a server proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context).
Proxies are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions. You can use proxies for systems with WAS >=6.20
XI will communicate in native language with SAP systems via proxies. Proxies uses XML - SOAP based communication for both ABAP and Java Proxies.
mainly we go for proxies for adapters less communicaton there
Client Proxy: Proxies created out of Outbound message Interfaces.Here XI is receiving some information and is
acting as a client.
Server Proxy : Proxies created out of Inbound message Interfaces.Here XI sends the information to some other system acting as the Server.
we can create the ABAP proxy in ABAP workbench.
Use
Using ABAP the proxy generation function you can generate ABAP proxy objects to an SAP system from an interface description in the SAP Exchange Infrastructure Integration Repository.
Prerequisites
ABAP proxy objects can only be generated for SAP systems that are based on SAP Web Application Server 6.40.
The proxy generation retrieves the WSDL description of the interface from the Integration Repository using HTTP. The address of the appropriate server is taken from the exchange profile (parameters 1, 2, and 3 u2013 see below). Queries to the Repository are subject to authentication. The user and password for these queries are also taken from here (parameters 5 and 6). Information used to navigate from the ABAP Proxy Generation to the initial page of the Integration Builder is also taken from the exchange profile (parameters 1, 2, and 4).
How to create proxy.
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
How to Activate Proxy.
How do you activate ABAP Proxies?
ABAP Server Proxies (Inbound Proxy)
ABAP Server Proxies
OutBound Proxy (Client Proxy)
Smarter Approach for coding ABAP Proxies
ABAP Proxies in XI(Client Proxy)
File to R/3 via ABAP Proxy with good example
File to R/3 via ABAP Proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
Synchronous Proxies:
Outbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
Inbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
go thru the weblog How do you activate ABAP Proxies? which explains how to activate proxies
Check this for Use Of Proxies
Choose the Right Adapter to integrate with SAP systems
Hope this is useful and clears your doubts
Thanks
Saiyog -
Why is it better to use Proxies and not adapters
When I connect 2 systems via XI, i can use proxies (if supported by the external systems) or adapters.
The general view of SAP is that I should use (JAVA or ABAP) proxies where possible, and not adapters.
Why are these "better" than file adapter or idoc adapter (monitoring, error handling, performance, ?????).
thanks,
JanAs received from SAP :
Proxies support both Synchronous and Async. Connectivity - ALE/IDOC is only Async.
Proxies don't use standard IDOCS, but what you decide to use in the proxy def. on SAP side.
Proxies are only supported on 6.20 onwards.
I would use IDOC adapters for standard IDOCS - and if no ABAB knowledge is available for maintenance.
If there is a standard ALE scenario available - I would use it (eg. Masterdata replication).
If ABAB is already extensively used in the organisation and they are running 6.20+ - I would use proxies.
I would always prefer proxies for Synch. Communication - instead of RFC (if running 6.20+). -
Adapters vs. Proxies "Speed"
I am learning adapters now. We can use proxies for sap systems higher or equal to WebAS 6.20 (correct me if i am wrong) and adapters for lower versions. So i am wondering if we should always use proxies (because its faster) for versions higher or equal to 6.20. What are the advantages of using proxies instead of adapters and what are the disadvantages.
Thank you in advance.
Will reward all helpfull answers.Hi
Adapters are part of the Adapter Framework. Adapters provide the technical connectivity to enable the integration of SAP and non-SAP applications through XIu2019s Integration Engine.Again, Adapters are used for connectivity from and to external systems with XI that cannot communicate via proxies.Adapters are only required in SAP systems older than 6.20 and external systems.
Systems based on 6.20or higher can communicate directly with proxies.
PROXIES
Proxies are adapterless communication.To use proxy communication, you should have systems with Web AS>=6.20. Proxies are class implementation of your message interfaces.
There are two types in ABAP Proxy.
1.Client and Server Proxy.
The data going out from R/3 is called Client proxy( Outbound Proxy) and the data coming inside to SAP R/3 is called Server Proxy ( Inbound Proxy).
The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages.
Proxies are generated from Message Interface in IR.
The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with. The Proxy Runtime currently has the following components available: 1. ABAP Proxy Runtime u2013 Communication using XI or Web Services a. Web Service Runtime 2. Java Proxy Runtime u2013 Communication using XI (J2EE) The objects that the Proxy Runtime then controls are created via Proxy Generation, for both ABAP and Java. In the following sections a u2018clientu2019 proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context). Conversely, a u2018serveru2019 proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context)
.Adapters are used when existing applications in various heterogeneous systems (typically legacy systems) need to be integrated using XI. In such case, the development has already been done in these systems, and hence using various adapters, the integration objects in XI are developed. This is called inside-out approach
In case of adapters, the XI developer needs to know the technical details of the system which is to be connected to XI.
But in case of proxies, the developer directly uses the proxies in his applications, without worrying about the underlying technicalities for connecting to XI. So proxies hide technical implementation details from developers who use proxies
Actually the main difference between Proxy and Adapter is:
1. Proxies can only be used to SAP WAS 6.2 or more whereas adapters can be used for any SAP or non-SAP systems,proxies are created on the application system itself.
2.There are two types of proxies.Server and Client proxy.
Server Proxy is located in the destination and client proxy is located in the source.
3.Where as Adapter is located in the middleware i.e in XI box.
Adapters are all ready present in XI like File,IDOC,HTTP,JDBC etc.Proxies are designed by the user depending upon the scenario.
4.proxies are duplicates of adapters.
5.Proxies communicate with the XI server by means of native SOAP calls over HTTP
Just go through these links.
/community [original link is broken]://Re: Difference between Adapter an Proxy-Objects [original link is broken]:///community [original link is broken]://What is difference between Adapter and Proxy
Advantages of using proxy
1) If you have a huge idoc that has to be transferred to ECC, then ideal would be to use a proxy
2)With proxy we get a lot of control on defining the interface, better performance
3) RFC adapter sounds easy , looks easy but comes with a heavy cost compared to proxy.
The disadvantage of proxy is that it involves lot of custom coding.
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
Hope this clears your doubt
Thanks
Saiyog -
Disadvantages of proxies over Idoc and other adapters?
Hi Friends,
I am new to proxies in PI ,I searched so many forum queries on proxies but I did not find any on it.
My main idea is in what scenario we don't prefer proxies in PI.
I will be thankful for your response.
Thanks & Regards
RajHey Hi Raj,
The advantage and disadvantage depends on the exact requirement and scenariou2026
For example. If you want to have synchronous scenario you will go for Proxy or RFC
But if you want to build asynchronous scenario you will prefer to have IDOC
Following are few good threads which will help you a lot..
Advantages and Disadvantages of Proxy
advantages/disadvantages of different adapters
RFC or IDOC or ABAP Proxy
Thanks,
Bhupesh -
Need feasible one from Abap Proxies or RFC Adapters
Hi Experts,
I have two ways to do my scenario, either I can go for RFC adapter or ABAP server proxies. Out of these two I can't judge which one is good at performance.But I have a favour on ABAP proxies. Please comment on this and it would be more helpful if u provide related document on this.
ThanksHi.
As far as i have read and known, ABAP Proxies are best for performance.. Lets see what the other gurus say too .
Thanks
Sanjo
Maybe you are looking for
-
Apple Loops Utility does not work at all for imported file
I have imported an MP3 into Logic Pro 8, which converts it to an AIFF file, and am trying to configure the project to sync to that tracks tempo. From what I understand, I do this by opening it in the ALU and having it add tempo information to the fil
-
Verification of the existence of an email account and reading it through a procedure?
Good afternoon, I wonder if there is any possibility of verifying the existence of an email account through a procedure? And there is also the possibility to learn to read a particular email and store in a temporary table. Thank you
-
Installation/Config Problem with Sun Directory Server Control Center (6.0)
Hi All, I have recently attempted an installation of Sun Directory Server EE 6.0 on a x86 Solaris 10 machine. I have selected to install Core Directory Server and Sun Directory Server Control Center with my installation. After installation, if I chec
-
Integration of Weblogic Server 10.3 and Spring 2.5
Hello. I read that Weblogic 10.3 supports a Spring extension which allows Web component creation using Spring framework. http://e-docs.bea.com/wls/docs103/programming/spring.html#wp1079570 Has anybody tried this? In particuar, documentation says: "En
-
My I-Phone stopped working and won't reopen
All of a sudden, it just stopped and will nor re-open, is there anything I need to do