RFC and PROXY

Hi all,
i have a standard bapi which is at receiver side,and i neeed to update the data .it is asynchronous.can i use a RFC adapter or should i use proxy here?
Regards,
keerthi

Hi,
There are advantages / disadvantages for RFC / Proxies / Idocs.  Some of the differences are:
RFC and Proxy:
RFC/BAPI has its own overhead of function call.
Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
ABAP Proxies uses Webservice and Http Protocols.
If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
Proxy and Idoc:
IDOC : After recieving the strucutred data It processes it using a Function Module associated with it.
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
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
Regards,
Rajani.

Similar Messages

  • Choosing among IDoc, RFC and Proxy

    Hi every one,
    We have 2 SAP systems, one in the US and other in Kuwait.
    The project is in the proof of concept phase. To communicate between the systems, I have a choice to choose among IDoc, RFC and Proxy.
    Can someone direct me in this direction.
    What are criteria that should be considered in choosing one of the methods of communication.
    My other question is that,
    there might not be internet facility at the remote location that is in Kuwait. I thought of going for asynch communication...I hope I am right in this.
    Please correct me and direct me.
    -Naveen.

    I guess you should start with the scenarios that you have in hand.
    During proof-of-concept stage, you analyze what kind of scenarios that you might encounter in the real-world or during the build stage and choose the technology (RFC/IDoc/Proxy) to prove the end-to-end capability of building an interface.
    During the scenario evaluation stage, list out the "out-of-the-box" capabilities of both the SAP systems and come up with a decision tree of when to use RFC, IDoc or Proxies.
    Also make sure that you include quality of service and error handling capabilities. In case of IDoc's the error handling capability is all standard and you don't need to build anything from scratch.
    I guess these would be some criteria based on which you can evaluate which method to choose from.

  • RFC vs Proxy

    Hello ,
    We are working on JDBC to RFC scenario in SAP XI,
    We have to do
    huge functionality like calling  Two standard Transaction working on  two BDC programs and Creating the Log errors  and additional performs in side the RFc.
    IS it advisable to do like that..
    Or better to use Server proxy.
    If we use server proxy what are the advantages and issues in this scenario.

    difference between RFC and Proxy :
    *proxy is always better than RFc in many cases *
    Proxy Supports Synchronus and asynchronus Communicatio .
    proxy it is used to procees the Mapping and rooting on Integration Enginee bypass th Adapter Enginee so it will improve the performance.
    dont need to create Sender Communiv=cation Channel and Agreement in ID .
    proxy support more than 5 MB.
    proxy is used to control Application, Sysytem Error.
    supports Ackonwledgements
    supports Attachments
    but if u want to use Client Proxy then need to write REport.
    Rfc :
    RFc Supports Synchronus and asynchronus Communication.
    Dont need to write any Repotr.
    need to create Communication channels in ID.
    RFC Adapter :
    http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/frameset.htm
    step by step:
    http://www.****************/Tutorials/XI/RFC2JDBC/Index.htm
    proxy:
    http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/frameset.htm
    what is Server proxy and client proxy
    Client Proxy - https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387
    Server Proxy - https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1457
    Step-by-Step Guide on Proxy Runtime Configuration and Proxy to JDBC Scenario Using Canonical Objects and PIS in PI 7.1
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0ac1a33-debf-2c10-45bf-fb19f6e15649?QuickLink=index&overridelayout=true
    http://www.****************/Tutorials/XI/ABAPClientProxy/page1.htm
    refer below thread for more info:
    http://scn.sap.com/thread/2144939

  • Best Scenarios when to use IDOC Adapter, RFC Adapter and Proxy

    Please provide me links/weblogs which demonstrate the full scenario that when to use IDOC Adapter, RFC Adapter and Proxy when working with sender R/3 system.
    Regards
    Rachit

    Hi abhinash,
    Check these links for java proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    for ABAP Proxy ...
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    for RFC .....
    RFC-xi-SOAP Scenario
    How to send RFC response message back to XI File/FTP adapter?
    https://weblogs.sdn.sap.com/pub/wlg/3865//Troubleshooting [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Hope you will find them useful ..
    Regards
    Abhi

  • Regarding Error handling and customisation in RFC, Idocs and Proxy

    Hi,
    I wanted to compare RFC, Proxy and Idocs on the basis of the amount of customisation required in ECC when sending data from ECC to XI using the above stated means and also the error handling provided in these methods.
    Please let me know in detail if possible.
    Regards,
    Sampada

    Hi ,
    Check this blog to know when to use which adapter:
      /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    we use proxy in sap 6.0 version or higher.
    Basically used for adapter less communication
    & very high volume of data has to be transfered.
    Step for Configuration fo IDOC in R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
                                                                                    Regards,
                                                                                    Vinod.

  • Use EOIO on Sender RFC and outbound ABAP proxy calls

    In the comm channel of SOAP and FILE there is a simple flag to set for QOS = EOIO
    In Plain HTTP adapter a QOS parameter can be supplied.
    IDOC uses control record tricks or a Receiver adapter option.
    But what about the RFC and XI adapters.
    The docu states QOS of EOIO for RFC and XI adapters is possible.
    How is set for sender RFC and Sender XI adapters?
    regards
    Phil

    Phil,
    I was discussing with Michal about this.
    I suppose it is not fully EOIO, because you don't send directly from the outbound queue to the inbound queue. The AE service may not have a specific queue for that message, until the queue is associated in adapter module. Maybe (just maybe), if you get unexpected extra processing in the initial AE reception of the message (and hence, before the queue is set, in adapter module), you may have some inconsistencies with the processing order in sender system.
    But again, that is just a speculation.
    I'm not sure what is the behavior it'll have.
    And even if what I speculated is right, it is a really short amount of time.
    But again, EOIO would not be 100% guaranteed (maybe 99% hehe).
    But sometimes (most of the times) that is not enough.
    Regards,
    Henrique.

  • Which is better for bulk message scenario in sap xi RFC or Proxy

    which is better for bulk message scenario in ( RFC or Proxy ) ?
    Edited by: prabhatxi on Aug 6, 2010 4:44 PM

    Proxy will alwaays be better option in this case, as it is adapter less framework, and communication happens directly with XI central integration engine. So it is always fast communication and gives good performance.
    But still you should consider other factors, you may consider using RFC as well, as sometime we go for RFC/IDOC as this are the standard interfaces already available rather than creating structure...
    May be you can share more info on what type/volume data are you planning to send via XI?
    Hope this cleart your doubt..
    Divyesh

  • BAPI or RFC or PROXY

    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

  • "MAPPING" EXCEPTION_DURING_EXECUTE in scenario RFC TO PROXY

    Hello all
    I  am facing  a problem in a RFC PROXY SCENARIO and I don´t whether I can solve it .
    System A : R3
    System B : XI
    And my scenario is RFC TO PROXY. 
    i will implement the proxy in the ABAP  XI . For now I have entered no code.
    I have mapped an rfc from r3 to my data type . My message mapping , Interface maping works very well .
    When I start the program in R3 . I got the following error in the trace of sxmb_moni
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_MAT_</SAP:P1>
      <SAP:P2>java.lang.NullPointerException</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_MAT_:</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    How can make this scenario working ?

    Stan,
    Follow the steps below:
    1. Take the source XML message from SXI_MONI
    2. Save the xml message into your desktop.
    3. Log into Integration Repository and open the concerned mapping object.
    4. Go to test tab and upload this xml at the source side.
    5. see whether everything is green at source message type.
    6. execute
    7. you will find the error in the log immediately after executing
    see for the error and take appropriate action.
    Best Regards,
    Kiran Bobbala

  • Why is a sender communication channel not required for IDOC and PROXY ?

    Hello,
    In case of IDOCs, metadata will be available in PI for the IDOCs used both at inbound and outbound.
    Why is a sender communication channel is not required in case of IDOC and PROXY outbound scenarios (i.e. IDOC to File or PROXY to file ..)  when a receiver channel is required for scenarios like file to IDOC or file to PROXY.
    Though this might be a regular question, I am not able to find a proper reason.
    Please let me know the reason for the above request.
    Thanks & Regards.

    You will create RFC destination in ECC , it will have details about PI system details, when ever you send IDoc, ECC will use Port and RFC destination to connect PI Integratiion engine to deliver data to PI.
    But when receiver side you will create RFC destination in PI with ECC details, but to call RFC destination and Port we need medium that was the reason we create IDoc communication channel.
    Even the same case for Proxy also, but HTTP deastination establish the conection between ECC and PI, but receiver side you have to create XI channel with PI integratioin engine adress to post data.
    Regards,
    Raj

  • Query on using RFC or proxy

    Hi,
    I  have a scenario which is from SAP to PI to Legacy. The legacy system is giving a wsdl file.And from SAP we have a standard BAPI available. I am thinking of going for a RFC-PI- SOAP scenario. But there are discussions going on to use Proxy. Please let me know which would be the feasible option using RFC or proxy at the sender.IT is a synchronus
    Thanks

    is depends upon the requirement- if u have std bapi of RFc available for the same requirement then go for that and if not then u can create ur custom program to send the data through proxy...proxy will have added advantage of performance..over RFC.
    chirag

  • IDOC and Proxy

    Hi friends,
      I am having a doubt regarding IDOC, RFC  and Proxies.
    Now-a-days in real time ,which are in use IDOC Adapter   or proxies....
    in case of communicating between two SAP systems.

    Hi raju
    <b>Adapters</b>
       Connect existing (legacy) systems to XI
       Specific wire protocol
       Interface semantics externally pre-defined
      Outside-in development approach
    <b>Proxies</b>
      Connect new SAP applications to XI
      Native connectivity to Application system (adapter-less)
      Interfaces designed centrally in Integration Repository
      Inside-out development approach
    c) RFC adapter- Remote funtion call maps RFC to Xml message and viceversa
    In XI 3.1 we can use RFC.
    >= Netweaver AS 6.2 we can use proxy in XI
    Proxies are mostly used to communicate with two SAP system
    with regards
    Gabriel

  • What is the difference between rfc and idoc

    hi,
       My name is rambabu.can anyone of u please tell me the main differences between idoc and rfc??
    Thanks in Advance

    hi Ramesh,
    Remote Function Calls (RFC) and data exchange through IDoc
    message documents. RFC makes direct and synchronous calls of a program in
    the remote system. If the caller is an external program it will call an
    RFC-enabled function in R/3 and if the calling program is the R/3 system
    it will call an RFC-function in another R/3-system or it will call a
    non-R/3 program through a gateway-proxy (usually rfcexec.exe). BAPIs are
    a subset of the RFC-enabled function modules, especially designed as
    Application Programming Interface (API) to the SAP business object, or in
    other words: are function modules officially released by SAP to be called
    from external programs.
    IDocs are text encoded documents with a rigid structure that are used to
    exchange data between R/3 and a foreign system. Instead of calling a
    program in the destination system directly, the data is first packed into
    an IDoc and then sent to the receiving system, where it is analyzed and
    properly processed. Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls
    and IDoc data exchange is the fact, that every action performed on IDocs
    are protocolled by R/3 and IDocs can be reprocessed if an error occurred
    in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE
    are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to
    deliver data to the receiving system. ALE is basically the scheduling
    mechanism that defines when and between which partners and what kind of
    data will be exchanged on a regular or event triggered basis. Such a
    set-up is called an ALE-scenario.
    Regards
    Sreeram.G.Reddy

  • RFC to Proxy

    Hello Experts,
    We are converting our all interfaces from RFC to Proxy for better performance...
    Just wanted to know that for the Data types that we are going to use in place of RFC, for proxy, do we need to develop it on our own or is there any way that we can directly copy it from RFC?
    Thanks and Regards,
    Hetal

    Hi Hetal
    Are you using the Imported RFC?. DT which you used earlier can be exported out. When you create DT click on tag XSD. Then export it.
    Use the same XSD imported as external definition for any use.
    Imported RFC i think will be exported as WSDL. You can use WSDL also for your use.
    Using External definition you dont need DT. Directly create MI with inbound or outbound.
    in MM you can use external definition directly
    Thanks
    Gaurav

  • SAP Explorer and Proxy generator 2008

    Hi experts,
    I'm trying to use the Aconcagua IT SAP Explorer and proxy generator 2008 with microsoft visual studio 2008,
    and I'm facing a problem. The version of Aconcagua plugin  in is evaluation.
    I am able to connect to SAP server and see the list of all Z* function RFC enabled, but when I try to generate the Client proxy
    I receive the exception message :
    Cannot build the proxy of "name function" .
    Exception: The method or operation is not implemented.
    Anyone has some experience in using this plugin?
    The ABAP function I'm calling is correct and RFC enabled,
    am I missing some step?
    I loaded the references of Aconcagua including SAP.Connector and SAP.Connector.RFC, but I'm not able to add
    librfc32.dll.
    Please help, I have to develop a call from C++ to SAP system quikly!!
    Thanks in advance,
                                   Paolo F.C.

    Hi Amadeusz,
    Well, it explains why ES Explorer Tools Options is not available.
    It is very important that Visual Studio will be closed during ES Explorer for .NET installation.
    I would suggest you to close all open Visual Studio instances, uninstall and then install again ES Explorer for .NET.
    Regards,
    Rima.

Maybe you are looking for