HTTP -- RFC

Hi,
I have HTTP --> RFC synchronous scenario.
I need to call 2 RFcs.
First the RFC1 is called synchronously and then evaluating the result RFC2 will be called.
The response of RFC1 or RFC2 should be returned as HTTP Response.
I could realize this using sync-async bridge of BPM.
But Is this posssible without using BPM?
I tried RFC Lookup for first RFC but dont know how to check condition based on Response of RFC1 (whether RFC2 should be called).
Thanks,
Beena

Hi,
Thanks.
I think I will have to use BPM.
But I can have sync-async bridge with receive-open S/A bridge and in mapping I can use RFC lookup to call 2 RFCs and the result message of mapping can be sent using send step - close S/A bridge.
i.e. I will have BPM as receiver for my scenario.
I think I can avoid multiple receive and send steps and also transformation step for n:1 mapping (to map input from HTTP Request and Response of first RFC to Request of second RFC) by using RFC lookup.
Thanks,
Beena.

Similar Messages

  • How to specify a variable in the path prefix of an External HTTP (RFC) connection (in transaction SM59)

    Hi There,
    Please can someone tell me how to specify a variable in the  path prefix of an External HTTP (RFC) connection in transaction SM59?
    For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
    Thanks,
    Brendon

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • ICM_HTTP_CONNECTION_FAILED error while testing HTTP RFC in ECC 6 IDES

    Hi Experts,
    I have ECC 6.0 IDES system - new installation. I have created client 100 which is a copy of client 000. Being an IDES system, client 800 is automatically created.
    While trying to connect this system to PI 7.1, I have created one HTTP RFC (H) in client 100 giving the details of PI system which is working perfectly fine. I have maintained the SLD details as well. But on testing the same RFC on client 800, its giving me the error as ICM_HTTP_CONNECTION_FAILED. I have created the user in PI which is maintained as well.
    Even If I create a new HTTP RFC connection in client 800, its giving the same error again. User in 100 & 800 is same and both having maximum authorizations. Any opinions on why I am getting the above said error in Client 800?
    Thanks & Regards,
    Naresh.

    Hi,
    SMICM Trace file gives the following log when I am testing the HTTP Connection SAP_PID from SM59 of XYZ Client 100:
    [Thr 896] IcmConnConnect: direct connect to <fully qualified hostname of PI system:50000>
    [Thr 896] NiHsLGetNodeAddr: found hostname '<fully qualified hostname of PI system>' in cache
    [Thr 896] NiIGetNodeAddr: hostname '<fully qualified hostname of PI system>' = addr xx.yy.zzz.lmn
    [Thr 896] NiIGetServNo: servicename '50000' = port C3.50/50000
    And when I am testing the same connection from SM59 of XYZ Client 800, getting the following log:
    [Thr 4928] NiHsLGetNodeAddr: hostname 'proxy' not found by operating system
    [Thr 4928] *** WARNING => Connection request from (55/18633/1) to host: proxy, service: 8080 failed (NIEHOST_UNKNOWN)
    RM-T55, U18633, 800 ADMINISTRATOR, 19:18:49, M1, W2, SM59, 3/2 [icxxconn.c 2341]
    I tried to take the restart of the system but still giving the same error.
    Any suggestion???
    Br,
    Naresh.

  • Performance Tuning in HTTP - RFC Interface

    Hi,
    I'm currently working on a HTTP --> RFC scenario and facing slow performance issues. When I test this interface with a transaction having 1 line item, the response from RFC is instantaneous. However, when there are about 400 line items, the average response time from RFC is about 8-9 seconds. When this interface goes live, there will be transactions with > 1000 line items. I'm really worried about the performance going down, as performance is a major criteria for deploying this interface.
    Could you suggest any steps to improve the performance/reduce the response time?
    Thanks,
    Guru

    Guru,
    Disable all the Fields in the RFC which you are not using / populating.
    One of my colleagues faced a similar problem and when they disabled the fields which were not being used when triggering the RFC call, the perfromance improved drastically.
    Also, turn off logging of Synch Messages as this also can cause perfromance issues.
    SXMB_ADM --> Integration Engine Configuration --> LOGGING_SYNC should be set to 0
    Regards
    Bhavesh

  • HTTP 500 internal server error in HTTP - RFC

    Hi,
    I configured for HTTP-RFC and when i send data from 3rd party system with the help of url for http sender, it gives HTTP 500 internal server error. I am getting this error on 3rd party system.
    I am using the following url
    http://SAPDEV03:8000/sap/xi/adapter_plain?namespace=http%3A//sap.com/xi/OilPRAInterfaces&interface=BAC_CheckIn&service=com_apachecorp_TOBIN_DEV&QOS=BE&sap-client=001&sap-language=EN
    I have entered PISUPER log on details in sicf transaction in PI so that it wont prompt for id and pw and thats why i removed id and pw from the url also.
    Is it because the 3rd party system not registerd in sld properly ?
    I got the response ok with the HTTP client testing tool.
    help would be really appreciated
    Thanks,
    k s reddy

    Hi Ahmad,
    I am getting the error in the sender system. I have a doubt that the message is not reacing PI itself. I dont see any messages in sxmb_moni when i send the data from 3rd party application system but i can see the data when i send it from HTTP cleint tool.
    can yu plz check whether my url is correct or not and how to make confirm that the TS and BS created in sld for the 3rd party application system r correct and working properly.
    when i test from HTTP client i am getting the response code as ok. when i compare with the response file from the BC it has data for the other fields but the response in HTTP client has just OK code and i dont see the data for other fields.
    Thanks,
    srini

  • Mapping Issue(UDF) in HTTP-RFC scenario with URL parameters - Urgent

    Hi All,
    I am working out an HTTP-RFC scenarion wherein there is no xml data to be pushed.
    The data will be coming in the url parameters.
    Also we'll exposing our url(created by SAP PI) to 3rd party system to push data in terms of url parameters.
    So how do I do mapping? Also what UDF code will contain?
    Since I'm working on this kind of scenario for the first time, I need every help from you guys.
    Thanks & Regards,
    Amit Patil

    Hi All,
    I have worked on RFC to HTTP scenario wherein URL have to be passed. I used UDF in d same.
    But now the case is reverse, how shall I move ahead with what source message type(in the mapping) and how to do mapping.
    What kind of UDF will be useful here?
    I am completely blank in this kind of scenario where 3rd party system is going to pass four parameters on URL link craeted by us since its an HTTP to RFC scenario.
    Please guys help me! Give me some inputs.
    Thanks,
    Amit Patil

  • Problem with Http RFC Scenario

    hi all.........
         Am doing an HTTP RFC scenario. The scenario is working fine with all messages in IS, IE and AE being successful. But the problem is the RFC response am getting is not what is expected. When i run the RFC directly with the same input value I get the correct response. Can anybody figure out what is the problem. In the channel (adapter monitoring) what comes is :
    "RFC_HISTORY
    - Error: 2007-01-16 09:47:52 IST: Message processed for interface ZBAPI_NETWORK_CONF_ADD: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.
    - Error: 2007-01-15 19:57:21 IST: Message processed for interface ZBAPI_NETWORK_CONF_ADD: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.
    - OK: 2007-01-15 19:28:31 IST: Message processed for interface ZBAPI_NETWORK_CONF_ADD "
    thanks in advannce

    Hi,
    ><i>I ve used RFC itself as message type for http by importing it into external definition. So since both structures are same i omitted both MM and IM</i>
    Should work fine. Can you look into SXMB_MONI and check what the response is? Make sure that the request message is also as expected.
    Regards
    Bhavesh

  • Handling special char in the HTTP-RFC ?

    Hi Guys,
    I have configured a HTTP-RFC and the interface is failing whenevr we have special char from the source xml. we have especially "&" sign, is there any way we handle special char in XI for the HTTP-RFC scenario.
    any help would be appreciated
    Thanks,
    srini

    Hi Hemant,
    source i have a 3rd party system from where we are doing HTTP-post and it is generating xmls. we have names like Robert&Robert then we are having problems.
    when we remove this & it is going through fine. I want to know how can we handle this in XI or do we need to remove that one from the third party system itself
    Thanks,
    srini

  • HTTP - RFC - Mail  - Mapping

    Hello,
    I want to set up an HTTP -> RFC -> Mail Scenario.
    HTTP from external party to XI (async).
    XI calls the RFC (sync)
    The RFC-response I want to sent via the Mail-Adapter (sync).
    So I have one Oubound Interface (HTTP)
    I have an Inbound Interface (RFC)
    And I guess I need another Inbound Interface for the Mail Adapter.
    Now I have a problem with mapping. How should I map the response of the RFC to the Mal-Interface. In the Interface-Mapping Editor I only have the option to map the RFC-Request to the Mail-Interface.
    I hope it is clear.
    In other posts it said that such a szenario is possible. I just need to know how to do the mapping.
    Thanks,
    Elko

    Hi Elko
    Hi Pl refer These link for ur Scenario
    <b>HTTP -> RFC</b>
    Passing RFC Table parameters from XI
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&
    Unable to view payload in HTTP to RFC Scenario
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    /message/266750#266750 [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    <b>Mail Scenario</b>
    Check this blog-
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    Thanks!!

  • HTTP-RFC(BPM)-FILE Scenario

    I have a problem on using the 'http-RFC(BPM)-File scenario'. When i enter values using the  Client http adapter, it displays message telling that "BPE_ADDAPTER.SYNCHONOUS_MESSAGE"
    The error msg is displayed below:
    Result:  
    <SAP:Error>
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code>BPE_ADAPTER.SYNCHONOUS_MESSAGE</SAP:Code>
    <SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages</SAP:Stack>
    </SAP:Error>
    Also in SAP XI monitor, the sender services along with the corresponding sender interfaces.
    Expecting this prob will be off soon.
    thanks
    vinod v

    Hi Vinod,
    your process is asynchronous (no sync async bridge). But you send "Quality of Service = Best Effort" (Url paramater qos=BE). You should send "Exactly Once" (EO).
    Regards,
    Udo

  • HTTP---RFC Scenario

    Hi All,
    I have Done HTTP--RFC Scenario and i got the Bellow Error in Receiver RFC CC
    Receiver channel 'CC_POS_CashJournal_IB' for party '', service 'Sub_ssd_subdev'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM TYPE=A ASHOST=10.1.1.203 SYSNR=00 GWHOST=10.1.1.203 GWSERV=sapgw00 PCS=1
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR partner '10.1.1.203:sapgw00' not reached
    TIME Fri May 2 18:55:26 2008
    RELEASE 700
    COMPONENT NI (network interface)
    VERSION 38
    RC -10
    MODULE nibuf.cpp
    LINE 4601
    DETAIL NiBufIConnect: connection pending after 60000ms
    SYSTEM CALL connect
    ERRNO 150
    ERRNO TEXT Operation now in progress
    COUNTER 2
       Line 1 / 1
    Regards
    Suman

    Hi,
    Do we need to check and use RFC Meta data Repository in RFC CC???
    Here I used the Business System for RFC Receiver that is configured for IDOC Scenario.
    Is this is Fine and Ok???
    Regards
    Suman

  • Http RFC destination for ECC to PI Connection Error

    Hi,
    While doing the proxy runtime configuration http RFC destination for ECC to PI .
    I configure the RFC destination as  below ---
    Target Host --  PI Host 
    Service No  -- 50000
    Path Prefix --- /sap/XI/engine/?type=entry
    Login  Security Details
    User Id -- PI user id
    Password --- PI password
    While doing the Connection Test , I got the error "ICM_HTTP_CONNECTION_FAILED"
    I checked  T-code in ECC system SMICM  and ICM is in green status and I checked the services are activated in SICF transaction.
    Please let me know how to resolve this issue.
    regards,
    Rohit

    Hi Rahul,
    I checked  all service are activated in SMICM  and I configured the FQDN also.
    Now  I cofigured the Service No  --- 8000(http port no of PI) instead of 50000(J2EEport no of )
    Target Host --- hostname
    and did a Connection test...then I am getting a status as "http reponse 500" and status text as "empty http request received".
    pls let me know is it correct configured or not.
    regards,
    Rohit

  • HTTP - RFC data problme

    Hi Guys,
    I have configured HTTP - RFC and i tested with Http cleint tool and i got the sucess return code. I saw in RWB and sxmb_moni and everything is ok.
    I have seen the response xml to the third party system and there are some fields where the data is not populated.
    what could be the reason and do i need to see the rfc parameters on the sap side in that specific function module.
    help would be appreciated
    Thanks,
    srini

    Hi Sreenivas,
       If the RFC is not returning the values, then what you do is:
      Map the node of the target which is having 0 to Unbounded with one of the mandatory parameter (of the source, which will definitely occur). In this way, atleast you will get empty fields but the complete structure as you require in the output. Just, check this one and let me know.
    Thanks,
    Adithya K
    SAP Practise,
    [email protected]
    Note: Don't forget to reward points if it is useful.

  • Synchronous HTTP - RFC Scenario: Timeout

    Hello together,
    I have just implemented a synchronous HTTP --> RFC scenario. When I test the implementation using the HTTP testing tool within the Runtime Workbench everything works fine.
    However when I use an external HTTP Client I get a timeout exception. This is also raised in the XI Message Monitoring: "Timeout condition of pipeline reached"
    Do you know any reason for this?
    Thank you very much.

    Hello,
    this problem is solved now. It was a problem with the HTTP Client, obviously because a wrong queueID was automatically inserted in the URL.

  • HTTP/RFC session has been deleted following timeout

    Hi,
          In our SRM system I see this message.
    HTTP/RFC session has been deleted following timeout
    help me please

    Hi,
    Firstly welcome to SDN...!!!!!
    There is no need to worry about this, as this is not an error. You can see the status of this message in SM21 as green color, it is normal. whenever a connection is made to the system from browser, it will create a connection of type http/rfc. If the user or program which connected to the sysem , does not explicitly close the connection, or leave it idle then the system will delete it automatically after the session time out.
    Please see the note 1240156 for details or parameters.
    Regards,
    Sharath
    Edited by: sharath Babu on Jul 29, 2010 10:07 AM

Maybe you are looking for

  • Exchange rate determination at time of Good Reciept

    My client has a manufacturing operations in Venezuela.   They regularly import production materials as well as supplies etc. to run the business.  The Venezuelan government defines the exchange rate on different types of purchases against the US Doll

  • Automatic Transfer Order Creation

    Hi All, Scenario: When there is GR from Production order into WM Storage Location I have all settings so that Inbound Delivery HU Mvt is created also Material is getting packed into HU in Backend automatically as soon as Delivery is created. My Requi

  • Binding a Shared Varable to multiple MODBUS registers

    A simple question, but can't seem to find an answer: I have a project library with a serial MODBUS i/o server setup. In this library I have several shared variables that are bound to registers on the remote device through the MODBUS protocol, and thi

  • Trouble synchroniz​ing my centro

    After I have loaded 6.2 software and plug phone in using USB port I get a low alarm saying that the computer is searching for device drivers. This message pops up and goes away continuously. Then it finally tells me the driver cannot be found contact

  • Where can I find the old firmware?

    I was making some changes to my network when the utlity asked me to upgrade the firmware to 7.4.2. I did and now all I have is warm brick. I'm trying to figure out where I can download the 7.4.1 because currently the "download" just leads to an artic