PI 7.4 - SFTP Adapter - Logs successful - No File Written

All,
We are on PI 7.4 Dual stack -
Scenario:
IDOC to FlatFile via Reciver SFTP adapter - FCC is done by XML2Plain adapter module.
The receiver comm channel logs are looking good. Please see below.
But we dont see any file on the SFTP server.
Please note that -
1. We were able to write a file to the SFTP server without using XML2Plain bean
XML2Plain module parameters.
Receiver Comm Channel - logs:
09/16/2014 04:03:38.457 PM Information Message was received by the messaging system. Protocol: XI URL: http://<PISERVER>:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISDX1
09/16/2014 04:03:38.459 PM Information Using connection SFTP_http://sap.com/xi/XI/SFTP. Trying to put the message into the receive queue
09/16/2014 04:03:38.471 PM Information Message successfully put into the queue
09/16/2014 04:03:38.474 PM Information The message was successfully retrieved from the receive queue
09/16/2014 04:03:38.493 PM Information Delivering to channel: CC_GoodsMovementsFileRcv
09/16/2014 04:03:38.493 PM Information MP: processing local module localejbs/AF_Modules/MessageTransformBean
09/16/2014 04:03:38.493 PM Information Message status set to DLNG
09/16/2014 04:03:38.494 PM Information Transform: using Transform.Class: com.sap.aii.messaging.adapter.Conversion
09/16/2014 04:03:38.495 PM Information Transform: transforming the payload ...
09/16/2014 04:03:38.496 PM Information MP: processing local module localejbs/CallSapAdapter
09/16/2014 04:03:38.496 PM Information The message was successfully delivered to the application using connection SFTP_http://sap.com/xi/XI/SFTP
09/16/2014 04:03:38.496 PM Information Transform: successfully transformed
09/16/2014 04:03:38.498 PM Information Message status set to DLVD

Hi Naveen
There are a few typo errors in your configuration.
First one is xml.conversionType - your value have a lower case p while it should be in upper case (SimpleXML2Plain)
The next one is xml.endSeperator - should be xml.endSeparator.
Try to make these typo corrections to see if it helps.
Also, you have configured a lot of parameters that are not applicable for the SimpleXML2Plain conversion, i.e. documentName and documentNamespace, fieldNames, lastFieldsOptional, processFieldNames and structureTitle. These can be removed. You can refer to my blog below for the list of parameters that are applicable.
FCC parameter reference for MessageTransformBean module
Rgds
Eng Swee

