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!!

Similar Messages

  • 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

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

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

  • Http RFC Synchronous

    Hi ,
    I have created HTTP RFC Synchronous Scenario .....i am able to send the message to RFC... but i am not able to get back response...
    I have created two communication channels one for RFC call in SAP R/3 and the other one is for sending HTTP respose back to source..
    Where is the receiving http adapter is configured.... ?

    I have created the scenario....but i am not able to get the response.....i am getting the following the response error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_FAXCHG_RFCRESP_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns1:MT_FAX_CHG_T</SAP:P3>
      <SAP:P4>ARGET/IVR/TRANTYPE. Values missing in queue conte~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_FAXCHG_RFCRESP_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:MT_FAX_CHG_TARGET/IVR/TRANTYPE. Values missing in queue conte~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Pls advice on this

  • Http == rfc (bapi) - bapi not created

    Hi
    I've got an http <==> rfc (bapi) scenario. QoS is Best Effort. I am using SAP's http test tool. After enabling the "synch-logging" I can see two successful rows. I am using the bapi "bapi_master_savedata".
    Some weird things:
    - no material master data is created.
    - The parts of the response message are only "Call Adapter" and "Request Message Mapping", nothing else.
    Thanks
    Go:khan

    Hi
    I think you pointed to the right problem.
    I haven't written something like that before, but I will try if there is no other solution.
    So I don't need any wrapper for a syn. rfc call with SP 14??
    But the following article doesn't use any wrapper "/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit ??
    Thanks
    Go:khan

  • 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

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

Maybe you are looking for

  • Ex. Witholding Tax (TDS) : Quarterly Acknowledgement on Certificate

    Dear Experts, i have mentioned Quarterly Acknowledgement in the table J_1IEWT_ACKN_N. But when i print the certificate, i do not get that quarters acknowledgement printed OR mentioned on the Certificate. could you please help ASAP.

  • 451 4.4.0 DNS query failed - NonExistentDomain

    I am in the process of migrating from Exch 2007 to 2013 for a small company. It is a very simple setup of just a single domain which has 1 server, 1 organization and 1 database. Here is what I have done so far:  1. Installed a physical server EX13 fo

  • Blinking folder & Question Mark - Drive Good - Files Are Still there

    Okay, So I've been a long way with this iMac. It originally came to me with bad power supply. I replaced. Then it came back with bad capacitors. I replaced. Then it came back not booting. Here's where I'm stuck. I dont see the drive if I use command

  • Error: Window SRID does not match layer SRID (Spatial)

    Hi, I have successfully created an Oracle View with the following SQL: SELECT * FROM ZKGJI.L1100_CESTE c WHERE SDO_WITHIN_DISTANCE(c.GEOM, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(425150,95800, 437400,105000)),

  • Water Damage iPhone won't turn on so I can reset to send out

    I had a 3G and it got wet one night sitting next to a leaky bottle. Now the charger connector at the bottom doesn't register and the battery died. I am interested in sending it out to one of those websites that pays for dead iPhones but I don't want