Wrong port in FTP receiver adapter - no errors in message monitoring?

Hello all
We're on XI 3.0 SP16 and have created / configured a HTTP XML -> XI -> FTP Server scenario. In the receiver comm. channel (ftp) we had specified a wrong port number and always wondered, why we never got errors in message monitoring. Everything seemed to be processed correctly... but no file arrived on the FTP server (receiver) side!
After correcting the wrong FTP port number in the receiver FTP comm. channel everything went fine.
We now encountered a similar problem with a RFC receiver adapter. We're using it in another scenario HTTP XML -> XI -> RFC to SAP R/3 (4.7).
For some reason it died (red status in adapter monitor) and it was no more possible to do RFC calls from XI to SAP R/3 (normal RFC adapter, NO proxies).
In XI message monitor everything seemed to be ok but no message arrived till SAP R/3. Nothing in any queue...
After deactivating and reactivation the RFC receiver comm. channel it worked again BUT ALL PREVIOUSLY SENT messages seem to be lost.
Is it really the way it works? Does XI integration engine at runtime NOT catch whether or not a RFC or FTP receiver adapter died, thus is not able to tell somewhere in message monitor that a message could not be delivered at all?
I'm really confused here but hopefully I simply don't understand some easy principles to take into account...
Our SAP R/3 is on rel. 4.70 with Web AS 6.20. The XI 3.0 plugin is not installed. Do we need to go with server proxies there and use QOS = best effort?!?
Thanks for some suggestions.
Best regards,
Renaud

Hi Michal
Thanks... works great for normal XML based messages!
Now, what if I wanted to pass binary files from one ftp server via BPM to another ftp server in order to enable the transport acknowledgment?
The files polled from ftp server using the ftp sender adapter are all in binary format (ARJ). No xml data in there. How should the message format look like in BPM for the receiving step? Or: how to make sure not to loose the binary content when passing through BPMs?
I need this sort of scenario because of the tansport acknowledgment and because I need to have some sort of message splitting (send the binary file over to a second ftp server and additionally send some kind of info message to SAP R/3 regarding thin binary file).
BTW: in the MessagingSystem/monitor/monitor.jsp I do not see sender / receiver information. Is this normal? It's quite of a bad thing to look inside each message in order to find out what message I'm having in front of me...
Thanks a lot for your support and patience!
Kind regards,
Renaud

