What is a Proxy, specifically ABAP Proxy?

Hi,
Friends, I need some basics about proxy , ABAP Proxy with respect to SAP XI.
1.Why do we need a ABAP proxy?
2.For what do we use a proxy and what are the uses and applications of proxy?
3.What all do we need to create in IR and ID to work with ABAP proxy?
If we have any good blogs giving a detailed explanation of all the queries, it would be highly helpful.
Thanks in Advance.
Younus

Hi Younus,
There are two types of proxies in ABAP:
1)ABAP Client Proxy
2)ABAP Server Proxy.
ABAP Client Proxies are used to communicate the R/3 system to XI. And where as ABAP Server proxy is used to communiate the XI system to the R/3 system.
ABAP Client Proxies are created using the Outbound Message Interfaces and ABAP Server Proxies are created using the Inbound Message Interfaces in the Application system using sproxy Tcode.
These proxies will directly hit the integration engine of the XI server and thus reduces the use of adapters.
When you generate the proxies using Tcode SPROXY in ur application system then u have to:
>>> write your own abap code in the interface to manage data if that is an Inbound Message Interface.
>>> In the case of  Outbound interface then write a report and invoke the appropriate method (eg:execute_asynchronous or execute_synchronous) to trigger the proxy.
The great advantage  of proxies is XI native protocol usage. It doesn't require more ABAP. The ABAP code is the same you would put in a function module.
>>><b>What all do we need to create in IR and ID to work with ABAP proxy?</b>
If u r defining the Client abap proxy then no need of sender communication channel and sender agreement.
While in the case of Server abap proxy u need an XI adapter in the receiver communication channel to communicate with the R/3 system.
The use of adapter here is to communicate the IS with respective to the application s/y.
Remaining all the stuff is same as the normal scenario.
<u>Check out dis blog for ABAP Client Proxy:</u>
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
<u>ABAP Server Proxy:</u>
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
Hope it is clear.
Regards,
Prasanthi.

