Proxy over RFC

If we have a FM which is not RFC enabled then which is a better option and why:
whether to create another RFC and internally call this FM in it
or
use ABAP proxy to do the job.
If ABAP proxy is a better choice based on SAP standards the procedure for doing that would be helpful.

HI
ABAP proxy will be better way to do it. RFC do have lots of limitation as well that you can avoid like number of connections etc. You can reach customerization of the level you are intrested using Proxy
Moreover you dont need to touch original RFC FM for making calls.
ABAP proxy is not the only solution we do work on Wrapper over RFC as well for achieving the desired requirement before implementing proxy
Thanks
Gaurav

Similar Messages

  • SAP R/3(Client100 using Proxy)---- XI----- RFC(SAP R/3 client 222) Scenario

    Hi all,
    I have the requirement to work on SAP R/3 ( with client 100 by using outbound Proxy)-->XI--->RFC(R/3 Client 222).
    i have done IR & ID Part. Now i am going to create Report in R/3 side (100 client). But, it is synchronous, i am getting so much confusion. Please help me how to write the code for it.
    The RFC is BAPI_EXCHANGERATE_GETDETAIL.
    I created Request message, Response message for sender.
    The message mappings are as follows:
    For Request:
    Sender Request------> BAPI Request
    For Response:
    BAPI Response---->Sender Response.
    Interface mapping
    Sender Interface---->BAPI.
    Request message contains the fields:
    Rate Type,
    SourceCurrency,
    TargetCurrency,
    Response Message contains:
    Exchange rate,
    FactorFromRatio
    FactorToRatio.
    Please try to understand this requiement and help me to write code for this.
    Thanks in advance.
    Regards,
    Nagarjuna.

    Hi Nagarjun,
    If you look at the exporting and importing paramters of your Method EXECUTE_SYNC...
    You would find the abap equivalent of your Message Type.  Hence you know all the fields.
    No it depends on the business Logic, or ratheer what the RFC is suppose to be requested for is filled in an an Input paramter to the Method. 
    This can be an IDOC To, in that case your MT should be similar.  Fill in the transmiaaion IDOC values.
    OR you can Actually harcode the values, make your Itab, and send it across ( as this is just for test purposes )
    Hope this helps.
    Regards
    Abhishek

  • How to handle HTTP-POST encrypted data for ECC Using proxy or RFC

    I have a scenario HTTP-POST ->PI->ECC.sender is HTTP Post  send encrypted data i need to handle the data and stored in to SAP ECC  with out decrypt using PI .what should i take for receiver  can i use inbound proxy or RFC  and how can handle the encrypted data  for decrypt.
    Regards
    Ravi

    1. my sender is HTTP POST . what should i configure in sender communication channel in SAP PI .like SOAP or HTTP .What are the parameters i need to pass .
    >>>
    If you are on PI 7.3 and above, configure the HTTP AAE adapter - Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
    2.while using inbound proxy for encrypted data  i need  store the data in to table , the same proxy can i call  another outbound  service for decrypt  same data.
    >>>>
    Yes you can always a proxy within a proxy.

  • Java Proxy - XI - RFC Synchronous Scenario OUTBINDING Problem.

    Java Proxy -> XI -> RFC Synchronous Scenario. Problem
    Hi,
         I'm doing a Java Proxy -> XI -> RFC Syncronous Scenario.
         A Java Server Socket is running as a Demon. When a client make a request to the Java Server Socket, this one call Java Proxy Client and set up the parameters.
         The first time that execute the scenario it works perfectly but no the next one and so on.
         The error when I check the monitor (TCODE: SXMB_MONI) is in PLSRV_OUTBOUND_BINDING.
    <Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV">
      <Trace level="1" type="T">no outbound binding found.</Trace>
      <Trace level="1" type="T">No standard agreement found for , DES210_DEV, , JPX_DEV, urn:servipago:SERVIPAGO_SAP_02, mi_os_t1</Trace>
    </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    And it has sense, because my scenario doesn't begin with the execution of FM (RFC).
    A Hint, my services in the first try are:
         <b>Sender Service:</b>          JPX_DEV (Java Proxy Client)
         <b>Receiver Service:</b>     DES210_DEV (R/3 4.6C)
    But the second try and so on the services that I saw in the monitor are:
         <b>Sender Service:</b>          DES210_DEV (R/3 4.6C)
         <b>Receiver Service:</b>     JPX_DEV (Java Proxy Client)
    I can't understand why they swich each other.
    Any idea?

    Hi,
    Outbound binding problem is because of Reciever Determination/Agreement is not activated or refreshed correctly.
    Try to recreate or refresh and activate it. Then check it.
    also do the cache refresh in SXI_CACHE.
    Also in go to Integration Builder(XI home page)->Administration->Cache Overview and do all the cache refresh.
    Hope this helps
    Regards,
    Moorthy

  • Advantage of Enterprise Service over RFC

    Hi All,
    What benefits does using an SAP Enterprise service provide over an RFC?
    thanks,
    Piyush

    Hi,
    Most important advantage of ES over RFC is harmonization and open standard compliance (SOAP, WSDL, XML etc). While RFC is perfect if used only close connected SAP infrastructure but it is not open for consumption with cross-system usage.
    Harmonization: while fileds in RFC will only make sense if you have worked in ABAP otherwise they are like greek to you (or other application developers), with ES data fields are harmonized and they are more acceptable across s/w vendor base and developers.
    Standards: ES is like any other webservice is based on standards which is open for adoption and supported by almost all modern programming language. So everyone speak the same language.
    Regards,
    Gourav

  • Advantage BAPI over RFC

    Hi,
    I like know the difference between BAPI over RFC. I know this question answered several times thru this forum. But still i have not clear about the advantage BAPI over RFc.
    All RFC-enabled function modules can be accessed from the outside, irrespective of whether it is a standard BAPI, a user-defined BAPI or a "normal" RFC function module.
    I like to know what will be the real advantage to create custom BAPI instead of RFC function module. I know the BAPI will create a BOR. in that case what will be the advantage of an BOR over RFC call. I neither see a technical nor a business advantage having a user-defined BAPI instead of a normal RFC function module.
    Anybody please give some info over BAPI over RFC.
    Thanks for your replies.
    aRs

    Hi,
    BAPI are RFC enabled function modules.
    The difference between RFC and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. In this case u only specify the business object and its method from external system. in BAPI there is no direct system call. While RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    *The advantage of using BAPIs over using RFCs is that using BAPIs requires no ABAP programming knowledge. You use BAPIs from standard programming languages such as C++ and Java. *
    Check these links too..
    http://help.sap.com/saphelp_46c/helpdata/de/cf/8ccab761ea11d2804a00c04fada2a1/content.htm
    Difference between Function Modules, RFCs and BAPIs...
    Hope it is useful.
    Regards,
    Kumar
    Message was edited by:
            kumar kk

  • ABAP Server Proxy OR RFC - for attaching a file

    Hello ABAP gurus,
    Just to give a brief background, systems involved are ERP and PI
    Certain Files (3 files to be exact) are generated in the ERP directory/file system
    I need to transfer these files to PI "without" using the readily available FTP/NFS adapters (this is a limitation - no use of direct FTP is allowed)
    Making the directory as a "shared" directory between ERP and PI is also not an option.
    With the scenario above, I though of using an RFC or an ABAP Server Proxy to attach the said files to send them to PI
    Which is the better way to do it?
    I've seen a documentation for the ABAP Server Proxy that makes it possible to attach files to the proxy message, but for RFC I don't know if this is possible?
    Your expert advise is highly appreciated

    hI,
    Use class CL_PROXY_CLIENT in the program and method IF_PROXY_CLIENT~EXECUTE.
    You can refer documentation of this class as well as if you will search on any search portal using name of this class, you will get the briefe idea with the refernce procedure too.
    Unfortunately I am unable to post you few links but try search on it, hopefully you will get it.
    try below link.
    <link to blocked site removed by moderator>
    Edited by: Thomas Zloch on Oct 7, 2011 10:37 AM

  • Web Service to ABAP Proxy, Calling RFC from ABAP Proxy

    can any body send me the notes or Step by step process of Webserice of calling RFC using ABAP proxy, I am new to XI. send me detail process of this perticular scenarios

    Hope this helps
    /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
    also refer to
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Rgds,
    Kumar
    Message was edited by:
            Kumar

  • Proxy vs RFC

    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.

    Hi
    it always preferable to use Proxy.....and rfc are used when you donot have any alternate options....
    SAP always advice use proxies and avoid RFCs
    as you know that adavantage of proxies:1. its adapterless communication
                                                               2.it is out of box.
    Kunaal

  • Proxy or RFC or IDOC?

    What way is better to connect from XI to web as 7.0?
    In what cases is better to use rpoxy then RFC or IDOC and in what cases is better to use RFC or IDOC then proxy?

    Hi,
    <b>always use IDOCs when possible</b> - error handling etc.
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Synchronous Proxy vs RFC

    Cant we use Synchronous RFC instead of Synchronous Proxy if we have to make a Synchronous interface which have RFC on the other side.
    Please confirm if the below scenario is possible or not, provided that both the systems are ECC 6.0
    Request:  RFC 1----> XI -
    > RFC 2
    Response RFC 2 -
    >xi -
    > RFC1

    Kalyan,
    Sure, We can use RFC
    Cheers
    Agasthuri Doss

  • WEB AS - XI over RFC

    Hello,
    I have a web as partner and he will send data over his WEB AS (JCO) to XI. Can I take the RFC Adapter and where I get the Program ID or is there an other way to registrate the rfc?
    Kind Regards Johann

    Hi,
          in your scenerio, u r using sender RFC adapter. For that you hav to make a RFC Adapter in communication channel and put an arbitary Program ID name. Then Us the program Id name and create a TCP IP connection in R/3 in SM59. There select the REgister Program ID  option and pur the Program Id name. Put the correct Server gateway and host, validating it from SMGW save and go for the test connection. Create your RFC and send data in XI.. it is sure to work..
    Arnab
    Edited by: Arnab Mondal on Sep 17, 2008 8:58 AM

  • Error in Proxy to RFC

    Hai All,
    Plz have a look at my scenario.
    I am using proxies in my XI system itself .
    landscape is XI--->R3
    thatsit.
    So here i have taken Two clients in XI lets say 105 and 100.I set
    clnt105 is an APPlication System where as clnt100 is my Integrationserver.
    Coming to the R3 iam using clnt900.
    i created three business systems lets say BS_XICLNT105(APPL),BS_XICLNT100(IS),
    BS_R3CLNT900(Appl).
    My business system(BS_XICLNT100) for XIClnt100 is Integration server that i defined in SLD.
    And wen i created the other two Business systems(Applications) it asked for the related integration server then i defined business system called BS_XICLNT100 (which is our integration server )for both the business systems.
    Then i configured the objects based in BS_XICLNT105(APPL as sender) and BS_R3CLNT900(APPL As receiver).
    In SXMB_MONI i am getting an error called Recievr not found.
    But the message is going to IE.Its not recognizing AE due to recever problem.
    Do i need these steps.
    Step1.I mean any configuration or Connection is required for communicating the IE in XI and R3 application.
    Step2.Or else I need to change the SLD part for Technical syst and Business sys.
    Step3.I think XIAPPLUSER password is  wrong.How can i reset that.
    Any Suggetsions???
    Regards,
    Kalyan.

    Hi
    There can be number of reasons for this,,,,
    lets move one by one to diagnosis...
    firstly,,, in Integration directory, using configuration test tool,, is every thing fine.. ??
    if configuration tool is showing every thing fine,, than u need to check few  things...
    the message being sent and URL being used should have correct (sender) namespace and sender system defined init.. do check this... to check this more.,.. copy the message from Sxmb_moni (sender side ) and paste it in message mapping test in IR and see if it  parse through correctly
    if  still no clue...
    go to rwb->adapter engine-->communication channel monitoring
    and check the status of your communication channel
    if still every thing seems fine,,, check the j2ee log and do share it with us
    moreover i dont think u need reset ur appluser pasword,, because in that case u would have recieved authorization error straight away...
    hope things get fine for you,,
    good luck
    regards
    Zahid

  • TADIR over RFC / RFM

    Hi,
    Does anyone know of a remote-enabled function module (RFM) that would allow me to insert object directory entries into TADIR? I've found TR_TADIR_INTERFACE, which is perfect for what I need, but its not remote enabled.
    I could write my own ABAP RFM which wraps around TR_TADIR_INTERFACE, but I'm writing a widget that I want to share with others, so I'd rather use standard SAP RFM if at all possible.
    In case anyone is wondering, I'm wriitng an Eclipse plugin for Adobe Flex which allows you to export the compiled Flex applications into SAP as MIME objects. I can export the MIME objects into SAP fine, I just can't create directory entries for them, and therefore can't transport them
    Many thanks
    Graham

    Hi Piers,
    all works instead of one coding line
    "sprintf(exporting[0].addr, "%s", some_cpp_value.c_str());"
    and so it looks by me
    exporting[0].name = malloc(8);
    memcpy(exporting[0].name,"I_RACKID", 8);
    exporting[0].nlen = 8;
    exporting[0].type = RFCTYPE_CHAR;
    exporting[0].leng = 4;
    exporting[0].addr = malloc(5);
    memset(exporting[0].addr,0,5);
    sprintf(exporting[0].addr, "%d", value->get_racid());
    The value i want to export is returned by the method value->get_racid() .. it is an integer value with 4 places..
    If i want to compile my programm follwing error message gets out:
    error C2664: 'sprintf' : Convert the Parameters 1 from 'void *' into 'char *' not possible.
    What is wrong, what have i to do?

  • RFC (using AAE) vs IDoc (Using IE) vs ABAP Proxy (using IE) in PI7.1

    Hi All,
    In previous versions of SAP PI, SAP recommends the use of IDoc or Proxy over RFC mainly due to performance reasons, but with PI 7.1, RFCs can use AAE which significantly boost its processing.
    So the question is, with PI 7.1, is the performance of RFC adapter using AAE good enough that is should be considered over IDocs (using IE) & Proxies (using IE)? Please provide elaborate reply.
    Thanks,
    Rahul

    >>>>>So the question is, with PI 7.1, is the performance of RFC adapter using AAE good enough that is should be considered over IDocs (using IE) & Proxies (using IE)? Please provide elaborate reply.
    Answer: If your major objective is only the performance factor then you can go for AAE using RFC. But RFC's individual processing performance is slightly lower than idocs and proxy.
    Though AAE monitoring is just only in RWB,  But due to less persistence steps involved in the entire processing, RFC with AAE supercede other options.
    IDOc using IE vs Abap Proxy using IE --- I would recommend only Abap Proxy using IE. Plus you get all the monitoring features here.

Maybe you are looking for

  • Property ignoreHostnameVerification not working when set programmatically

    Hi, I'm using weblogic 10.3.2.0. In my code I've tried to set this system property with System.setProperty("weblogic.security.SSL.ignoreHostnameVerification","true");as I've seen in many places online. However, if I try this and then make an https re

  • Password protected PDF

    We create PDF's regularly using Adobe Output Designer 5.5 and are wondering if it's possible to password protect these documents using a field in the.DAT file

  • How to remove 3D view in Maps?

    How do I remove the 3D view from Maps so that it STOPS accidentally switching to the extremely pathetic and annoying 3D view EVERY TIME I try to zoom in?!

  • Error while start obiee11g

    <2010-9-12 下午11时38分24秒 CST> <Error> <oracle.wsm.resources.policymanager> <W SM-02311> <由于出现基础错误 "java.rmi.RemoteException: EJB Exception: ; nested e xception is: oracle.adf.share.ADFShareException: 在 parseADFConfiguration 中遇到 MDSC onfigurationExcepti

  • "Hook" to call RAS API's from PHP application

    Is there a way to call the RAS API's from a PHP application to generate a Crystal Report PDF file?  Examples would be helpful. Thanks!