Similar Messages

  • SFTP adapter issue with dupliacate files

    Hello Guys,
    I am working on file to proxy scenario on PI 7.31 Java only system.
    I am facing issue with SFTP sender adapter, i wanted to reprocess the same file again. Although i unchecked the duplicate file checkbox.
    File is not getting processed and adapter gives below error.
    Error while sending message: Message ID 1406196843/-1496048728/1376310205/103581509 already exists in database: com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UNKNOWN.obj#=24157) violated
    OpenSQLExceptionCategories: [NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION]
    Note- SFTP component is 1.0 and patch level is 01.
    Please let me know if anyone have came accros such error and resolution for the same.
    Thanks,
    Sandip

    Hi Sandip,
    What is your PI SP level?, check if this note affects your system
    1635853 - Concurrency issue during load test
    1979353 - Recurring TxRollbackException with MODE_STORE_ON_ERROR stage configuration
    Check also this thread File Sender Adapter - Duplicate Message ID Issue - PI 7.31
    Regards.

  • Issue with network or SFTP adapter

    Hi Guys,
    we have found a case where a file has been received empty by the receviers, although we can see in PI that message contains data and transmitted successfully from AE.
    Please note that SFTP adapter is being used here and file contains encrypted data which is being sent outside the organization network.
    Can it be network or there is issue with SFTP adapter?
    Let me knw if you have any queries.
    Regards,
    Aki

    there was no error occured in AE monitoring as per logs it processed successfully, but receiver party which is outside organization network complained saying that they receive this file empty.
    Logs for your reference received by third party:-
    2011-08-26 08:23:35 XXX.XXX.XX.XXX 21 980 XXX.XXX.XX.XXX 33081 3172 XXXX-X-p@br 0 0 File Name 3 >>FILE INFO: D:\ftp\kunden\File Name was opened. Sharing is 1. File Handle is 0x00000b24.
    2011-08-26 08:23:35 XXX.XXX.XX.XXX 21 980 XXX.XXX.XX.XXX 33081 3172 XXXX-X-p@br 0 0 File Name 3 Did not receive any data, Error=1506, SubError=0, WSAError=0
    2011-08-26 08:23:35 XXX.XXX.XX.XXX 21 980 XXX.XXX.XX.XXX 33081 3172 XXXX-X-p@br 0 0 File Name 15 >>FILE INFO: D:\ftp\kunden\File Name was closed. File Handle is 0x00000b24.
    2011-08-26 08:23:35 XXX.XXX.XX.XXX 21 980 XXX.XXX.XX.XXX 33081 3172 XXXX-X-p@br 0 0 File Name 15 Finishing STOR, Triggering events manager for FX_EVENT_FILE_WRITE_SUCCESS
    2011-08-26 08:23:35 XXX.XXX.XX.XXX 21 980 XXX.XXX.XX.XXX 33081 3172 XXXX-X-p@br 0 0 File Name 15 RESPONSE: 226 Closing data connection. Transferred 0 bytes in 1 seconds. 0KB/second.
    where in PI we could see message contains data and message has been successfully processed, could it be issue on receiver end?
    thanks.

  • Receiver SFTP Adapter

    Dear Gurus,
          I have configured receiver SFTP adapter using key based authentication to place the files in root (~/) folder, we have shared our public key to the SFTP vendor and they stored it in their key store.
          But while testing the scenario, in PI it's showing success everywhere in channel monitoring, moni and as well as messages monitoring, but strange none of the files were found in the SFTP box when I logged in using file zilla.
          Kindly give your valuable findings.
    Thanks
    Ravi.

    Hi Ravi,
    Are you using the same user account while logging in using FileZilla as in SFTP Receiver Communication Channel?
    Best Regards,
    Anand Patil

  • Can we make server fingerprint field optional instead on mandatory in SFTP adapter

    Dear All,
    We are integrating SAP HCM with Success-factor only for Employee profile as client is only using the "SF PMS" module.
    ABAP program(installed through SH addOn provided by SAP) is generating the Employee profile ".csv" file.
    I am developing a bypass scenario to transfer that ''.csv" file to SuccessFactors SFTP server. However, SuccessFactors SFTP server team is not ready to provide me their "server fingerprint", and they are claiming this info is not required to develop interface in PI. The Authentication mode in SFTP communication channel is "Password" based instead of "Private key".
    Experts please help me understand is there any possibility to make this field optional? if not what else I can try here?
    Thanks,
    Farhan

    Hi Farthan,
    Server Fingerprint is the mandatery field to fonfigure the SFTP adapter. kindly check with your admin team to login thorough CoreFTP, it will be genarte and display the Server fingerpring.
    please go through the below log.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/04/11/sap-sftp-sender-adapter-a-quick-walkthrough
    Regards
    Srinivas

  • Receiver SAP SFTP adapter-errorlog on SFTP server

    Experts,
    I am using receiver SAP SFTP adapter to connect to an SFTP server and send files.Receiver SFTP server is a VMS system.I could able to write the files to home directory of the user that has been given,but apart from writing the files I am seeing warning log file in the the target folder on SFTP server like below description.I am giving dot(.) in the file path to write the files to the default directory that has been assigned to the user given by receiver SFTP server team.
    WARNING: ssh_file_server_receive_proc: platform cannot stat() filename /home/dir1/dir2 ./TestFile(TestFile is my file name) .
    Just to test,we placed files in the receiver SFTP server using same user and password as the PI recv SFTP channel with command line and winsCP client tool,but we don't see any error logs on the server with WinSCP tool or command line transfer of the files.Log file with above  warning is generating only when we place files on the server using SAP SFTP adapter in the recv channel of PI.
    Please let me know,if you have any insight or seen similar issue.
    Thank you,
    Sri

    Hi Poonam - Blogs on SFTP : Just search for SFTP and filter by blogs/documents.. you can find many..
    >>> http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/305eeb5b-81e7-2f10-d8aa-9216de04ca3e?QuickLink=index&overridelayout=true&57075820413417
    http://scn.sap.com/docs/DOC-35572
    I read in some of the SDN forum that SFTP adapter doesnt have the capability to read the files from multiple directories. So, if we get any requirement to read the files from multiple directories using sftP, why could be a possible solution for this requirement?
    >>> Yes. It is only possible with NFS.
    You have to define multiple channels/interfaces...

  • Problem with BizTalk server 2013 SFTP adapter on Cloud VM

    All, 
    We have deployed Microsoft Biztalk Server 2013 Enterprise edition on a cloud VM. We are facing an issue with SFTP adapter to receive. Following are the details; 
    On this VM, we are facing an issue with BizTalk server 2013 SFTP adapter. The SFTP location can receive and send message through SFTP clients and .Net code. But using BizTalk server 2013 SFTP adapter we are only able to send the file on SFTP location but
    could not receive the files from same location.
    We are getting  just one line error in system event log that is :
    Event#7011. A timeout (30000 milliseconds) was reached while waiting for a transaction response from the BTSSvc$BizTalkServerApplication service.
    Regards, 
    Shoaib Danish

    Hi
    BizTalk Server 2013 is available on Windows Azure. BizTalk Server 2013 can be installed locally on your hardware
    and in Windows Azure as a virtual machine. Please follow the procedures to check it on your side.
    Configuring BizTalk Server 2013 on a Windows Azure VM
    Create a BizTalk Virtual Machine in Windows Azure
    Create the BizTalk Group Prerequisites
    Configure the BizTalk Group
    Best regards
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BizTalk Server 2013 SFTP Adapter with private key - Did not poll any files

    Hello, 
    We have a requirement to connect SFTP secure site with the private key and polling files.   Initially I have
    tested BizTalk Server 2013 SFTP Adapter receiver Port using  Bitvise SSH SFTP Server tool and it was working perfectly in our local network environment( with public private key authentication).
    However when we connected to Client SFTP server with private key authentication, It successfully connected to SFTP Server but
    did not poll any files from SFTP Site.  I added only one file to SFTP Server ( 145 kb file) for testing purpose.
    However BizTalk Server 2013 SFTP Send Adapter is working well with the same configuration.
    I could not find any errors in Event viewer also.  I can download\upload file using WinSCP tool .
    So I downloaded nSoftware SFTP Adapter trial version and deployed on server. nSoftware SFTP adapter  is also working find
    without any issues for Client SFTP Site.
     This is the configuration on SFTP Receive Adapter
    This is how SFTP Server download folder permission configured. I have got this details using WinSCP tool. 
    <o:p></o:p>
    Appreciate your help on this.<o:p></o:p>
    Thanks<o:p></o:p>
    PrabathD<o:p></o:p>

    BizTalk Adapter for SFTP is where the polling logic is implemented. It is not part of the SFTP Client logic. any SFTP Client is for User Interaction and you do what you want/when you want.
    The BizTalk Receive however is for purposes of automation and the adapter polls the receive location using the credentials every polling interval to check for the files matching the filter. When it find a file, it will read and publish to message box or
    submit to pipeline for processing. Your setting the polling interval to 0 (ZERO) might actually be disabling the polling.
    Set your poll interval to a non-zero value and check the behavior.
    Regards.

  • SFTP Adapter Stops picking files intermittently

    We are having issues with sftp. In the BPEL process we are polling for files from a sftp location. When we deploy this process, it picks the files
    perfectly but after some time(couple of hours to few days) it stops polling.
    We have seen in the logs that the sftp adapter stops gettling list of files after some time.
    Any clues why's this happening.
    Is there someway to tell FTP Adapter to create a new connection every time it goes to poll the files AND some way to keep the activation agent keep working instead of dying out when something bad happens.(e.g. timeout or ftp server unavailability etc).
    We are going to production in 2 weeks and have just discovered this issue. Pls help.
    thanks

    Hi ,
    i think currently your FTP Connection factory will have the following connection pool
    <connection-pooling use="none">
    </connection-pooling>
    replace the above with the following properteis
    <connection-pooling use="private">
    <property name="waitTimeout" value="300" />
    <property name="scheme" value="dynamic" />
    <property name="maxConnections" value="10" />
    <property name="minConnections" value="0" />
    </connection-pooling>
    Krishna

  • Sender SFTP Adapter channel is not polling for files

    Hello All,
    Couple of SFTP sender adapter channel was failing in Developent system with u201Cdirectory listingu201D error.All SFTP sender channels stopped polling for the files in Developent system  . We were unable to find the reason for adapter failure, Hence we restarted the j2ee server and adapter started polling files. Later we are facing the same issue in Quality system. THe adapter cahnnel is not polling files in Quality system even.
    All lean tool adapters were showing the u201CHost key was not accepted erroru201D on 27th of Feb . As per the other channel trace, the time stamp of last successful polling and error time stamp of lean tool sender channels are exactly same
    Eventhough two communication channels access the same SFTP adapter, one communicationchannel is getting 'Host key was not accepted error' but in other communication channel, files are getting picked.
    Please let me know the solution if you have come accross this issue previously
    Regards,
    DilipKumar

    Hi Mike,
    Thanks for your reply.
    Its not a standard SFTP adapter rather its a C-BURGER SFTP adapter.
    Sorry I did not mention this in my previous post
    Regards,
    DilipKumar

  • Problem with SFTP Adapter

    Hi,
    Last year we made the upgrade in our PI server to enable SFTP adapter. Our version is SAP 7.1 ehp 1
    When trying to use this adapter (We attached configuration in the message), this gives us an error.
    This is the error log:
    Exception received while check for additional files: String index out
    of range: -1
    On the other hand, the communication channel fails when it try to process any of the file list but doesn't gives us any log error.
    Is it a problem of configuration required for SFTP adapters? If so how should indicate our filters to properly process messages?
    Thanks and best regards.
    Mónica

    Hi Iñaki,
    We configured our channel  as it show the note 1988592 - SFTP Adapter not picking files with *  
    But we have the same error:
    Exception received while check for additional files: String index out of range: -1
    I attached the screenshot
    Thanks and best regards

  • Accessing Adapter Logs

    Hi,
    Is there a way to access the Adapter logs(sender or receiver comms channel) in Java code? If so, please point me to some resources.
    Cheers,
    Earlence

    hi,
    If you are developing an adapter module it can be done using following command in your code:
    Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Custom Module called");
    Please use article available at:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa
    Thanks!!

  • 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

  • How to log successful logins to a syslog server in NX-OS

    Does anyone know how to do this in NX-OS?  I do it in IOS with the following commands:
    login on-failure log
    login on-success log
    logging x.x.x.x
    With that I get a syslog message that I can then log to a file to track who has logged into which device and when.  But I can't find the syntax to do the same thing in the Nexus switches that we have.  Does anyone know what the equivalent commands are?
    Thanks,
    Ben

    Hi Ben,
    By default, failed logins are logged.
    You can checked the log using:
    show logging logfile | last 15
    and for every logging failed (by default) you will get something like this:
    2012 Dec 18 14:51:08 Nexus5010-B %AUTHPRIV-3-SYSTEM_MSG: pam_aaa:Authentication
    failed for user en from 2.2.2.1 - login
    To get the success-login to show up in the logs we need to increase the level of the authpriv to 5 (it is 3 by default), and doing this will add a new log for failed or succesful connections.
    Use the following command:
    Nexus5010-A(config)# logging level authpriv 5
    You can check loggin levels by using:
    #show logging level
    After you do this with the logging level you will see in the log something like this when a succesful login takes place:
    2005 Jan  6 03:29:48 Nexus5010-A %AUTHPRIV-5-SYSTEM_MSG:    admin :TTY=unknown
    ; PWD=/var/sysmgr/vsh ; USER=root ; COMMAND=/usr/bin/strings/proc/18340/environ
    - sudo
    Now for a failed login and after increasing the authpriv level you will see the following logs:
    2005 Jan  6 03:31:36 Nexus5010-A %AUTHPRIV-4-SYSTEM_MSG: pam_unix(aaa:auth):check pass; user unknown - aaad
    2005 Jan  6 03:31:36 Nexus5010-A %AUTHPRIV-5-SYSTEM_MSG: pam_unix(aaa:auth):
    aut
    hentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  - aaad
    For logging *****
    Nexus7018(config)# logging ?
      console           Set console logging
      event             Interface events
      ip                IP configuration
      level             Facility parameter for syslog messages
      logfile           Set File logging
      message           Interface events
      module            Set module(linecard) logging
      monitor           Set terminal line(monitor) logging level
      origin-id         Enable origin information for Remote Syslog Server
      server            Enable forwarding to Remote Syslog Server
      source-interface  Enable Source-Interface for Remote Syslog Server
      timestamp         Set logging timestamp granularity
    You can use logging source-interface ....
    Thanks-
    Afroz
    ***Ratings Encourages Contributors ****

  • 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