Similar Messages

  • Queue specific ABAP Proxy in ECC

    Hello Experts,
    I've a service interface abap proxy-based and I wanna assign it to a specific queue of tcode smqr.
    My main goal is ensure that every message of one specfic interface will get only one specific queue.
    Does anyone knows if it's possible and how?
    Best Regards,
    Bruno

    Hi Stefan,
    How about Step no 1 :
    1. Create RFC destination (TCP/IP) LCRSAPRFC and SAPSLDAPI for the SLD connection.
    1.Execute transaction SM59 in the business system.
    2.Choose Create.
    3.Enter at least the following:
        1.RFC Destination: LCRSAPRFC
        2.Connection Type: T
        3.Description: <your description>
        4.Choose ENTER.
        5.Choose the Technical settings tab page and do the following:
        6.In the Program ID field under Registered Server Program, enter LCRSAPRFC
        7.This program ID must correspond to a program ID specified in the RFC engine settings of the SAP J2EE Engine on the Integration Server host.
    Because i have done this configuration in my application but the failed to test connection ?
    Regards
    Fernand

  • Java Proxy and ABAP Proxy

    hi,
    can any one send me some documents on Java Proxy and ABBAP Proxy
    regards,
    John

    hi,
    Proxies are nothing but a mechanism to shift the application logic from the XI server onto the sender or reciever 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 is favoured and possilbe,for more on this please go thru the following links
    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.
    The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
    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. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.
    The Proxy currently has the following components available:
    1. ABAP Proxy – Communication using XI or Web Services
    2. Java Proxy– Communication using XI (J2EE)
    For further reference, visit the following sites,
    To test a connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Testing proxy - /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    JAVA Proxies:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP Proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    ON SDN TV
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#

  • Problem Mapping to ABAP Proxy

    Hello,
    I Have a very strange error.
    So i send a Message from Java Proxy ->to-> ABAP Proxy.
    The Mapping is a XSLT Mapping.
    The Mapping everthings fine but the ABAP Proxy get and error like:
    Error during XML => ABAP conversion (; error ID: ; ( ))
    ....CREATE_TRANSACTIONS(1)IT_TRANSACTION(1)item(1)OPERATORQUAL(9) Error Text: Data loss occurred when converting 9134408  Kernel ErrorId: CONVT_DATA_LOSS))
    Ok the error is normally not so strange, but in my XML Message the tag OPERATORQUAL is empty. The 9134408 ist the last filled tag for the OPERATORQUAL.
    Why the ABAP Proxy think there is something in ?
    I checked the XML and there is nothing.
    But when the proxy think there is something like 9134408 that the error is normal, because the field has only except only 1 Char Values.
    Any Idea whats going wrong?
    Regards,
    Robin

    Hi Udo whats up ? ,
    Mappings all works fine.
    Problem was that blanks was there in the XML Tag that you can't see in the XML view.
    This blanks came already from Database.
    Know i kill all blanks in XSLT Mapping and it Works !
    see you soon and regard from zagreb,
    Robin

  • Using ABAP Proxy

    I am researching a way to integrate SAP system with ABAP Proxy. I have sevareal questions.
    1. Is it possible to use XI alerting for ABAP
    2. Is it possible to use application acknowlendgement with asynch ABAP Proxy.
    3. When I generate ABAP class in SPROXY transaction do I need to change it by hand or I can to map this proxy to RFC function or BAPI? Is it possible to generate interface in XI by BAPI or RFC and then generate ABAP Proxy?
    What is  the advantage of ABAP Proxy? I think it requres more ABAP coding...
    I have read some blogs but I haven't got answer

    Hi, Sergey.
    I can try to answer questions 2 and 3. Regarding 1, unfortunately, I haven't tried yet.
    <b>2. Yes, definitely.</b>
    If you are programming a client proxy (outbound, that is sending data to XI and then to another system) you can require ack and in case the receiver system is able to produce ack (for instance inbound ABAP or Java Proxy), it will be routed back to the sender system.
    If you are programming a server proxy (inbound, that is receiving data from XI), raising an exception inside ABAP code will put the R/3 message in "Application Error". The fact that this ack is routed back to XI and to the sender depends on who sent the original data to your proxy: as far as I know, just BPM is able to require ack.
    <b>3. Don't confuse RFC with Proxies.</b> The technology behind is really different. Either you use RFC/BAPI stuff (and in this case from an XI perspective you are using RFC Adapter) or proxies (using XI Adapter).
    When you generate with SPROXY you have to:
    1. write your own abap code to manage data if that's an INBOUND MESSAGE INTERFACE
    2. nothing if it's an OUTBOUND MESSAGE INTERFACE, except find the right point in the system where to invoke it (report, customer exit, module pool or whatever).
    Finally, the great advantage of proxies is XI native protocol usage. It doesn't require more ABAP. The ABAP code is the same you would put in a function module. The difference is that with proxies you are in an ABAP Object context, which is not the case of functions.
    Hope this is exhaustive for you!
    Alex
    Message was edited by: Alessandro Guarneri

  • How to trigger ABAP proxy

    hai all,
    i am trying to do a scenario using abap proxy,
    i created two proxies in the different clients of the XI box itself.
    when iam giving test data iam able to check it out.
    when iam trying to pass the dat from the proxy it is not hitting the XI even.
    can any one explain me
    what is the procedure to send the data from that proxy.
    regards,
    madhav

    Hi Madhav,
    yes u have to write a report.the report will trigger ur client proxy.in ur report u will have to call the method "execute asynchronous/execute asynchronous" of proxy.the main code will be under the method execute asynchronous/execute asynchronous(there u may call a FM to push data from proxy to XI or u can directly write code to push data).
    So first write ur code inside proxy.then trigger it thro' a report.
    check these blogs.There u will get sample report programs.
    ABAP Proxies in XI(Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy (Receiver Proxy)-
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Debug your server proxy
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    ABAP Proxy to file
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    regards
    BILL
    Use a Good Subject Line, One Question Per Posting - Award Points

  • Idoc syntx error me21 , abap proxy call transaction

    Hi Experts,
    I am struck with the below problem, could you please shed some light on the issue, appreciate your help and  rewarded.
    scenario:
    XI sends NEW PO message to abap proxy, in abap proxy we populate bdc_tab
    and call ME21 as below
    CALL TRANSACTION  'ME21' using bdc_tab mode 'N' update 'S'  messages into messtab.
    problem:
    EKSEKS01 idoc is getting created with syntax error status code :26  in ECC5.0
    only 5 sigments are generated in the idocs. the three segments ( E1PISHO, E1PISIO,E1PISSO not generated).
    after transaction executed it returns subrc 1001, msgid--> ME, MSGNO --> 218.
    Thanks In Advance.
    Ranjit.

    Hi Atish and Nishant,
    Thanks much  for the immediate response.
    1.Would like to know what is the mandatory data to be passed for PO creation in BDC table.
    2. Is there any user exit or where the idoc creation happens during me21 execution.
    I have verified the po in we02 , as before mentioned the three sigments are not getting created and i am not sure the reason.
    Note: We didnot have any output configured in ECC 5.0 for this idoc to be created.
    I am really not able to locate in debug mode FOR  ME21, where this ekseks01 idoc getting created and triggered.
    Appreciate your help.
    Thanks in Advance.
    Ranjit.

  • Use dynamic configurations inside an abap proxy

    Hi,
    is it possible to set dynamic configurations inside an abap proxy?
    Inside an abap-mapping I can use "CALL METHOD DYNAMIC_CONFIGURATION->SET_RECORD".
    What's up with an abap proxy?
    Regards
    Wolfgang Hummel

    Hi,
    Not Possible.
    Thanks!

  • ABAP Proxy - BASE64 content

    Hi,
    We have a requirement to send content in base64 encoded binary form. We have done all the encoding in ABAP and the BASE64 content is available in internal table.
    We need to use ABAP proxy to send the data to XI and further to target client via http. The target message have a field called <Data> </Data> and i need to upload all encoded in that field. Is that ok or will the XML be invalidated? I am surprised that the third party asked me to upload in normal field of XML.
    What should i declare in ABAP proxy? What is the best approach to send these kind of data in PI?
    I have been hearing about something called <CDATA> where it is safe to send data in this as it ignores the content. How do i declare these in XI?
    I was told that in normal XML if we add <content encoding="base64binary">then that XML will be parsed without any issues.
    Regards
    Sam

    Hi Sam,
    XML will not be invalidated if you upload all encoded data in one field.
    Also you can take care of Base64 encoding in PI itself.
    Check the below links.
    In PI
    http://scn.sap.com/thread/3253305
    http://scn.sap.com/thread/3409633
    In ECC
    http://scn.sap.com/thread/124427
    Regards,
    Pranil.

  • ABAP Proxy Vs IDOC

    What are all the advantages ABAP Proxy has over an IDOC?
    When to go for an ABAP Proxy?

    Pete,
    <b>Proxy and Idoc:</b>
    IDOC : After recieving the strucutred data It processes it using a Function Module associated with it. If you have a standard Idoc for your requirement then you should go with Idoc only.
    Proxy : Proxy is a structure where there is no processing function module associated. You need to explicitly write the Business Logic/Call the subroutines here
    This is my absolutely my view. Another guy has his own response. So first go through your requirements and then you can decide for what to go.
    Also go through this urls which may help you:
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    RFC VS PROXY
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Re: IDOC and RFC
    Re: Proxy Vs IDOC
    ---Satish

  • Client ABAP Proxy

    Hi All,
    Good afternoon. I have one requirement to work on to work on FILE->XI---->RFC(synch) scenario using BPM. I am new into BPM. Any body have the step-by-step documentaion, please send me ASAP.
    I am very thankful to you in advance.
    Thanks & Regards,
    Nagarjuna.

    Hi,
    Ur subject is about Proxy and in thread ur asking about File to RFC,
    Check this link.
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    - File to RFC
    About abap proxy.
    ABAP Proxy
    How do you activate ABAP Proxies?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    ABAP Proxy Runtime
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    ABAP CLIENT PROXY
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    ABAP SERVER PROXY
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    To test a connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Some links on BPM
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
         /people/prasadbabu.nemalikanti3/blog/2006/03/10/bpmsingle-sender-and-multiple-receivers-based-on-synchronous-exchangeswitch-part-1
                /people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time
    Regards,
    Phani
    Reward points if Helpful
    Edited by: phani kumar on Feb 25, 2008 11:44 AM

  • RFC(ABAP Proxy)-------XI-------- FILE Asynch

    Hi All,
    Good evening.
    Please let me clear one thing, the message automatically comes into XI when executing proxy at R/3 side? or we have to send from RWB by using the path
    component monitoring-->Proxyruntime----->sendmessage
    there we paste the message from SXMB_MONI of R/3?
    Please clarify my doubt ASAP.
    Thanks & Regards,
    Nagarjuna.

    Hi
    You can test the scenario from SXMB_Moni of R/3.
    Or you can call the execute_synchronous method and the whole scenario will work fine.
    Please refer below scenarios
    File to R/3 via ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
    ABAP Proxy Runtime
    http://help.sap.com/saphelp_nw04s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    Setting Up Point-to-Point Connections with proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
    Reliable Messaging – EOIO in ABAP Proxies
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    Thanks
    Swarup

  • Code to use ABAP proxy

    hi all,
    can anybody please send me any sample code to call ABAP proxy.
    the ABAP proxy is already being created and i have all the class and methods names.
    i have to pick up some fields from a Z-table and have to send them as a message to XI.
    thanks in advance,
    shweta upadhyay.

    data:
    lo_clientproxy     type ref to <clinet proxy class name> ,
      lo_sys_exception   type ref to cx_ai_system_fault,
    Structures to set and get message content
       ls_request         type <type created in the clientn proxy generation>,
       ls_response        type <type created in the clientn proxy generation>,
    create object lo_clientproxy.
    try.
        call method lo_clientproxy-><method to call>
          exporting
            input  = ls_request
          importing
            output = ls_response.
      catch cx_ai_system_fault into lo_sys_exception.
      Error handling
    endtry.
    commit work.
    Regards
    Raja

  • Sync Async using proxies ( Calling Outbound proxy from Inbound proxy )

    I'm trying to generate Asynchronous Outbound message from the Synchronous Inbound message message  due to a requirement. My question is : is it really possible to develop such a scenario?. I'm getting weird error such as Kernal exception etc. Please let me know if you have developed such scenario and what should we do dfifferently in such scenarios?. Thank you for any suggestions.

    Hi,
    This error has has nothing to do with Calling Outbound Proxy from from Inbound Proxy. The scenario which you are telling is very much possible.
    It looks like there is some problem in your proxy code while calling RFC from within there or something like that. Try catching the exception and see what is the exact error or put in debug mode and see the step where exactly your code is failing.
    Use the following links for Catching Exception in Proxy
    Inbound ABAP Proxy Trace and error handling
    Handling Exceptions
    ABAP Server Proxies - Fault Handling
    Exception handling in integration processes
    ABAP Proxy and fault messages
    /people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation
    Thanks
    Amit
    Reward point if answer is helpful

  • What is package structure for Client ABAP Proxy?

    1.     What is the package structure need to be  followed for creating abap client proxy.
    2.     I read some where in the form, it need to be 4 levels. Why is it?
    Thank you
    Ganges Leaves

    Hi
    U hav to create a 4 level package structure for client ABAP proxy.
    U can create ur on packages
    1st level-structure package.
    2nd level-main package.
    3rd and 4th level-sub packages.
    To the 4th level only u hav to create proxy.
    The classes and code wil be automatically generated at the time of proxy creation.
    I think the 4 level structure bcz while in r/3 everythin in integration builder like software component version and all wil be takin as different levels.
    Also u can go through the weblogs in the above replies u got.
    Regards
    Victoria.

Maybe you are looking for

  • Video newbie needs help with multicam editing

    Hi all, My video editing experience is limited to a few iMovie projects, which you can view on YT (search for TheChampsTube).  For our final gig we did a 3 camera shoot, which was supposed to be produced by the videographer.  But he dropped the ball,

  • H:messages tag

    How do i control the order of the messages. Suppose if i add messages 1,2,3 ..., it displays in random order. It is not displaying the messages in the order it is added . Is there any attribute ? or is there any otherway to acheive the ordering . If

  • Changing Passwords in RDBMSRealm

    I can't seem to find an API that allows passwords to be changed within RDBMSRealm. I've tried simply deleting and recreating the user, but re-adding the user to his groups fails within RDBMSRealm - apparently the realm still thinks that the user is a

  • Retrieving Annotations from iBooks

    I've made notes in a novel, in .epub format, using iBooks on my iPad. Now that I've finished, I want to retrieve the file so I can look at the notes on my computer and email them to the author. How can get these notes/annotated book off of my iPad? T

  • SAPGUI7.10rev9 on 64bit Linux - Connection failed

    Hi, I installed SAPGUI7.10rev9 on 64bit Linux and try to connect to the SAP Netweaver2004s Test Drive. The connection failed: Attempt to load shared library /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so failed. The library file exists, so either t