Sender File adapter is not picking up file

Hi,
I am usning the sender file adapter to process a file through FTP. Adapter does not pick up the file, however it recognise the file, as it appears in the error message. Below is the text of the error message:
<i>Could not process file '<b>filename</b>': com.sap.aii.adapter.file.ftp.FTPEx: 550 toSAP: No such file or directory.</i>
I am not sure yet whether this file is <b>read only</b>. Can read only file not be processed in FTP ?
Thanks

Hi, I have the same problem. In advance, we can see in FTP Server log that CWD command it is called twice, for example :
00:00:59 10.15.64.187 [4669]USER MDM 331 0
00:00:59 10.15.64.187 [4669]PASS - 230 0
00:00:59 10.15.64.187 [4669]CWD MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready 250 0
00:00:59 10.15.64.187 [4669]CWD MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready 550 3
00:01:59 10.15.64.187 [4669]QUIT - 550 0
If we create a directory MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready into the first directory Ready where it is positioned with first cwd , its works !!
First CWD is called for read file an seccond for processing, somebody knows because this behavior ?
Best Regards
Claudio Maino

Similar Messages

  • Sender file adapter is not picking the file from windows server

    Hi Experts,
    We have a sender file adapter running on Unix server. Now we have changed the source directory path from Unix to Windows in file access parameters.  It is not picking the files from windows directory and not showing any error.
    In this scenario, input file for sender adapter is *.xml and no content conversion.
    Could any one please let me know is there anything needs to changed in file adapter.
    Thanks in advance,
    Sridhar. M

    Sridhar,
    What do you have in the directory path?
    If it is a shared drive in unix then the directory in windows should also be a shared drive from XI system. Else if it is FTP check the address.
    Regards,
    ---Satish

  • File Adapter is not picking few files

    Hi All,
    I am facing some issue in file adapter. Below are the possible file format that we need to pick.
    File format sample 1:
    865|FieldOrder|AK|620005168|1|Reject|Line Qty can not be Canceled,xyz,abc|The line has been shipped,fgh,hjk
    File format sample 2:
    865|FieldOrder|AK|570000259|10|Accept|
    - All the fields are separated by '|' & last filed is terminated by 'eol'.
    - The last two fields (C7 & C8) also have sub fields separted by ',' as shown in sample 1.
    - Fields C7 & C8 are optional. (Sample 2 is shown above)
    - File contains only one record.
    We are using below mentioned XSD which is working fine in case of sample 1 as shown above. When we have a file of format like sample 2 then file adapter is failing to pick the file. I also tried minoccur='0' attribute which also not worked. Please help me out to find the exact XSD which will pick both type of formats (sample 1& sample2).
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://us.fujitsu.com/865_EDIFile"
    xmlns:tns="http://us.fujitsu.com/865_EDIFile"
    elementFormDefault="qualified" attributeFormDefault="unqualified"
    nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
    <xsd:element name="Root-Element">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Root" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
    <xsd:element name="C3" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
    <xsd:element name="C4" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
    <xsd:element name="C5" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
    <xsd:element name="C6" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
    <xsd:element name="C7">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C7_child" type="xsd:string"
    nxsd:style="array" nxsd:cellSeparatedBy=","
    nxsd:arrayTerminatedBy="|"
    maxOccurs="unbounded"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="C8">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C8_child" type="xsd:string"
    nxsd:style="array" nxsd:cellSeparatedBy=","
    nxsd:arrayTerminatedBy="${eol}"
    maxOccurs="unbounded"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <!--NXSDWIZ:C:\Documents and Settings\rastogvi\Desktop\cap.txt:-->
    <!--USE-HEADER:false:-->

    Hi,
    >>2) Even for those few picked files, why are we seeing less no. of Idocs
    than the file contents.
    Check the mapping by using the payload from SXMB_MONI. I think the mapping is not correct.
    >>3) Why is the adapter always picking files immediately even if a poll
    interval is set.
    Once the objects are activated in ID the channel picks the file immediately and then it waits for the polling interval and repeats the process.
    Regards,
    Jai Shankar

  • Sender file adapter is not polling the file.

    Dear all,
       Sender file adapter is not polling the file.(But Receiver file adapter is getting the file)
    we have installed SP15.
    It was worked fine for previous SP14.
    I have cheked in Adapter monioring also.
    Can you help me out of this problem
    Regards
    Dhanabal

    Hi Dhanabal,
    Is the XI system running on a unix machine ?
    If yes, from the OS level for the folder you are using in the file comm. channel, execute the command
    <b>chmod 777 <folder_name></b>
    The reason for the file to show up in receiver side and not get deleted might be that the xi user mighht be having only read access to the folder...
    Thanks,
    Renjith.

  • Sener file adapter has read/pick the files first in first out method.

    HI
    In my Interface I am Using Sender as File adapter. As per my requirement Sender file adapter has to read the file from file directory. This directory having 1000u2019s of files with some files are same name (time stamp is different) and some files are different name here file adapter has to pick the file with mentioned name   in File sender adapter like ZMPSMSGSTATUSMST-.xml .
    But source file name is like <TABLENAME>-<TIME_STAMP>.XML (ZMPSWRKFLOWHIST-20090527-150522-628) in file directory.
    The file adapter in XI will poll to this directory and picks the file in first- in first-out by sorting according to timestamp.
    To do this configuration what I have to do in sender file adapter please give me your valuable inputs.

    HI Abhi,
    Thank you for your spot replay.
    I tested now but i am geting below error.
    Putting message into send queue failed, due to: com.sap.aii.af.ra.ms.api.DuplicateMessageException: Message ID f4ca4f86-9c5d-4bdd-1fb1-a6bd7cda99a8(OUTBOUND) already exists in database: com.sap.sql.DuplicateKeyException: [NWMss][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK__XI_AF_MSG__491A1D0B'. Cannot insert duplicate key in object 'dbo.XI_AF_MSG'..
    Could not archive file 'E:\file\in\ZMPSMSGSTATUSMST-20090527-150522-628.xml' after processing
    but i am able to see this file in Archive foleder. once file is archivied sucessfully the same file is delted from source directory?
    I given processing parametes queue name is TEST.
    Thanks
    srinivas
    Edited by: srinivasreddy p on May 28, 2009 8:43 AM
    Edited by: srinivasreddy p on May 28, 2009 8:52 AM

  • How file adapter has to pick .stub file???

    Hi guys,
    Sap system is generating a .stub file.if that file exist then only adapter will send the data to pi.
    Can we have some settings in Sender File Adapter where in we can Put check condition for .STUB file.
    I mean, If .STUB file is present in ECC directory only than PI will Pick the File.
    If .STUB file exist, we need to pick some other file.
    If we want to go with unix script, From were we need to get that unix script file. and were we need to use .in file adapetr or some were else??
    --> Do you have any example script? If yes, please share.
    --> is there advance function in Sender File Adapter to pick that file?
    please advice
    Regards,
    Naren
    Edited by: Narendra Surepalli on Oct 17, 2011 8:20 AM

    Naren
    with "Run operating system command before message processing" you can call a script on your server.
    The script can check if there is a file .STUB exist on server or not.
    You can serch for unix commands for check if file exist.
    One example:
    test -e $file_name && echo "file exists"
    from http://www.unix.com/unix-dummies-questions-answers/5361-how-check-if-file-exist-not.html
    You can check others as well.
    Regards
    Raj

  • Sender File adapter not picking the file ABCD.PRN extension file

    Hi
    Am doing File to Abap Proxy scenario. My source will be in text format of fixed length of fileds 7.
    My souce file will be generated by a third party machine with the extension EEE150809.PRN. In my scenario my file adapter should pick the file and update the same in ECC via a Proxy.
    I have configured the Sender File adapter with Message Protocol -  Content Conversion but file adapter is not picking the file. I have checked the Communication channel and status is fine. But the same Communication Channel works for .XML file.
    What are the parameters that I have to consider with the file extension .PRN using File adapter?
    Thanks.
    S.

    Hi Swarna,
    You dont need to worry about the extension when picking the file. You can try using EEE* so that is picks all the files starting with EEE. If you have the fixed name then you can try giving EEE150809.*. Also EEE150809.PRN should not have any issue. Try to see in sender commu ication cahnnel for anyerrors. Probably there might be some network issues or authorisation issues. If you are reading with NFS then ask them to give necessary permissions. If you are reading through FTP check the user id and pwd you are using.
    Regards,
    ---Satish

  • File(FTP) Adapter doesn't pick any file from FTP server

    Hi All,
    This is a strange problem. I am trying to pick all the file from a FTP server using File Name: . . But the file adapter doesn't pick any file from the directory. When  I change it to a specific file name eg. ABC.txt then it picks up the file ABC.txt only.
    My requirement is to pick up all files in the directory and I just do not seem to understand what is wrong. I have used this wildcard option several times earlier and it always worked fine. But in this case, this does not work.
    I changed the FTP server to point to an internal FTP server and it works fine.
    I have checked all my parameters and everything looks okay. Like I mentioned earlier, if you specify exact file name, it picks up the file.
    Any guess as to what is going on here?

    Transport Protocol: FTP
    Message Protocol: File
    source directory: /test or test ( <b>either one works</b>)
    file name: * or . or *.txt <b>nothing works</b>
    server: ftp server name
    port: 21
    data connection: passive
    user: ******
    pass: ******
    connect mode: permanently
    transfer mode: text
    QOS: exactly once
    poll: 10 secs
    processing mode: archive ( <b>changed to test and delete as well, but made no difference</b>.)
    archive dir: dir path
    file type: text
    adapter specific attributes:
    checked: set adapter specific attributes
    and file name.
    status: active.

  • File Adapter is not polling File.

    Hi All,
    I am using file adapter to poll a file. When I am restarting server then it is picking file. After then when I am dropping a file then File Adapter is not picking File.
    Can any one guide me what si problem?
    I am using SOA SUITE 10.1.3.4
    Thanks in Advance.

    First clusterGroupId is a unique value. Do not use the same clusterGroupId across different adapters even in different process.
    Once clusterGroupId is defined, the multiple activations of the same adapter Activation Agent is to be detected implicitly and automatically by all the instances of the adapter framework active in that cluster. The cluster will allow onlye one node activation to start the reading the files/messages. The adapter framework instances chooses one among multiple nodes, randomly to assume the Primary Activation responsibility. The other activations (instances) in the cluster will initiate to a hot stand-by state, without actually invoking EndpointActivation on the JCA resource adapter.
    If a primary activation at some point becomes unresponsive, is deactivated manually or if it crashes/exits, then any one of the remaining adapter framework members of the cluster group will immediately detect this, and reassign the primary activation responsibility to one of activation agents standing by.
    This feature uses JGroups underneath for the implementation, hence the clusterGroupId property. These features require cluster and JGroups configuration in collaxa-config.xml and jgroups-protocol.xml. All BPEL instances participating in the cluster must share the same cluster name in collaxa-config.xml,and the same multicast address and port in jgroups-protocol.xml.
    As far as for this issue, I too face the same across diff environments and searching for the exact reason. I believe this happens when primary activation agent crashes, the hand-over to the other node is not happening properly through jgroups.
    Nirav

  • XI not picking up file

    Hi! My team here has some problems with our XI server. All the settings are correct, and the adapter is set as well. However, the file adapter is not picking up the files from the ftp server and there are no messages in Monitoring.
    Has anyone else faced this problem?

    Hi,
    1. did you check your adapter monitor log?
    http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp
    2. did you activate the file adapter channel?
    3.do you see any errors in adapter monitoring?
    http://server:port/mdt/amtServlet
    do you see any errros in VA:
    /people/michal.krawczyk2/blog/2005/09/07/xi-why-dont-start-searching-for-all-errors-from-one-place
    Regards,
    michal

  • File Adapter as Sender not picking the files

    We configured the File Adapter as Sender, Transport Protocol =NSF and message protocol as FCC.
    In OS we have folder to read the file, but SAP XI unable to read the file.
    To trouble shoot this issue we copied that file into another location and reverted back to the same location then XI File adaptor is able to read the file.
    Now we have compared the Attributes of the path
    the only difference in file attributes
    Coded character set ID . . . . . . . . :   819      
    CCSID 819 (decimal)
    0333 (hex)
    Name ISO 8859-1 ASCII
    Description ISO 8859-1: Latin Alphabet Number 1Latin-1 countries and regions
    Notes Related CCSID with euro is 923           
    able to read the file attributes:
    Coded character set ID . . . . . . . . :   1252                    
    CCSID 1252 (decimal)
    04E4 (hex)
    Name MS-WIN LATIN-1
    SC Co-existence/Migration
    FMS Subset
    Registration Date 
    Description MS Windows, Latin-1
    Notes CCSID for this code page with euro is 5348
    We have tried to chage the File type as Text and File Encoding with ISO-8859-1even then its not picking the files.
    Please suggest me where i am doing wrong here
    Thanks,
    Venkat.

    Hi,
    Check the file path & file name , Check  the processing mode parameter which you have set?
    Check the folder properties & provide all the permission ...
    Finally check the communication channel status in RWB, If the problem persist try to stop & start the communication channel again..
    Hope it helps...
    Regards,
    Kumar.

  • FCC Send File Adapter - missingLastFields not working

    Hi
    I have a flat file to capture using the sender File adapter
    Parameter as follows:
    Header_fieldNames : Key,Name,StaffID,Telephone
    Header_fieldFixedLengths :  2,12,10,8
    Header_endSeparator : 'nl'
    Line_fieldNames : Key,Address,Company,LineText
    Line_fieldFixedLengths :  2,20,20,40
    However there are times where last field come in missing.
    Hence I use the Header_missingLastFields : error
                              Line_missingLastFields : error
    However it does not seem to be working as the adapter fails to pick the file from the FTP folder
    but if I  replace error with ignore, the sender adapter picked the files and process and send to the receiver adapter.
    I need to flagged error in sxmb_moni if last field or last few fields are missing....any advise how could this be achieve ?
    Regards
    Fred

    Hi Freddy,
    I think you might like to specify missingLastFields = add. then it will add the missing fields as empty. you can further check if these are empty in mapping and then fail the message or create an alert.
    If you specify "ignore" then you will not get those fields in your structure and if you specify "error" then the file will not be picked up.
    have a look here
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    missingLastfields
    If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:
    ○       ignore
    Outbound structure only contains the fields in the inbound structure
    ○       add
    Outbound structure contains all fields from the configuration; the fields missing in the inbound structure are empty.
    ○       error
    Conversion is terminated due to the incomplete inbound structure. An error message is displayed
    regards,
    francis

  • SAP MDM Adapter not picking up files in Ready folder on MDM

    Hello Experts,
    We are sending master data from MDM 7.1 system via PI 7.1 system to SAP ECC system. The Sydnication from MDM system is automatic and the files are being syndicated successfully from MDM system and getting dumped in the Ready folder of the port.
    But the Sender MDM PI adapter is not picking up the files from the folder.
    The communication channel status in Communication channel monitoring is green and 'data control' is Automatically.
    However the file is getting picked up if we stop and then start the channel but not automatically.
    Please Help!
    Thanks,
    Suraj

    Check if there are locks for the file channel in NWA. If yes, unlock that and your issue should be resolved.
    Login to NWA --> Operation Management --> Systems --> Start & Stop --> JAVA EE Services --> check for File Connector, Locking Adapter and XPI Adapter: File.

  • File Adapter Not picking the files

    Hi All,
    We have a process wherein the file adapter picks up the file from a particular location and it processed thereafter. We get the files once every month. We noticed that if the files that are being dazzled are of the same, i.e if the same nomenclature is there for the file that was dazzled the previous month, the adapter does not pick up the file. Only after renaming the file, it picks the file and processed them.
    Any idea why the files that are dazzled with the same name are not being picked up.
    Thanks in Advance...!!

    Hi,
    While configuring file adapter to pick up the files cross verify with file name putting in the directory location against the
    "Includes files with name pattern" "Excludes file with name pattern" file name..
    let say if u kept .*txt if picks the files txt with any name and one more think once after picking up the file from particular location are u enabling (delete file once read) option in configuration(It all depends on ur req)..
    cross check the schema element of the file pattern.

  • File Sender channel polling successfully  but not picking the files.

    Hi All,
                    Can any one please provide any SAP Note  Or any Alert mechanism for the  File Sender channel in case where the XI channel in polling successfully at a particular folder from Source System  but not picking the files. Thanks in Advance for the solution.

    Hello,
                  If you want to know the reason for failure in picking up the file ,You can check the MessagingSystem monitoring for the reason behind failure.
    http://host:httpport/MessagingSystem/monitor/monitor.jsp
    For Alert may be you can follow prateek instructions.
    HTH
    Rajesh

Maybe you are looking for

  • Flash Drive Won't Eject as a Whole

    My Computer (Windows 8) won't let me eject my flash drive in one piece.  It works fine on the other computers (Windows 7 & XP) in my house.  When I click "Safely Remove Hardware", three buttons appear: Cruzer Micro [faded & not clickable] >  - Eject

  • Final Cut Studio 2 6.0.4 and the Canon ZR65

    I can't get my new spiffy do it all and cut everyone else to the quick computer to even recognize my Canon ZR65 miniDV camera. This is a really useless situation. I have a piece that needs to be to Sundance by the 15th of Sept. and I can't do a thing

  • Printer Wont Appear on "Add Printer" on Preference Pane

    Using Mac 10.6 New Printer DeskJet F4480- Is said to be on the Compatible hit-list of Mac/HP Drivers and Software here: http://support.apple.com/kb/HT3669 But still... as the title state. I cant add the computer on the Preference pane. (Moving to UCL

  • My iPad does not turn back on!

    My iPad suddenly went dead, it does not turn back on.  I have a 4 digit passcode for the iPad screen but I am unable to enter this passcode. I tried to hold down sleep/wake button by itself, sleep/wake and home button together for at least 10 secs, c

  • Help need regarding Java Reflection

    I need help in programming the following: I have to generate a test Harness for OOP.This program that automatically tests classes by instantiating them, selecting methods of these instantiated objects randomly or using some criteria, invoking them, a