SFTP adapter Config in PI 7.1

Hi Experts
I am working on a SFTP adapter on the sender side to encrypt the file and send it to the Thirdparty, Can I configure multiple files to send to  the different parties or banks (Different Bank may use different keys) in the same Receiver SFTP  adapter to achive this
please help if there is any blog on SFTP Receiver adapter how to configure
Thanks
PR

It depends on the adapter you are using to achieve the SFTP protocol (seeburger, advantco,...?). However, most of them don't support multiple FTP connections with the same adapter. But this is easy to achieve by adding many communication channels to the Receiver Determination of the scenario.
Standard Receiver Determination 
http://help.sap.com/saphelp_nw04s/helpdata/en/14/d5283fd0ca8443e10000000a114084/frameset.htm
Also, for overal information on SFTP adapters for PI, please check the document below.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0e0117a-3167-2d10-d2ae-f87dfa5e00f0?quicklink=index&overridelayout=true

Similar Messages

  • SFTP Adapter Error

    Hi All,
             I am sending file from file server to SFTP file server.  The error that I receive in receiver SFTP adapter is :
    <b>Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: >> Description: Could retrieve address with ID <The specified item was not found.>. Root cause: Unable to execute query because: com.seeburger.xi.config.ConfigException: No To-party associated with ID: The specified item was not found.{:SFTPReceiver::SFTPReceiver}>> Details: Could retrieve address with ID <The specified item was not found.>. Root cause: Unable to execute query because: com.seeburger.xi.config.ConfigException: No To-party associated with ID: The specified item was not found.{:SFTPReceiver::SFTPReceiver}>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: CONFIGURATION_ERROR>>Retryable: false>>Fatal: false, >> Description: Could retrieve address with ID <The specified item was not found.>. Root cause: Unable to execute query because: com.seeburger.xi.config.ConfigException: No To-party associated with ID: The specified item was not found.{:SFTPReceiver::SFTPReceiver}>> Details: Could retrieve address with ID <The specified item was not found.>. Root cause: Unable to execute query because: com.seeburger.xi.config.ConfigException: No To-party associated with ID: The specified item was not found.{:SFTPReceiver::SFTPReceiver}>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: CONFIGURATION_ERROR>>Retryable: false>>Fatal: false</b>
    Pls Advice:
    Regards,
    XIer

    can you double check you configurations associated with this CC,cos in the error it clearly says :
    Unable to execute query because: com.seeburger.xi.config.ConfigException: No To-party associated with ID:
    FaultCategory: CONFIGURATION_ERROR
    and you might wanna look more on sorting out "No To-party associated with ID"

  • SFTP adapter - missing maverick java classes

    Hi
    We have using the BPEL PM Developer (10.1.3.1).
    We have tried to use the SFTP with the FTP Adapter. We configured the oc4j_ra.xml file, but after creating a sample BPEL process with the FTP adapter we got this error message in the log file:
    "Missing class: com.maverick.ssh.SshTransport"
    We have searched for this classes in the BPEL PM developer directory but we could not find jar or class files.
    Has anybody use it or not? The maverick class files are not free, and the documentations does not contain the we need to buy third party software to use SFTP with FTP adapter.
    Zoltan

    Hi,
    So the steps are:
    1. I've started with a blank new asynchronous BPEL project.
    2. I dropped only an FTP adapter (to put a binary file on a remote
    machine, schema is opaque) to the swimlane.
    3. I made some assignments to the input and output variables,
    to fix the warnings and deployed into my BPEL PM server (running on
    localhost).
    4. When I started this BPEL process it stopped with this error message:
    Missing class: com.maverick.ssh.SshTransport
    Dependent class: oracle.tip.adapter.ftp.SshImpl.SshImplFactory
    Loader: FtpAdapter:0.0.0
    Code-source: /C:/oracle/soa/bpel/system/appserver/oc4j/j2ee/home/connectors/FtpAdapter/FtpAdapter/ftpAdapter.jar
    Configuration: <code-source> in C:\oracle\soa\bpel\system\appserver\oc4j\j2ee\home\connectors\FtpAdapter\FtpAdapter
    The missing class is not available from any code-source or loader in the system.
    5. My oc4j-ra.xml file for the FtpAdapter:
    <?xml version="1.0"?>
    <oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
         <imported-shared-libraries>
              <import-shared-library name="oracle.bpel.common"/>
              <import-shared-library name="oracle.xml"/>
         </imported-shared-libraries>
         <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
              <config-property name="host" value="myhost"/>
              <config-property name="port" value="22"/>
              <config-property name="username" value="myusername"/>
              <config-property name="password" value="mypwd"/>
              <config-property name="keepConnections" value="true"/>
              <config-property name="serverType" value="unix"/>
              <config-property name="serverLocaleLanguage" value=""/>
              <config-property name="serverLocaleCountry" value=""/>
              <config-property name="serverLocaleVariant" value=""/>
              <config-property name="serverEncoding" value=""/>
              <config-property name="useFtps" value="false"/>
              <config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
              <config-property name="walletPassword" value="welcome1"/>
              <config-property name="channelMask" value="both"/>
              <config-property name="securePort" value="990"/>
              <config-property name="keyStoreProviderName" value=""/>
              <config-property name="keystoreType" value=""/>
              <config-property name="keystoreAlgorithm" value=""/>
              <config-property name="enableCipherSuits" value=""/>
              <config-property name="proxyHost" value=""/>
              <config-property name="proxyPort" value=""/>
              <config-property name="proxyUsername" value=""/>
              <config-property name="proxyPassword" value=""/>
              <config-property name="proxyType" value=""/>
              <config-property name="proxyDefinitionFile" value=""/>
              <config-property name="useProxy" value="false"/>
              <config-property name="useSftp" value="true"/>
              <config-property name="authenticationType" value="password"/>
              <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
              <config-property name="preferredCompressionAlgorithm" value="zlib"/>
              <config-property name="preferredDataIntegrityAlgorithm" value="hmac-sha1"/>
              <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
              <config-property name="privateKeyFile" value=""/>
              <config-property name="preferredCipherSuite" value="3des-cbc"/>
              <config-property name="transportProvider" value="socket"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    </oc4j-connector-factories>
    Thanks for your answer in advance!
    Zoltan

  • BizTalk Server 2013R2 SFTP Adapter - Cipher support (BLOWFISH)

    Hi,
    It appears that the SFTP adapter only supports a subset of commonly used ciphers. I'm trying without success to connect to a server that is using blowfish, without success. There currently seems to be 3 options in the port config - AES, TripleDES and Auto.
    I assume auto will negotiate between AES and 3DES - but I wonder if there is any further cipher support ?
    Regards, Jason

    Agree with you Jason and this
    MSDN Blog confirms that currently supported Encryption Ciphers are 3DES and AES. It doesn't support target systems with blowfish at least in this release.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Dynamic filename creation with Seeburger's SFTP adapter

    Hi Experts,
    I read in one of the forum that Seeburger's SFTP adapter supports dynamic configuration.
    My requirement is i need to dynamically create a file name and put it into a predefined folder(of a third party system) with SFTP adapter.
    Can any one help me with some blogs/Materials on this?
    Thanks,
    Niranjan

    HI,
    Have you look into the blogs mentioned in below forum
    How do we do File content conversion using SFTP SEEBURGER Adapter
    Thanks
    Swarup

  • SFTP adapter

    Hi Experts,
    I have  SFTP to FILE adapter without ESR objects scenario.
    I just need pick file from remote location and drop in to receiver side with same file name.
    In this what ever I am picking up source files via SFTP adapter need to generate the same file name in receiver side.
    When I have choose ASMA in  SFTP adapter it is failing receiver side (File) . File name is not found like .
    I have put file name is XYZ_*.* in source in SFTP adapter and Target side *.* in File adapter
    this configuration is not working getting error in receiver side.
    Can you please suggest to me any alternate solution for this scenario.
    Regards
    Tahir

    Hi Tahir,
    SFTP Sender Adapter :
    File name : In case of .txt file give the filename as ".+\\*.txt",in case of .csv file give the filename as ".+\\*.csv" and in case of any other file format give the filename as " ".+\\*".
    Asma Settings :
    File Adapter :
    File name :
    Asma Settings:
    Thanks,
    Durga

  • Need to read source file without deleting it - Sender SFTP adapter

    Dear friends,
    The data from the source file needs to be read by PI on a daily basis. The file should not be deleted.
    Vendor  updates the file on a daily basis with file name DataFeed.xml
    How to acheive this in Sender SFTP adapter ?
    Kindly guide me
    Renu

    Hi Renu,
    Unfortunately as of latest release of SFTP adapter. Arching is not possible :(. really dont know why :).
    as a work around what you can do is  create a scenario as 1 sender and 2 reicever.
    here: 1 sender: will be the sender fileadapter which will pick the file from souce.
             1st receiver: will be a receiver file channel which will palce back the file in the source Archive folder.
             2ed Receiver: this will be the actual receiver to which the data has to be given.
    Or write a Module in Sender adapter which will archive the files in new location.
    Note: Here i am assuming that each time the source creates a new file with same name which contains new data in it everytime.
    Regards,
    Senthilprakash.

  • 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

  • Picking file in sequence/Queuing   in  sender SFTP adapter.

    Hi Experts,
    I am using SFTP adapter in sender side, it has no option of quality of service ( EOIO)  and queue name as we have in  FTP adapter configuration .Is there any  predefined  module provided by Sap which i use in the modules Tab in communication channel configuration to get the functionality of queuing ? just like we use  strictXMlto plain bean etc.
    I have 3 files which needs to  proccess in a sequence one after another in order.I CANT USE BPM or Even FTP because of Security reasons.
    please share you ideas.
    Regards,
    Anika

    Hi all,
    I have tried using AF_Modules/DynamicConfigurationBean in module tab present is the sender SFTP adapter with the attribute qualityOfService.
      parameter name                  Parameter value
         key.0                         insert http://sap.com/xi/XI/System/Messaging  qualityOfService
        value.0                        ExactlyOnceInOrder
    But in Moni i dont see the 3 messages didnt go in the same queue.But when i double click and open the dynamic configuration present in the soap header section i can see the values which i given in the module parameter.
    Is there any way i can change the quality of service to EOIO at runtime ? how to change the default EO to EOIO.
    Regards,
    Anika

  • Handling empty files Using SFTP adapter

    Hi folks,
    Can any please let me know how to handle empty file handling in SFTP adapter as a sender.
    I getting error in sxmb_moni while empty file coming in sftp adapter. Please help me on this issue.
    Thanks,
    Enivass

    Hi,
    please select option "Empty file Handling-*do not create Message*" in sender comm channel as per your requirement.
    Try this.
    Reg

  • Flat file to XML in SAP SFTP adapter

    Hello All
    I am trying to convert flat file to xml using SAP SFTP adapter.
    Flat File is like below:
    AABEN;20141106;20141106;45;0.00
    AABOL;20141106;20141106;45;0.00
    ABGRI;20141106;20141106;45;0.00
    ADDEA;20141106;20141106;45;0.00
    ALADA;20141106;20141106;45;58.43
    AMSCH;20141106;20141106;45;0.00
    ANOLV;20141106;20141106;45;0.00
    ANROY;20141106;20141106;45;0.00
    AVMCD;20141106;20141106;45;0.00
    Message Type structure I created like below
    In Server SFTP adapter in Module tab I am using "AF_Modules/MessageTransformBean" and conversion type ="StructPlain2XML"
    I am getting error = "Error: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) "
    I am not using any key field then please let me know how to overcome this issue.
    I searched on SDN but did not get any perfect answer.
    Thanks
    Dheeraj Kumar

    Hello Dheeraj,
    Thanks for your reply. I created a new discussion,
    Flatfile to XML
    Thanks well in advance for your help!
    -Satish.

  • Sender sFTP Adapter - SSH Key

    Hi All,
    I have a small doubt regarding Sender sFTP Adapter. This is what we have done to connect with one of Vendor
    1.     Basis created a SSH key in NWA for Vendor and sent to them.
    2.     They linked the SSH key with user name and asked me to use the same.
    3.     We got the firewalls openepd b/w PI and Vendor
    4.     I provided the same detail in sFTP adapter, but I am not able to connect,
    I am getting below error:
    Error: Cannot connect to SFTP server. Host=########, port=22, username=#####. Private key store=########, private key alias=piPKCS12. Timeout=300000 msecs. Absolute home directory=.: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched. (Software version: 3.0.14.2)
    Please provide your inputs.
    Regards,
    Sachin Dhingra

    Hi,
    The first thing you have to do is use the same userid and the pwd and try to connect to the vendor system from your application layer and see if this is connecting or not. If there is a problem in connection then there are few steps that you have to follow. Below are the steps you need to follow:
    1. Open the port from your Vendor side as well as open the port from your XI system(there might be two ports)
    2. Generate the key of your vendor system and one you started login to the system then it will ask to instal the key , so acept it.
    the IS people can help you out over here.
    3. Try to push the one dummy file in that location manually using the command in application layer.
    4. check the authorization in the target directory and try to provide the proper authorization,, 777 is used for full authorization.
    5. use the same useid and the pwd and then try from your xi system processign a dummy file.
    hope this helps.
    cheers,
    jay

  • Receiver SFTP adapter giving spaces between characters in the Output file

    Hi PI Experts,
    My Scenario is: Paymul (EDI file ) ECC -> PI -> SFTP server.
    Source Sender File adapter able to pickup this Paymul D96A file and able to send messages to target SFTP server using SFTP receiver adapter.
    But, Generated Output file having single space between each character. I am not using any content conversion modules in Receiver SFTP adapter.
    Also not having any mappings to transform the messages. it is just pass through interface.
    I have attached example Output file. I have changed the .Dat file to .txt just to attach here.
    Could any one try to help me on this. Please let me know incase need any more details.
    Thanks,
    Govindu.

    Hi Govindu,
    Please see if the below Endcoding settings wont resolve your issue.
    File Type - Text
    File Encoding - ISO-8859-1
    Regards,
    Jannus Botha

  • How to configure SFTP Adapter in XI?

    Hi All,
    How to configure SFTP adapter in XI?, It would be great if anyone sends a step-by-step documentation on the same.
    Thanks in advance

    Hi,
    About SFTP .
    1) SFTP (Secure File Transfer Protocol)
    "SSH File Transfer Protocol" or SFTP is a network protocol that provides file transfer and manipulation functionality over any reliable data stream. It is typically used with the SSH-2 protocol to provide secure file transfer. SFTP encrypts the session, preventing the casual detection of username, password or anything that is being transmitted. One key benefit to SFTP is its ability to handle multiple secure file transfers over a single encrypted pipe. By using a single encrypted pipe, there are fewer holes in the corporate firewall.
    SFTP:
    As per the latest SAP PI/XI support pack, it does not support SFTP via File Adapter.
    So alternative approach to cater this requirement from XI is to make use of Unix Script at OS level to transfer the files from/to third-party systems.
    Inbound Interface - i.e. third-party system ->XI->SAP: 
    File is transferred to a folder in SAP XI landscape from the third-party legacy system using UNIX Script with secured protocol. Once the file is ready in the XI landscape, File Adapter will poll this directory and file is picked up by NFS protocol.
    Outbound Interface – i.e. SAP->XI->third-party system: 
    XI is responsible for writing a file into a folder in the XI landscape. These files are transferred to the third-party system by executing UNIX scripts with secured protocol i.e. via sFTP.
    Pre-Requisites: 
    Public key should be exchanged between external systems and the PI system.
    UNIX shell script has to be developed and scheduled.
    Advantages: 
    Highly Secured.
    Ability to handle multiple secure file transfers over a single encrypted pipe .By using a single encrypted pipe, there are fewer holes in the corporate firewall.
    Disadvantages:
    Two-Step process i.e. XI>Temporary folder>External System and vice-versa
    Files have to be temporarily stored in XI server.
    Multiple failure points i.e. XI and Unix script execution
    Maintenance of an external UNIX script.
    Difficulty in monitoring the execution of the shell script as it cannot be monitored thru XI.
    Need to generate keys and install it in the SFTP site as a pre-requisite i.e. SFTP clients must install keys on the server.
    SFTP uses keys rather than certificates. This means that it can't take advantage of the "chains of trust" paradigm facilitated through Certificate Authorities.
    Files from the XI server should be deleted/archived in a periodic manner to increase the disc space so that it will increase the performance.
    Note: UNIX shell Script can be executed as a background job ‘or' can be triggered from SAP XI through OS command at File adapter level.
    Check the links.
    Secure FTP (SSH) with the FTP Adapter
    Secured File Transfer using SAP XI
    Secure FTP in SAP XI
    Regards,
    Phani
    Reward points if Helpful

  • Query regarding sftp adapter

    Hi
    Is there any way we can use dynamic configuration with sftp adapter ?
    Requirement is that I need to retrieve input file name and use that somewhere
    but for sftp sender I could not locate adapter specific message attributes.
    Does that mean its impossible to retrieve file name during runtime?

    Hi Akhil
    have  a look on this links
    Standrad File adapter shipped with XI does not support SFTP. You can may be consider using FTPS ( File Transfer Protocol using SSL/TLS ).
    Check this link for further info,
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/content.htm
    For HTTPS and FTPS, you need to define if your communication will have certificate authentication, user authentication, none or both. User/password you enter in the adapter parameters, it's simple. For certificates, you need to import (load) it on Key Storage service, service_ssl view, on Visual Administrator (or create the key pair certificate on XI and then sign then on some Certification Authority, on the same service). Check http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm for further information.
    HTTPS / SFTP with XI
    Need Some Pointers for adapter development
    there's a sample adapter shipped with the XI
    /people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
    Fle Adapter connection to SFTP server ove SSH
    sftp adapter creation
    Thanks !

Maybe you are looking for