Maybe you are looking for

  • 11g - 11.1.0.7.0 - 64bit PL/SQL library cahce pin issue

    We just upgraded our production a couple of months ago to 11.1.0.7.0 - 64bit and having a lots of fun :) The main issue we started to see is that we tried compiling the package the other day (the package which doesn't have any dependency at all) and

  • Unable to Edit Wiki Pages in Workspace

    Hi All! Recently I'm encountering an "undefined" error when I try to Publish edits to a Beehive Team Collaboration Wiki page. I've input service requests, but they are cancelled since that team doesn't handle Beehive questions. I was directed to ask

  • Sort key too long message from view

    has anyone come accross the message "sort key too long" when selecting from a view, and if so what causes it ?

  • Infoview not displaying WESubmitLink

    <p>I added the following code to my report. The link shows in infoview but returns an error on the path. the file doesn't exist.</p><p>stringvar path:= WETargetPath ("rpt", "Name", "machines", "");<br />stringvar font:= WEFont ("Arial", 10, "Navy", "

  • TS1367 My old PowerBook G4 with early OSX suddenly won't start up. No startup noises, etc.

    I cannot start my old powerbook g4. It makes no sounds - drive, etc. It was working fine one day, then I left it dormant/off for about a week, but plugged in to transformer to keep it "alive". Upon trying to start up again, nothing. The battery test