RFC Sender - HTTP receiver

Hi all,
my scenario is the following :
BAPI -> XI -> HTTP
In my understanding, if I have a BAPI as sender, my scenario has to be synchronous. Is it correct ?
The BAPI sends Purchase Orders. When we send one, everything seems OK on the sender side.
In XI, I can see 2 messages (processed at the same second) in the adapter monitoring (in RWB). One is going from the Sender service to the receiver, the other one is going the other way. The interface is the BAPI for both of them.
But the problem is I don't see any XML message in SXMB_MONI, and the supplier doesn't receive anything on its HTTP server.
So finally, I have no error message and almost nothing to monitor.
Anyone has an idea of what's happening ?
Thank you very much in advance.
Best ragards,
Julien

Hi Sameer,
here is what I get in SXMB_MONI when I look at the response message. Does it look OK to you ? Do you think the supplier server received something and answered ?
Regards,
Julien
  <Trace level="1" type="T">----
</Trace>
  <Trace level="1" type="B" name="CL_HTTP_PLAIN_OUTBOUND-ENTER_PLSRV" />
- <!--  ************************************
  -->
  <Trace level="3" type="T">Quality of Service BE</Trace>
  <Trace level="1" type="T">Get XML-Dokument from the Message-Objekt</Trace>
  <Trace level="2" type="T">HTTP-Destination : TEST_HTTPS</Trace>
  <Trace level="3" type="T">Server mySupplierServer.com</Trace>
  <Trace level="3" type="T">Service-Nr. 80</Trace>
  <Trace level="3" type="T">URL /path/onthe/supplier/server</Trace>
  <Trace level="3" type="T">~request_method POST</Trace>
  <Trace level="3" type="T">~server_protocol HTTP/1.0</Trace>
  <Trace level="3" type="T">accept: /</Trace>
  <Trace level="3" type="T">content-type: text/xml</Trace>
  <Trace level="3" type="T">msgguid: 95EC6911407911DAA91F000802E0AD3E</Trace>
  <Trace level="3" type="T">service: D41_SRM</Trace>
  <Trace level="3" type="T">interface namespace: http://www.mynamespace.com/</Trace>
  <Trace level="3" type="T">interface name: MI_XCBL35_IN</Trace>
  <Trace level="3" type="T">Header-Fields</Trace>
  <Trace level="3" type="T">Prolog conversion Codepage: UTF-8</Trace>
  <Trace level="3" type="T">Epilog conversion Codepage: UTF-8</Trace>
  <Trace level="3" type="T">content-length 115</Trace>
  <Trace level="2" type="T">HTTP-Response :</Trace>
  <Trace level="1" type="T">OK</Trace>
  <Trace level="2" type="T">Code : 200</Trace>
  <Trace level="2" type="T">Reason: OK</Trace>
  <Trace level="2" type="T">HTTP-response content-length 703</Trace>
Message was edited by: Julien LATOURNERIE

