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

Similar Messages

  • 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

  • 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

  • Synchronous SOAP to RFC

    Hi All,
    I have a doubt that in a Synchronous SOAP to RFC/PROXY interface that is it we need to configure the entire Interface and then have to test the Webservice for the response from Altova??
    I have configured SOAP at the sender and RFC at the receiver but my Customize BAPI is not yet ready but I want to test the Webservice from Altova,Is it so that i need to configure the whole scenario and test it.
    Isnt it enough if I do basic Configuartion??
    Thanks & Regards,
    R.K

    hi,
    if u want to test u r WEBSERVICE using altova spy...  u need not configure whole scenario.. configure simple soap to file scenario and check u r webservice..
    if u want to check syncronous scenario... for the testing use a BAPI which is already existing..
    Thanks,
    Madhav
    Note:Points if useful

  • Error in SOAP receiver channel in Synchronous Proxy to SOAP scenario

    Hi all,
    We are experiencing an issue with a synchronous Proxy to SOAP scenario. Getting below error message in the SOAP receiver communication channel for the response message.
    SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 1364b76e-ecbf-11e4-85f4-000023acfde6.
    We are running PI 7.4.
    Any help is appreciated.
    Thanks,
    Pushpa

    Hi,
    Seems the Receiver Webservice is not reachable. Did you try to test it using SOAP UI tool.
    1. Test a fresh message from local SOAP UI tool.
    2. Pick 3rd party WSDL file and Import in SOAP UI tool.
    3. Put some dummy data for mandatory fields
    4. Trigger it msg and ckh if you get successful / response msg.
    5. Check if firewall is open and that URL is not blocked.
    Hope it helps
    Regards,
    Azhar

  • Synchronous - asynchronous interface (RFC - XI - jdbc)

    hello to everybody!
    i want configure a synchronous - asynchronous interface (RFC - PI - jdbc) whit my PI 7.1
    This RFC send 2 output tables to PI/XI and i want write it into 2 different tables in a SQL Server Database.
    How can i do it?
    i tried whit one mapping to a unique outbound datatype...but only header table was insert and not rows.
    i tried whit 2 Receiver Interfaces but i have on mapping the follow error:
    Multiple inbound interfaces not supported for synchronous calls
    so??
    other possibility?
    BPM?
    please help me
    Thanks
    Alessandro

    Hi,
    I have a similar problem; I have JMS - PI - RFC synchronous scenario. I will receive message from JMS, and depending on the data received, I should call either of two RFCs (NOT BOTH). The BAPI return message should then be sent back to JMS.
    Hence, I have one "Sender/Outbound" Message Interface, one receiver determination for that Message Interface - in which there is "one" receiver (backend SAP system).
    In "Interface Determination", I specifed the two BAPIs as two Interfaces, and defined conditions based on "context objects" - since I need to know the Interface Mapping "dynamically"
    However, I get the error - "Multiple inbound interfaces not supported for synchronous calls ". any suggestions on how to proceed?
    I am posting this question here as it is a related issue. Hope it is fine.
    Thanks,
    Archana

  • 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.

  • Public URL for Synchronous SOAP to RFC scenario

    Hello  Everyone,
    I have synchronous SOAP to RFC scenario.
    i have created the http URL for testing environment through sender agreement.
    However, now the user wants a public URL and that too secured one ... means (  https  ) in production.
    i tried this blog, but Service registry is not configured in our landscape.
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/23725
    is there any other way ..?
    Regards,
    Ravi

    The process of creating the wsdl will remain same. The url in your case will start with HTTPS instead of HTTP. Note that the port at which HTTPS data would be received will be different than HTTP port and thererfore you need to change that as well. You don't have to set any client authentication unless there is a business requirement. You may simply use certificates for SSL.
    In some cases, if PI always receives data through web-dipatcher (ask your network team), then the data hostname and port of web-dispatcher should be used.
    Regards,
    Prateek Raj Srivastava

  • Synchronous Proxy - SOAP Scenario (Error 500 in Response).

    Hi
    I've built a few Synchronous Proxy -> SOAP Scenarios,
    with 'Do Not Use SOAP Envelope' option.
    For two of them, I'm facing a common error.
    The error is: ADAPTER.HTTP_EXCEPTION (HTTP 500 Internal Server Error).
    When I paste the EXACTLY SAME payload picked up from XI, into the SOAP client, it works giving valid response.
    Trying to figure out the issue.
    R/3 System:
    WAS 620 (Level 0041)
    XI System:
    PI 7.0 (Level 0007)
    SOAP System:
    BizRights (Approva) 3.0
    Any help is appreciated.
    Rajendra.

    Hi,
    Following SAP notes may help you-  804124, 807000
    Regards,
    Moorthy

  • Two Receiver DB in Synchronous Proxy to JDBC Scenario?

    Hey,
    Is it possible to develop a synchronous proxy to JDBC Scenario that have two different DBs as Receiver?
    The response Datas are insert_count and update_count.
    Thank.

    Park,
    You can't have more than one receivers in Sychronous case. If you designed the scenario , then u will get the error as "TOO_MANY_RECEIVER CASE_BE".
    -raj.

  • Regarding  inbound synchronous proxy

    Hii All,
    Can anyone help me regarding inbound synchronous proxy (request-response scenario)
    Regards,
    Raj

    Hi Raj,
    We declare flat structure like this : 
    wa_input like input-mt_get_notification-message_payload.
    To move the data from proxy to work area :
    move input-mt_get_notification-message_payload to wa_input.
    Now ucan do your desired operation in a method passing it the input and receiveing the output from the method.
    call method me->get_task_det_for_notif_no
            exporting
              p_input         =  wa_input
           importing
              p_output        =
             output-mt_notification_response-message_payload-sapresponse
    Hope this will help.
    Still you face any issue , please feel free to ask.
    Regards ,
    Vivek
    Reward if Useful

  • Developing AIF Inbound Synchronous Proxy interface

    Hello! I'm trying to develop simple AIF Inbound Synchronous Proxy interface, but there is absolutely no information about it. Cookbook just covers async interfaces.
    So, I just have Inbound sync ABAP-Proxy. I developed inbound AIF interface, entered the inbound proxy class. My interface is working, FM in Action is calling and works correctly.
    But, I have two problems:
    1) I don't understand, how should I get back a response to the Proxy?
    2) I can't see a payload of my interface in AIF Monitoring.
    SP level of AIF is 04.
    Thank you in advance.

    1) I don't understand, how should I get back a response to the Proxy?
    I really want to know how did you implement in you proxy class. In general, if you call /aif/cl_enabler_proxy=>process_message, this doesn't support your synchronous interface.
    My idea is, in proxy class, you could call  CALL FUNCTION '/AIF/FILE_PROCESS_DATA' to process your input request and add you own coding to get back a response or another function module   /AIF/FILE_TRANSFORM_DATA to transform your own SAP data to your response data structure(This need you to define another outbound interface and mapping).
    Brecht is right, this is similar to his outbound synchronous interface.
    You could refer to function module /AIF/SEND_WITH_PROXY.  This function module is designed to support synchronous outbound interface
    2) I can't see a payload of my interface in AIF Monitoring.
    If you want to see input and output structure in Error Handling, I think you need to use XML persistency engine to save your own payload and save this payload via class   /aif/cl_persist_engine_xml method  /aif/if_persistency_engine~update.
    This also could be found in  function module /AIF/SEND_WITH_PROXY for example.
    Best Regards,
    Eric.

  • Disadvantage on synchronous proxy compared to asynchronous proxy

    Hi friends,
          Please tell me any disadvantage on Synchronous Proxy compared to asynchronous proxy.
    My integration JDBC to PROXY and PROXY to JDBC. Inspite of using the proxy in syn mode i have used asyn proxy, now i have to give the proper answer y i have used asyn proxy, so please give me any drawbacks of syn proxy.
    Thanks in advace
    Karthikeyan

    Hi Karthikeyan,
    The main disadvantage of synchronous communication is for every request there should be corresponding response from the receiver, if for any reason receiver doesnt respond there will not be any further message processing. So, its better to go with asynchronous communication.
    Thanks,
    Bharath.

  • Debugging Synchronous Proxy

    Hi All,
      I am not able to debug the synchronous proxy as it is not stopping if i keep the external break point. How to solve this issue. Can any one provide the solution for the above issue.
    Regards
    Prakash

    Have u tried this?
    XI: Debug your inbound ABAP Proxy implementation
    Regards,
    Prateek

  • Synchronous Proxy to Synchronous JDBC scenario

    Hi,
    I have a scenario for a synchronous  PROXY  to a synchronous JDBC  scenario. I have set 4 message types .
    MT_PROXYOUT u2013 o/b synch with a response MT_PROXYIN
    MT_JDBC   - i/b synch with a response MT_JDBC_RESPONSE
    I then set up an interface mapping for both the request and response message interfaces. The design looks good but I got stuck in the configuration part.
    Since itu2019s a proxy sender, the sender agreement is not needed(Correct me if I am wrong). In the interface determination, there is provision for only the inbound interface which in case would be the JDBC (request/response) back to the proxy and the interface mapping is applied.
    So do I need just one interface determination from the proxy as sender and jdbc as receiver and also one receiver determination again with the proxy as sender and the jdbc as receiver. I am confused here because when I try to create a receiver determination for the response back from JDBC to proxy receiver , the interface mapping comes blank. Is it taken in account by the single receiver determination in synchronous to synchronous scenarios??
    Teresa

    Hi Teressa,
    Java Proxy to Synchronous JDBC scenario and SAP XI:
    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-
    Client proxy:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Cheers
    Sunil

Maybe you are looking for