Seeburger SFTP - File Adapter -- Filename in reciever channel

I am using a Seeburger SFTP Sender channel, and a "FILE" channel configured to use FTP.
I need to have the FTP adapter to write the file name as it was sent by the SFTP adatper.
I looks like I will need to use variable substitutions to do this, but I can't figure out how to populate a variable with the http://seeburger.com/xi/common/dtSubject that contains the file name from the SFTP Adapter.

All you need is 1 UDF that retrieves the value of dynamic configuration. The name space is http://seeburger.com/xi/common/dtSubject as you said. I am not sure the technical name for FileName for Seeburger adapter. But you can see this in SXMB_MONI under the dynamic configuration node. Using this value populate the dynamic configuration with name space http://sap.com/xi/XI/System/File and technical name FileName. This represents the file name for standard File adapter.
Regards
Jai

Similar Messages

  • Seeburger SFTP Sender Adapter Failure

    Hello,
    a SFTP sender channel causes the follow error when executing a poll cycle:
    SFTP Adapter failure Details: while trying to invoke the method com.seeburger.uri.dt.sftp.schema.DtSFTPPollingResponse.setSuccessMessage(java.lang.String) of an object loaded from local variable 'e'
    The server was pinged successfully so there should be no firewall issue. We are also able to logon to the server using a third-party SFTP client.
    The error description is not very meaningful for tracking down the root cause.
    Do you have any idea what could have caused this error?
    Thank you.
    Edited by: Guppenberger Florian on Jan 24, 2011 4:00 PM

    For the Roll back error plz chk the below points.
    1. Check the module parameters.
    2. Make sure the sender agreement doesnt have any * 's.
    Ex: The SA should not be like : | BS | SI_test_oa | * | *
          SA should be like  BS | SI_test_oa | |
    3. If the input file has special chanracters ,  use the encoding .
    If the above doesnt work, try to create a new communication channel and test it.
    We also faced this error toomany times in the sender CC for sFTP advatco adapter.
    Thanks,
    Soumya.

  • Seeburger sFTP receiver adapter error: Socket Write Error, EOF Received

    Hello experts,
    We have a sFTP to sFTP scenario for which we are getting below error every time the scenario is executed.
    Error Messages are as follows:
    Put File: Could not connect to remote host, Reason: Unexpected termination; software caused connection abort; socket write error[unknown cause].
    Sometimes below error occurs :
    Put File: Could not connect to remote host, Reason: EOF received from remote side [unknown cause].
    Every time after restart of sFTP adapter on XI box, failed messages are sent successfully to receiver sFTP server.
    There is no error for sender sFTP channel. This error occurs only for the receiver sFTP channel.
    On receiver sFTP side, we are using Public key-private key authentication.
    Can anyone please let me know what could be the cause of connection failure. ?
    Thanks a lot in advance!
    (I searched many threads on SDN but could not find anything relevant to this particular situation, so posting a separate question.)
    Minal

    Thanks Naveen for the reply..
    I missed to mention that we are working on XI3.0 with SP19 and seeburger sFTP is 1.7.4
    Looks like key exchange is working properly as after every restart of adapter all failed messages are processed successfully..
    It is observed that if there is an idle time of 8-10 hours between last data transfer and current data transfer then this error occurs.
    We have increased connection timeout and transmission timeout parameters also for sFTP properties in visual admin.
    Thanks,
    Minal
    Edited by: Minal Vaidya on Oct 5, 2011 8:46 AM

  • Sender file adapter - filename containing  *  does not work

    Hi All,
    I am doing simple file-file scenario wherein my filename is something like
    MATMAS05_XI20070911-150159-088.xml 
    there are many files having similar kind of  name which are supposed to be picked
    so simply I can go on writing <b>MATMAS05_XI*.xml</b> in filename
    it is not working.. communication monitoring gives error <i>Error occurred while connecting to the FTP server "10.25.117.237:21": java.lang.NullPointerException</i>
    But  when I use character '?' then it works fine - '?'  placeholder for each extra character
    I am on SP 20.My adapter is configured properly. FTP server working fine with '?' or simple filename. So bit confused why it is not working with *
    Are there some BASIS settings which have to be in place to work it out with * ?
    All your inputs are welcome !!
    Thank You,
    Mugdha kulkarni

    Hi
    this error is not related to multimple files or sending with the * char.. you can use it
    see the below link
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    The error related to the server connection.. also check the ip address is correct or not you configured correctly or not..
    also clarfity the correct error description ..
    Chilla

  • Alert if no file process :Same file adapter with same communication Channel

    Hi XI Guru,
    I have encountered 1 requirement from my client where, sender will send different data file with different file name. And there want XI to alert the user if no file to process for the schedule date. Please take note that the communication channel is common to all the sender.
    Example:
      Communication Channel : CC_FILE_SND
      FILE_10.TXT   ---> Every month on the 10, user have to send FILE_10.TXT to process
      FILE_20.TXT   ---> Every month on the 20, user have to send FILE_20.TXT to process
      If user fail or forget to send the FILE_10.TXT and FILE_20.TXT on special schedule date to process, XI should alert user.
    Many thanks

    Hi Lord
    <<< there want XI to alert the user if no file to process for the schedule date.
    Can you tell me how you are planning to configure this schedule date in your sender file adapter. I mean this date will be fixed or it is going to be change according to the requirement.
    Now for the second part in order to alert the user if file is not there, one solution is to use BPM with wait step ( specify the time in this step ), but then again it takes me back to my previous question, the time seems to be different everytime according to the requirement.

  • Error in SFTP  File Adapter

    Hi,
    The file is not picking from the source by SFTP Adapter. I cant see MsgID in the RWB at communication channel monitoring. If I see Logs, I cant find any error Info.
    Is there any area to find out the problem in XI about this SFTP adapter..
    The adapter status is showing in Green and working..
    Thanks
    Sri Raj

    No error is showing up in the communication channel monitoring ? Did you fill in the scheduler table and activate ?

  • Need help in file adapter configuration

    Hi,
       i am working on sps13 . while i am configuring the file adapter for sender        communication channel  i got a compulsary field "Queue Name" in processing    
    parameters . what should i make entry in that field ? plz....do reply.
    Thanks in advance.

    Hi Lakhman ,
    The parameter QualityOfService specifies how the Integration Engine should process a message. The following values are permitted:
    1)BE(Best Effort: synchronous processing). If QualityOfService is BE, the client is sent the final status for the processing.
    2)EO(Exactly Once: asynchronous processing with guaranteed execution exactly once). If QualityOfService is EO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    3)EOIO(Exactly Once in Order: asynchronous processing using queues, that is, guaranteed execution exactly once and maintaining the sequence of successive messages). If QualityOfService is EOIO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    Since u had choosen EOIO ,You must also define a queue name for EOIO:
    XI.QueueId=<QueueName>
    This queue name is used in the Integration Engine to process messages in the same sequence that they arrived in.
    This QueueName can consist of a maximum of 16 characters. If the first 8 characters contain 'SAP_ALE_', these r removed since this value is reserved by SAP and used internally.
    If a value is not specified for QualityOfService , the default value 'BE' is used.
    These r following websites which u wil find helpful:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/content.htm
    http://documentation.softwareag.com/crossvision/xie311/admin/config.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
    Reward Points if u find it useful.
    cheers!
    gyanaraj
    [email protected]

  • FTP connection error whil,e using flat file adapter error

    while using file adapter in the reciever end for proxy to file
    i am giving  paranters like server IP address and the port , i dont know which port to give by default it is giving me 21 , anyway how to check whether the connection is correct
    and more over
    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
    please help me in this thanks

    HI Sridhar ,
    First check wether server started or not and then check you are connecting to FTP server by
    go to run -> cmd and write ping and ipaddress which is used and see whether u r getting reponse from teh FTP server.
    Try to login to the ftp server which you have mentioned in CC using the user name and pwd, to chk whether you have the permissions to login to the server.
    Also the check whether the folder you are trying to access is having permission for delete/read/write.
    Restart the FTP server and try it again.
    Regards
    Sridhar Goli

  • SFTP Seeburger adapter - Could not find channel for report handling between

    Hello Friends ,
    We have R3 -> PI-> SFTP scenario . The messages are transferred successfully and the file is successfully received at the receiving end . But when we do communication channel monitoring , we see errors in Receiver CC . The Reciever CC contains SFTP adapter (Seeburger) . Recently the Seeburger adapter is upgraded and the below error has started occuring then onwards .
    Error Message which we see in CC monitoring for Receiver CC (SFTP) is as below .
    Initiation of Transmission Report( job id: da405030-30c6-11df-8b6e-797b8921162c milestone: 290) failed! Exception occured: Error while preparing XI message. Error: Could not find channel for report handling between parties: fromParty, toParty: Itella) - com.seeburger.xi.connector.fw.ConfigurationException: Error while preparing XI message. Error: Could not find channel for report handling between parties: fromParty, toParty: Itella) [3/16/10 8:40 AM]
    Could experts help me ...
    Thanks for your time .
    Regards,
    Laxman Nayak .

    Hi,
    I also have the error you mentioned but we're implementing the Seeburger SFTP adapter for the first time.
    I've requested transport acknowledgements in my ABAP proxy and have checked the 'Deliver transmission report' flag in the adapter but I don't know what else I must do.
    Any help would be greatly appreciated.
    Thanks,
    Alan

  • How to file mask in sender seeburger SFTP adapter

    Hello Gurus,
    Please help on
    How to perform a file mask in sender seeburger SFTP adapter? eg. I want to pick all the files but not *.tmp files.
    thanks
    Kishore

    Kishore
    A work around:
    Use another interface File to file (By pass) using file adapter which does the mask exclusion of the file which are not required.
    Regards
    Raj

  • The same filename from a sender to a receiver file adapter - SP14

    Hi Expers,
    I Have Gone through the link which is given bu Michal.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Here My Questions are.........
    1.Should we give any file name in the receiver side Adapter in this scenario.?????
    2.How wil be the Sender and Receiver Communication channel Parameters????
      What Are they???????
    Please Clarify me...
    Regards
    Khanna

    Hi Rajesh,
    Is your query related to sending the file name from the source xml document to the reciever file adapter. If so this can be achieved.
    Pls. do the following.
    1. In the mapping program that you are using populate the filename coming from the source into the target root element.
    2.Sender adapters can write adapter-specific attributes to the message header; these can then be evaluated at configuration time
    3. To change the adapter-specific attributes of the message header by using message mappings, you access the required classes of the mapping API by using a mapping runtime constant.
    <b>Note: You donot need to specify any filename in the receiver communication channel.</b>
    To access the classes DynamicConfiguration and DynamicConfigurationKey by using the mapping runtime constant DYNAMIC_CONFIGURATION, use the method getTransformationParameters() of the container object.
    Create an simple user defined function in the mapping and use the following code.
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    Paramter: String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    You donot need to hard code the value of the filename in the file adapter for your interface.
    In SXMB_MONI, when you see the pipeline services you would see that the value of the filename is populated in the message payload.
    Thanks
    Indranil

  • Error in reciever file adapter , where i am getting file name dynamically

    hi all,
    error in reciever file adapter , where i am getting file name dynamically, please help me in this isssue , i am trying for a long time
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)'

    i am getting new error
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    this is my strcuture
    and i have changed my structure
    <HEADER>
    <ADDRESS1/>
    <ADDRESS2/>
    <ADDRESS3/>
    <ADDRESS4/>
    </HEADER>
    <HEADER_GST>
    <TAX1/>
    <TAX2/>
    <TAX3/>
    </HEADER_GST>
    <LINE>
    <QTY/>
    <UOM/>
    <UNIT_AMT/>
    <CHARGE_TO_DT/>
    </LINE>
    <FILENAME>
         <FILENAME/>
    </FILENAME>
    i have given the recordset structure as
    HEADER,HEADER_GST,LINE,FILE

  • Help req in Seeburger SFTP adapter

    Hi All,
                I have a scenario where i need to send a file to SFTP server. I used Seeburger SFTP adapter to connect to SFTP.
              This is a pass through interface and i havent used any party at the confiuration( normal configuration without party)
                 In SFTP channel  @ modules i configured it as:
    localejbs/Seeburger/solution/<solutionName>            Local Enterprise Bean                solutionid
    localejbs/ModuleProcessorExitBean                            Local Enterprise Bean               exit
    Module Key                                    Parameter Name                                   Parameter Value
    exit                                                 JNDIName                                    deployedAdapters/SeeXISFTP/shareable/SeeXISFTP
    When i test the scenario i facing the following error in the receiver communication channel( SFTp Adapter) @ RWB
    Delivering the message to the application using connection SFTP_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ModuleProcessorExitB ean..
    Can someone please help how to resolve this problem.
    Thanks,
    Siva

    Hi,
    can you share how you solved this issue? i am having the same issue with the sftp and receiving the same error.
    Thanks in advance.

  • How to get the filename in mapping when using sender File adapter?

    hi Experts,
       I have scenario where XI reads the input file using Sender file adapter.
       The file name is configured in the communication channel.
       In my message mapping it is possible to read this file name?
    Thanks
    gopal

    Hi Gpoal,
    Use Dynamic Configuration - /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Geetha

  • MQ to File: How to send a Filename from JMS Header (MQ) to a File Adapter

    Hello Experts,
    I have a flat file coming into PI via JMS adapter (MQ) and going out on a File adapter (NFS). We would like to keep the file name consistence throughout the transaction. While coming from MQ our sender is sending the filename in one of the MQ Headers (JMSCorrelationID). We are trying to figure out how to read the file name from the MQ header and send it to the file adapter. Please let us know any other suggestions.
    Thanks,
    Mayur

    Use this UDF code in MessageMapping.
    try
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey KEY_JMSCorrID = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSCorrelationID");
    DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(KEY_FILENAME, conf.get(KEY_JMSCorrID));
    catch(Exception e){}
    return a; //a is some input field.
    Enable ASMA on receiver File channel.
    Edited by: Praveen Gujjeti on Mar 17, 2010 9:23 AM

Maybe you are looking for

  • Error while downloading a file

    I have written a servlet that downloads a file from my server on to my mobile. i have written the following code to download the file: URL url = new URL(path);                     URLConnection connection = url.openConnection();                     I

  • How do I get iPhoto to my iPad 2 without buying it again? From my MAC?

    How do I get iPhoto to my iPad 2 without buying it again? From my MAC?

  • Re-order point planning

    Dear Sir, We have configured Re-order point planning. Accordingly we have created the MRP controller and updated the material master (812 materials) with all the values required for re-order point planning. With all these settings, system is not runn

  • Schedule recycle of Weblogic managed server

    Hello everyone, We are having issues with gradual degradation of response time with our BI Publisher application.  Until the issue is solved, we would like to schedule a daily automatic recycle of the managed server that it runs on.  I have seen docu

  • Is there any way we can buy Mac mini customised?

    I actually gave planned to buy Mac mini but I want some customisation to be done before purchased and I have geared that apple accepts customised order in Macs. If it excepts then how to make order for customisation Mac mini. Can any one provide me t