Similar Messages

  • RFC TO HTTP receiver scenario.Adding file name to HTTP receiver

    Hi All,
    Scenario is ZBAPI  ->XI-> HTTP conncetivity to EXternal Partners .
    ZBAPI sends the Partner data informtaion to XI .  I need to create a Partnerdata xml in XI and pass it to HTTP Connectivity (Certificates ) to External Partners
    Connectivity is working but I need to add the time stamp to the Partner data xml in the HTTP Receiver .
    I dont get the time stamp in ZBAPI
    I checked many blogs to create UDF of getfilename, dynamic configuration , but here there is no FTP sender channel .
    Can someone help me in giving ideas as hope to assign the time stamp in runtime to HTTPS Receiver Channel .
    Thank you ,
    Best Regards,
    Vara

    Hi Vara,
    In your question you actually mentioned three different communication methods (HTTP, HTTPS and FTP), but only one of them can really work with files and it is the FTP adapter. Moreover, what you need is the Receiver FTP Communication Channel, not the Sender one (as you need to deliver your message to an external system, not to collect it from there). What you need to do is find your Receiver Communication Channel, go to Advanced tab and mark "Use Adapter-Specific Message Attributes", as well as the File Name (that appears once you mark the first one). Then, in your message mapping, you just put the current timestamp to the respective dynamic configuration parameter. Find an example of how to make the whole change [here|http://www.****************/Tips/XI/ASMA/Index.htm].
    However, if I misunderstood you and you need to use the current timestamp in the message body instead of the file name, it will be even simpler. In this case, just go to your Message Mapping and in the target field, put the "currentDate" function from the "Date" group, then double click on it, click the "extended view" button and put your expected date and time format.
    Hope this helps,
    Grzegorz

  • Help on scenario: RFC Sender - File Receiver

    Hello All,
    I am stuck with a scenario where the sender is RFC and the receiver is FILE. 
    I have a simple RFC which has only two import parameters (No export parameters, no tables) and at the other end I have a file with two fields.
    I have a requirement where in I have to pass the values of the import parameters of the RFC to a file and the call would be asynchronous.
    I have mapped the request of the RFC to the file in XI and have done the necessary configuration settings for TCP/IP and tested it successfully.
    When I try executing the RFC giving the RFC destination, the execution abends with an error "call to messaging system failed: com.sap.aii.af.ra.ms.api..DeliveryException"
    Any help on this would be really appreciated.
    Thanks,
    Vijay

    Vijay,
    Since earlier you said that you are using only import parameter that's why i asked then how you are passing the values...without having any logic inside the RFC and export params ..got my point..?
    Now since you clarified that you are directly passing the values through Export Params so there is no need of any logic inside..
    now coming to ur error :
    1.Program Id is case sensitive...Plz doubly make sure that it is written in the same fashion in both place.
    Steps to check the scenario :
    a) Make sure that ur RFC Dest is working fine.
    b) Check in Visual Admin that RFC adapter is working .
    c) check sender communication channel in RWb.
    d) check RFC metatdata is correct or not..
    regards,
    Regards,

  • Problem in RFC sender and receiver

    Hi,
    I my one scenario, I am using Rfc As a sender, every day program ID is getting unregistered.
    Another problem is with RFC receiver, there Rfc connection is not getting closed automatically so, every time for new Rfc connection,  I need to increase the maximum connection limit.
    Please help me in this.
    Thanks

    Hi Joel,
    This can happen if application in which program ID has been define is getting restart everyday.
    -Pinkle

  • HTTP Sender and HTTP Receiver .Pls advice urgent

    Hi All,
    Partner A (http) -- XI -
    Partner B(http)
    Now Trade Partner do not want to use HTTP client tool.
    He wants to send data through URL.
    Please make the full sender URL for the details below
    for Sender HTTP:
    XI system -- sapd0aa
    Client -- 100
    Port -- 8000
    Sender Service -- SS
    Sender Interface -- SI
    Sender Namespace -- http:
    abc
    Qos -- EO
    In Receiver HTTP Aadapter if I use RFC Destination does it has to be of Type G
    Regards

    Hi Henry,
    1. Where sender partner will send his XML if he uses the above URL?
    Whatever technology , partner is using to send the data, there are some APIs available for establishing the http connection and then sending the data on this HTTP connection.
    2. How the user name and password will be sent in the above URL as XI requires User Name and password.
    You can embed in the URL by adding sap-user=xyz&sap-password=abc
    Piyush

  • HTTP Receiver To HTTP Sender

    Hello,
    i have the following scenario:
    System A  --> [XI1 -> http-receiver] -
    > [ http-sender --> XI2]
    So i send an IDoc from A to my XI1 and then i want to send it with the http-receiver to
    the http-sender of an other XI2.
    In my http-receiver i want to use a rfc-connection.
    The adress of the http sender is something like:
    http://xisystem:8000/sap/xi/adapter_plain?interface=INVOIC.INVOIC01&service=BS_HTTP_SENDER...
    My question is how can i configure the parameters like 'service' from the sender in the http-receiver.
    Thanks and regards
    Patrick

    Hi Patrick,
    as URL parameter of the http-address, you have it there: sercice=BS_HTTP_SENDER. You need as well parameter interface, namespace and QOS=EO. The rfc destination will give you a warning for that - ignore it.
    Regards,
    Udo

  • Can anyone plz send HTTP to RFC scenario

    Hi everyone,
              can u guys send me the HTTP to RFC scenario? plz send the detail scenario for HTTP-XI-RFC.
    thank u in advance
           xilearner

    1.Created data types for mapping with HTTP request and response.
    2. Created messsage types and assigned corresponding data types to the message types.
    3. Created one Message Interface (Outbound/Synchronous) for HTTP type and no need to create interface for RFC. You ca use the one which you have imported from R/3.
    4. Create request and response message mapping and one Inteface mapping (with request tab and response tab) properly assigned.
    Defined the following in ID:
    1. Created HTTP business system (no communication channel)
    2. Created communication channel for receiving system (SAP).
    3. Created receiving determination and interface determination, receiver agreement, no sender agreement.
    Check this link on how to configure RFC channel.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    Send XML message  from HTTP client and you will see the response in the same.
    Regards,
    Sudheer.

  • R3 (rfc-sender) - XI - Webservice ( soap-receiver)

    Hi,
    I am getting below error whenever webservice(target system) is unavailable.
    HTTP 404 Not Found
    Then RFC got failed in R3, due to this error in XI
    R3 (rfc-sender) <-> XI <-> Webservice ( soap-receiver) Synch
    User will enter the request data in R3 and waiting for the response, but webservice is down(i.e not available)
    Request is reached to XI box and XI is trying to send data when webservice is down( i,e not available), RFC is waiting for the response from XI box.
    how we will handle this kind of situation,how should i give response back to RFC( because RFC sent the request and waiting for the response, XI could not send any response back as Webservce is down, Please advice me how should XI inform to the end user r R3 abt webservice.
    I am getting this error to my mail box as i have configured ALERTS. i do not want to change existing RFC.
    is there any chance to send response to R3 even webservice is down, please can any one suggest.
    Thanks,
    SIva
    Edited by: Siva Grandhi on Jun 18, 2008 1:12 PM

    Hi siva,
    check this blog on HTTP errors.
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    May be the URL you have given in SOAP at receiver adapter is wrong.Check that once.
    Error: 404 Not Found
    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404
    u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
    u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
    u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
    u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
    Thanks,
    Vijaya.

  • HTTP Sender and HTTP Receiver adapter. Pls advice urgent

    Hi All,
    There is one Third Party that wants to send XML data and receive XML data with XI.
    Please let me know can I use HTTP for that.
    How to use HTTP Sender part?
    How to use HTTP Receiver Adapter?
    Pls send blogs/doc for that
    Thanks and Regards

    hi.,
    Check this thread for the code for a HTTP Client,
    /message/266750#266750 [original link is broken]
    Also, check these blogs. They use HTTP adapters for their configuration,
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    Check these links for the configuration part.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    Weblog :
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
    aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Problem in receiving messages via RFC Sender Adapter

    Hi,
    I have problems in receiving messages from SAP backens systems. Sometimes we are getting all messages sometimes not. Strange.
    We are transfering report-results via asynchronous RFC calls. To avoid big message sizes we split them up in max. 1000 rows blocks.
    Each RFC call on backend side is completed with COMMIT WORK!
    We increased the number of connections in the RFC sender adapter. Then it was better, but the problem still exists! Not so often, but sometimes !?!?!
    I hope everybody can help me. Thanks a lot!
    best regards,
    Hannes

    hi,
    when you don't receive messages what do you see in SM58
    on the r3?
    any errors over there?
    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>

  • How to Call HTTP Sender Adapter of Other Scenar from HTTP Receiver Adapter?

    Hi,
    I have a requirement to call HTTP Sender Adapter of Other Scenario from HTTP Receiver Adapter?
    or
    call SOAP Sender Adapter of Other Scenario from SOAP Receiver Adapter?
    i.e
    SOME SENDER - > PI - > HTTP Receiver - > calling -> HTTP Sender -> PI -> SOME RECEIVER
    SOME SENDER - > PI - > SOAP Receiver - > calling -> SOAP Sender -> PI -> SOME RECEIVER
    if any one can provide me the screen shot for those SOAP / HTTP Sender or Receiver ADAPTER.
    or Point me to Some article with Screenshots .
    That would be appreciated with Point.
    Regards
    PS.

    Solved .  .

  • When i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    Hi, Michal
    I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
    <b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
    <b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
    <b>1.</b>Builder for Integration Repository
    <b>2.</b>Builder for Integration Configuration
    <b>3.</b>System Landscape Directory
    <b>4.</b>Runtime Workbench
    <b>5.</b>Administration System (for Repository, Directory, Runtime)
    Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
    For more details about my SAP-XI, please access the following Web page:
    http://iccxi.sap.com:58000/rep/support/admin/index.html
    <b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
    2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
    2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-19 05:12:16 Success Message successfully put into the queue.
    2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
    2006-06-19 05:12:16 Success The message status set to DLNG.
    2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
    2006-06-19 05:12:16 Success SOAP: request message entering the adapter
    2006-06-19 05:12:37 Success SOAP: call failed
    2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
    2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
    Thanks
    Menghua Li

  • RFC Sender and RFC Receiver Sync Scenario . Help required.

    Hi,
    I need to make RFC Sender and RFC Receiver Sync Scenario.
    Any docs/links for it.
    Regards

    Hi,
    I have CRM (r/3) and DM (r/3)system.
    Data from differnent tables of CRM system needs to go to
    DM system different tables , data will be saved there and then return response back to CRM system.
    For this I have given one RFC for CRM system
    For this I have given one RFC for DM system
    So I have to make Sync Outbound Interface
    and Sync Inbound Interface.
    So I think so no BPM is required.I am correct?
    Adapter -- RFC Sender and RFC Receiver Adapter.
    Regards
    Edited by: Henry H on Jan 29, 2008 11:20 AM

  • IS there is any one successfully executed RFC (sender /Receiver) At PI 7.1

    IS there is any one successfully executed RFC (sender /Receiver) At PI 7.1 ? .
    if yes can share your experiance.
    Thankyou
    G.Praveen Kumar
    Edited by: praveen.tecnics on May 2, 2009 11:52 PM

    >
    praveen.tecnics wrote:
    > HI Anoop
    >
    > We are having problems in the communication between ECC 6.0 , PI 7.1 .can you provide the configuration settings for port,logical system,partner profile and rfc destination for both the systems with suitable  examples .Looking forward for your reply.
    >
    > Thanks
    > G.Praveen Kumar.
    For RFC you dont need all the above
    For RFC need only RFC destination of type T to be created in Both ECC and PI ,This is needed only in case of sender RFC adapter
    For receiver RFC adapter straight away you can call RFC by providing needed connection details of ECC
    Rajesh

  • Asynch RFC Sender to File Receiver Szenario (table content)

    Hi,
    I have the following szenario: RFC(R/3) => XI => File
    At the moment I implemented the following:
    1. Z-Report in R/3 calls a function module:
         CALL FUNCTION 'Z_RFC_TO_XML'
            IN BACKGROUND TASK
            DESTINATION xi_dest
            EXPORTING
              it_table = it_table.
          COMMIT WORK.
    2. The RFC Sender Adapter on XI takes the RFC data and convert it to RFC-XML
    3. There is a message mapping from RFC-XML to XML-Structure
    4. The File Receiver Adapter write the XML document to the file system
    The scenario is working without error and the file is created. But on R/3 side the it_table is filled with 20 rows before the function module Z_RFC_TO_XML is called. But on xi side I only receive one row (the header line).
    Is it possible to transmit the whole table content to xi and not only one row? And if yes, how can I do this?
    Thanks,
    manuku

    Hi Tobias,
    Currently am doing this scenarioa RFC to file
    CALL FUNCTION 'Z_RFC_TO_XML'
    >         IN BACKGROUND TASK
    >         DESTINATION xi_dest
    >         EXPORTING
                p_werks = 'Plant no'
               TABLES
    >           it_table = it_table.
    >       COMMIT WORK.
    But here am using Exporting and Tables parameter.. When i debug this FM, the debugger is not going to the FM.
    Can you help me in solving this issue....
    Thanks and Regards,
    Vijay vikram

Maybe you are looking for