Similar Messages

  • Filename from payload - FTP receiver adapter

    Hello everyone!
    I have a scenario wherein I need to get the value from a field coming from an IDOC and then give that value as the "filename" of the file that is saved in the FTP folder.
    IDOC > XI > FILE
    For example, if /ORDERS05/IDOC/E1EDK02/BELNR = 620000123
    then I want the name of the file to be saved in the FTP folder to be 620000123.xml
    I understand you may use the 'variable substitution' property in the FTP receiver adapter, but subsequent attempts at trying to configure that property have resulted in errors. Can anyone help me out?
    Warm regards,
    Glenn

    do u have recordset name (root message)
    For Ex: If you want to refer to the field which is bold
    below is your variable substuition:
    payload:root,1,e1,1,e2,2
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
      <dummy>
         <e1>
            <e2>Data_1</e2>
            <f/>
           <g attr="abc">text</g>
            <e2>Data_2</e2>
         </e1>
      </dummy>
      <e1>
         <e2>illegal/value</e2>
         <f/>
         <g attr="abc">text</g>
         <e2 attr="fghij">Example Value</e2>
       </e1>
    </root>
    Similarly
    for your strucutre:
    <MS_MT>
    <order>
          <number>
    the variable substuition would be
    payload:MS_MT,1,order,1,number,1
    you have to give complete XML to arrive to this value.

  • FTP  receiver adapter does not transfer (STORE) file

    Hello gurus,
    In my scenario I want to transfer files from server X to server Y using FTP.
    To get the files from server-X I use the FTP sender adapter, to put the files on server-Y I user the FTP receiver adapter.
    Getting the file (QoS = EOIO) is not a problem; I see the result is SXM_MONI.
    Putting the file doesn't seem to work; I don't have an error message in SXMB_MONI but the file is not physical stored on server-Y.
    When I monitor server-Y I see that XI connects with the configured user/pwd and even creates the directory when it doesn't exist but the file is not STORED.
    I'm not using the BPE, this is a very simple and basic scenario: what comes in, goes out.
    Can you please advice what might be the cause of the strange behavior?
    Many thanks - Danny

    Hello Michal, thanks for your (very) quick reply.
    this is the result:
    1) adapter monitoring
    <b>Status to be delivered:</b>
    - Message successfully received by messaging system. Profile: XI URL: http://xdsci.cie.etat.lu:53100/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    - Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    - Message successfully put into the queue.
    2) sxmb_moni
    - no error
    3) communication channel monitor
    - Message successfully received by messaging system. Profile: XI URL: http://xdsci.cie.etat.lu:53100/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    - Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    - Message successfully put into the queue.
    - The message was successfully retrieved from the receive queue.
    - The message status set to DLNG.
    - Delivering to channel: FTP_receiver
    - MP: entering
    - MP: processing local module localejbs/CallSapAdapter
    - File adapter receiver: processing started; QoS required: ExactlyOnce
    - File adapter receiver channel FTP_receiver: start processing: party " ", service "xyz"
    Any idea?

  • FTP Receiver Adapter.

    Hi All,
    From XI I need to FTP file to outer system using
    FTP Receiver Adapter
    Now due to security reason my client wants to use FTPS
    I checked in FTP Receiver Adapter -- there is an option
    Connection Security -- FTPS (FTP Using SSL/TLS) for Control Connection.
    Can I select this option and use like simple FTP Receiver Adapter?
    Please tell the process/docs for it.
    Regards
    <Moderator note: Subject edited. Please do not use 'Urgent'. See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further info.>
    Edited by: Mike Pokraka on Jul 25, 2008 8:47 AM

    Hi,
    check some links on FTPS.
    FTPS Sender and FTPS Receiver adapter. Pls help
    SFTP vs. FTPS in SAP PI
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
    Regards,
    Phani

  • Use temporary file in FTP receiver adapter

    Hi guys,
    I'm not getting the purpose of "use temporary file" in FTP receiver adapter. Can you describe any situation, where this should be used?
    What is the location of this temporary file?
    Is it deleted after "normal" file is created?
    Thanks a lot,
    Olian

    > I'm not getting the purpose of "use temporary file" in FTP receiver adapter. Can you describe any situation, where this should be used?
    Some times when you create the file on your target dir then if there is another application looking for same file is quite faster to pick the file before it is complety written on target dir then in this situation using temporary file option is very helpful. What it does, it simply creates the file first by using temporary name once all bytes or bits has been transfered then it creates the original name and the temp file get deleted.
    > What is the location of this temporary file?
    Same location, where your original file is suppose to be written.
    > Is it deleted after "normal" file is created?
    Yes.
    Regards,
    Sarvesh

  • When I try to burn a disc, I receive an "unknown error 2700" message.  How do I correct this?

    When I try to burn a disc, I always receive an "unknown error 2700" message.  How do I correct this?

    Since you are using a 2012 iMac which has no optical drive, your problem is w/an external disc burner?   Is the burner a tray or slot loader?
    Type of file you are trying to burn?
    Type of disc?
    Make sure the DVD/CDs are not dirty, smudged and/or scratched.
    Your drive may need cleaning.  Cleaning kits can be purchased from any store that sells CD/DVDs.
    CLICKY CLICK---> Disc Burning Quick Assist

  • System Error in Message Monitoring while it shows checked flag in SXMB_MONI

    Hia,
    We are working on ABAP Proxy --> SAP PI 7.1 --> SOAP (Asynchronous Scenario).
    (ECC -> PI -> Legacy CRM)
    I have following queries:
    1. While sending messge across to Legacy system, we can see CHECKED flag in SXMB_MONI but there is System Error in Message Monitoring. When checked legacy system is unable to receive any message. Cannot understand the issue.
    2. Is there any way to check in PI system whether the message has reached Legacy System other than making scneario synchronous?
    Regards

    System is getting connected and able to send asynchronous messages to legacy system. But getting following error while sending synchronous error:
    2010-05-10 13:15:05     Information     Delivering to channel: CC_SOAP_SOReject_Out
    2010-05-10 13:15:05     Information     SOAP: request message entering the adapter with user J2EE_GUEST
    2010-05-10 13:15:05     Information     SOAP: completed the processing
    2010-05-10 13:15:05     Information     SOAP: continuing to response message f33caa90-5c07-11df-c659-96d147c2ff0f
    2010-05-10 13:15:05     Error     SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
    2010-05-10 13:15:05     Error     Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
    2010-05-10 13:15:05     Error     Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.. Setting message to status failed.
    2010-05-10 13:15:06     Error     The message status was set to FAIL.
    I have already checked Data Structure and it is fine.
    Regards
    In this scenarios we are using XSLT mapping using CDATA.
    Please suggest solution.

  • System Error in Message Monitoring -Proxy to SOAP async scenario

    Hi All,
    My scenario is ABAP Proxy---> SAP PI 7.1 ---> WEbService(Asynchronous SOAP ).
    In Moni message is showing successful Flag, but message has got stuck in "system Error" at message monitoring.I can't see any Audit log in Message monitoring .
    but in related Soap Receiver communication channel i can see the below Error 
    "2010-08-11 09:54:15 Error SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005.
    2010-08-11 09:54:15 Information SOAP: sending a delivery error ack ...
    2010-08-11 09:54:15 Information SOAP: sent a delivery error ack
    2010-08-11 09:54:15 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005.
    2010-08-11 09:54:15 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005. "
    Please help , what could be the problem.
    Thanks in Advance.
    Jyoti

    Hi Jyoti,
    >Is there any specific setup required at Provide side while moving to Acceptance system
    I dont think so.
    Please compare EXACTLY the settings of the two Comunication Channels, especially the server path. Please assure that you ve sent exactly the same message content from Acceptance system.
    Regards,
    Udo

  • System error in message monitoring

    Hello,
    Scenario is proxy to database. Status seems to sytem error in message monitoring. Error detail is  In audit log of message details as belows:
    JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'If_test ' (structure 'STATEMENT'): java.sql.SQLException: ORA-00936: missing expression 
    I should resent this message content. When i press Resend tab  in message monitoring, error status is not being changed.
    Thanks in advance

    Hi,
    Check the payload received is correct or not in this case ...
    Take payload and check at mapping level...
    if you are using insert or update statement you can enable log at the receiver jdbc channel in advance mode(logSQLStaement to true) to see how the statement is getting framed ...
    HTH
    Rajesh

  • "Error in message monitoring in runtime workbench"

    Hello All,
        I have an error in message monitoring in runtime workbench.
    We have installed PI7.0 and it should run on port 50000.But it is running on port 50100.
    Please suggest what are the steps involved to resolve this problem.
    Thanks and Regards
    SAN
    null
    k san

    San,
    Can you please copy / paste error message.
    Also check if you have set correct port in Exchange profile under Runtimeworkbench.
    Nilesh

  • Error in message monitoring while creating new record in R/3

    Hi All,
    I am getting the following error in message monitoring while creating a new record from SAP Mobile client.
    Service name: Validation_Service
    Message: BackendKeys are not filled in table HEADER returned by getDetails
    I am passing some random number from Client to SAP R/3 create function module.
    When i pass the same value in create FM as in message monitoring. I am able to create the record successfully,
    Corresponding to newly created record, i can see the data in getdetail header also.
    Not sure why this error is coming.
    Appreciate your help!!
    Thanks & Regards
    Devendra

    The CREATE FM should not only create the entry, it should also EXPORT the key that it uses to create the entry. Is it doing that?
    i.e. the CREATE signature is usually something like:
    CREATE_BLAH
      IMPORTING header TYPE header_row
      EXPORTING key type header_row-key_field.
    So the 'key' here should be filled by the FM and returned to DOE.

  • Message processing failed, FTP Receiver Adapter error...

    Hello all,
    We have a Idoc to File(FTP) scenario using PI.
    When PI try to send the file out to the FTP site, we get the following message in the communication channel monitoring and the file never reach the FTP site:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect
    When we look at the detail display, we can see that the connection as been establish with the FTP site but the adapter is unable to deliver the file...
    Any Idea why?
    Thanks in advance.

    Hi ,
    There are two things that you can do
    1- check the connection of FTP from command prompt. If it is acceebile from command prompt then check for authorization that wether you have access to post the file at FTP or not (Full access READ , WRITE and EXCECUTE)
    2- in your adpater change the connection mode from Per file transfer to "Permanent".
    Please feel free to reply on this thread if you are not able to.
    Thanks

  • Problems with Seeburger FTP Receiver adapter

    Hello,
    I am working on a scenario sending ORDERS05 Idocs to EDI vendors.
    For this i have configured Seeburger Receiver FTP adapter with 2 modules to convert XML-EDI format. Since this is the test, I have pointed Seeburger to local FTP server with following settings
    Hostname <Hostname of our FTP server>
    Port <Port # of our FTP server>
    Host Path/VAN partner id <some local directory of FTP server>
    Payload mode: Maindocument.
    At runtime i received following exception
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: >> Description: com.seeburger.jftp.app.exception.FtpExceptionSoftProcessingError: Unexpected reply: 500 'SITE system 1': command not understood>> Details: com.seeburger.jftp.app.exception.FtpExceptionRethrowError: Error in session: {type:FTPConnectionId}{binding:82ea8d3089dc3e898ae2e608d9d8487d}{channel:a52d1aaa8dd63ff59c2f590e78586a77}{toparty:TestEDIParty} CAUSED BY: com.seeburger.jftp.app.exception.FtpExceptionOpenConnectionError: Error while connection to remote host CAUSED BY: com.seeburger.jftp.app.exception.FtpExceptionRethrowError: Error while executing command QUOTE site system 1 CAUSED BY: com.seeburger.jftp.app.exception.FtpExceptionSoftProcessingError: Unexpected reply: 500 'SITE system 1': command not understood>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: true>>Fatal: true
    Few questions related to this
    1] can we use Seeburger adapter to generate EDI files on local FTP server
    2] If not Seeburger can we use normal File adapter to do the same. I tried the same by configuring BIC module in File adapter so that it would convert XML to EDI format and was hoping file to be generated on FTP server. It generated one line XML file with following text "<info>Converted message locates in a attachment</info>". Any idea how to retreive attachments in File receiver adapter (as far as i know no attachments are supported in File receiver adapter).
    Any idea how to generate EDI files with Seeburger FTP on test server?
    Thanks in advance.
    Regards
    Rajeev

    Hi Rajeev,
    > 1] can we use Seeburger adapter to generate EDI files on local FTP server
    Yes we can use.
    > Any idea how to generate EDI files with Seeburger FTP on test server?
    It is like a normal process, how to generate the EDI files in normal means without FTP. Check this link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b17369-9522-2c10-84a6-d75d8a8ace22
    BIC
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b66651-eeea-2b10-e5a6-8459ec30d948
    Regards
    Ramesh

  • Configuring a Seeburger FTP Receiver Adapter

    Hello,
    I am trying to build a scenario where SAP ECC 6 sends an invoice to a customer via EDI.
    We are using ECC 6.0 and PI 7.0 and the Generic Seeburger EDI Adapters. The VAN is a GEIS EDISWITCH VAN (Eircom in Ireland).
    I am able to successfully send an IDoc from ECC 6 and into PI where a Seeburger map converts the message to EDI-XML format. I can use a file adapter to create a file in normal EDI format. But I can't get the Seeburger FTP adapter to work with the VAN.
    I have configured the correct IP, port, username and password but I keep getting the following message when the communication channel tries to send the message:
    <h6>Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: >> Description: com.seeburger.jftp.app.exception.FtpExceptionSoftProcessingError: Unexpected reply: 501-Syntax errors in parameter.    usage: %[recipient id]%[APRF]       where either [recipient] or [APRF] can be omitted.           (to change your current default SEND relationship).           %% (places you in your 'HOME' TR).   &['s'|'single'] ('get' command gets single file).   &['m'|'multiple'] ('get' command gets multiple files). >> </h6>
    The FTP session is expecting a PUT command with the recipient id and APRF as parameters but these are not getting passed. I suspect this is because I am not passing the correct variables to the receiver adapter but I don't know what variables it expects and where they should be specified. And I can't find the answers in the documentation.
    Can anyone shed some light on what I need to do?
    Thanks,
    Ben

    Hi Prateek,
    Thanks for your comments. The channel is set to GEIS(GeMarkIII). There is nowhere to specify a directory or filename. The settings I have used are as follows:
    Adapter Type: FTP (http://seeburger.com/xi)
    Receiver
    Transport Protocol: FTP
    Message Protocol: GEIS/GeMarkIII
    Adapter Engine: Integration Server
    Host name: <IP address of VAN server>
    port: 21
    User Id: <Our mailbox number>
    Password: <Correct password>
    Host path/VAN Partner ID: <blank>
    Script file: <blank>
    Transfer type: ASCII
    Connection mode: Passive
    Use keep alive: <Not checked>
    Security Mode: None
    Proxy Mode: none
    Resource ID: <blank>
    Deliver transmission report: <not checked>
    Payload mode: Attachment
    Attachment ID: SeeburgerMain
    Channel status: Active
    Use dynamic attributes: <Checked>
    Use non-empty attributes: <Checked>
    Request displayed report: <Not checked>
    Request dispatched report: <Not checked>
    Report timeout (minutes): 720
    Handle received reports: Refer reports to XI system
    There is nowhere in the communication channel configuration that allows me to specify the receiver ID or the APRF. The documentation say this is read from the EDI data and the relevant fields are populated.
    Any ideas?
    Thanks,
    Ben

  • Soap Receiver adapter - 401 error

    I am getting following error with soap receiver,
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    I am able to consume the webservice with SOAP UI without any difficulty. I have tried with both the endpoint URL and WSDL url without success. I have tried with/without 'Do not use SOAP envelope'. I am not sure what is wrong. When the message is sent via PI, he is not able to look at the payload (while performing the trace) , while he is able to view the actual soap message with SOAP UI.
    When i type the ENDPOINT url in my http address, i get a 'page not found' error.
    Any ideas as to what i could be missing?

    One more interesting behaviour when I was sending from SOAP UI, The request was posted twice, meaning there were two POST actions in my TCPGATEWAY listening port, while there was only one request via PI.
    Wnen my partner put a trace, the SOAP envelop was missing in their TRACE for PI file while the SOAP envelop was available for SOAP ui message (in the second request). Could it have something to do with a fact that we are doing HTTP 1.1with soap uI While PI is HTTP 1.0 (HTTP 1.1 being a persistent connection resulting in second request)
    Trace on the partner side,
    PI Message 
    POST /Services/Calculator/Version1/Calculator.asmx HTTP/1.0
    accept: * / *
    host: www.html2xml.nl
    user-agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
    callingtype: SJM
    content-id: <soap-4EB90CC8537E011DE1008000CDEB6913>
    content-type: text/xml; charset=utf-8
    content-length: 888
    SOAPAction: "http://tempuri.org/Add"
    HTTP/1.0 401
    WWW-Authenticate: Basic realm="CASM"
    Content-Type: text/html;charset=utf-8
    Content-Length: 40
    Date: Thu, 10 Nov 2011 11:50:13 GMT
    Connection: close
    SOAP UI log
    POST /Services/Calculator/Version1/Calculator.asmx HTTP/1.1
    accept-encoding: gzip,deflate
    content-type: text/xml;charset=UTF-8
    soapaction: "Create"
    user-agent: Jakarta Commons-HttpClient/3.1
    host: www.html2xml.nl
    content-length: 2496
    HTTP/1.1 401
    WWW-Authenticate: Basic realm="CASM"
    Content-Type: text/html;charset=utf-8
    Content-Length: 40
    Date: Thu, 10 Nov 2011 12:04:40 GMT
    POST /Services/Calculator/Version1/Calculator.asmx HTTP/1.1
    accept-encoding: gzip,deflate
    content-type: text/xml;charset=UTF-8
    soapaction: "Create"
    user-agent: Jakarta Commons-HttpClient/3.1
    content-length: 2496
    authorization: Basic U1lTX1dFQl9TQVBQSTo=
    host: www.html2xml.nl
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
    </soapenv:Envelope>
    HTTP/1.1 200
    Set-Cookie: JSESSIONID=A48C8808315935EFD7AFBA8B4B96FC62; Path=/xx
    Keep-Alive: timeout=1200000, max=1000
    Connection: Keep-Alive
    Content-Encoding: gzip
    Content-Type: text/xml;charset=utf-8
    Content-Length: 2882

Maybe you are looking for