Advance select for source file in Sender File Adapter

Hi
I am trying to utilise the parameter 'Advance Selection for source file' on a sender file adapter to pick the file from multiple folders
My problem is that this parameter that is listed on the SAP help is not getting in File accessing Parameters.
I am running PI 7.02 (NW702_07_Rel)
Service pack 07
Has anyone come across this before?
any suggestions on how to do this?

Hi,
In PI7.0 the property exists. I have used it previously. I think SP was 13.
Regards,
Nutan
Edited by: nutan champia on Nov 24, 2011 10:42 AM

Similar Messages

  • Advanced selection for source file

    Hi,
    Requirement: One source directory, multiple file names. File needs to be picked up from source directory and send to target directory with same name as source file name.
    Source file name pattern sample: AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm.
    Target file name should be :AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm
    Can we define multiple place holders as :
    Directory    
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt, A35_X.txt, AP5_Y*.txt, AP5_Y*.txt
    When I tried for single place holder, the scenario was working but when I tried adding multiple place holders it was not working.
    How can we achieve the above scenario?
    Thanks,
    Vertika

    Hi Amit,
    Thanks for reply.
    Yes you understood it right.
    I am able to achieve this now. The only change that I did is instead of giving all the placeholders in same line I have given it in different lines and this is working now.
    Sender Adapter Configuration: Checked Advanced selection for source file and used Adapter specific message attributes to keep same file name as source file name.
    File Name Mask
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt
    \\Source
    A35_X*.txt
    \\Source
    AP5_Y*.txt
    \\Source
    A35_Y*.txt
    I am closing this thread now.
    Thanks,
    Vertika

  • File Adapter: Advanced selection for source file

    Hi Experts,
    I am doing file(Idoc format) to IDoc scenario. In my scenario I am getting files in three different formats (ex: abc.dat, xyz.dat, 123.edi). My communication channel (sender file adapter) should poll for every 30 mins, picks up the files and map them to Idoc without any mapping.
    Need following clarifications:
         1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
         2. If there is no mapping how should I proceed in this case?
    Regards,
    Rams

    >>1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
    Not required.. if all the files are from the same directory then u can specify .  in the file name parameter.. but make sure that only these 3 file types are places in the directory... if this is not the case you can use Advannced Selection... check my Wiki [Single Sender File CC For Multiple Directories|https://wiki.sdn.sap.com/wiki/display/XI/SingleSenderFileCCForMultipleDirectories]
    >>2. If there is no mapping how should I proceed in this case?
    Mappiing is required only if the source and the target structure are different.. if u send the file with the IDocc XML format mapping is not required...
    ~SaNv....

  • Advanced Selection for Source File + SourceFileSize = invalid file size?

    Hi !
    I have a File Adapter using FTP protocol. I've turn on all Adapter-Specific Message Attributes, including SourceFileSize. I've activated the Advanced Selection for Source File, and entered several patterns.
    When I see my payload via the monitor, I get a "-" in the SourceFileSize value.
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">-</sap:Record>
    If I disable the "Advanced Selection for Source File", the file size is ok.
    Is it just me?
    Thanks

    maybe u need to check for some notes

  • Advance selection for source file-Error in communication channel monitoring

    Hi all,
    Referring to the link below:
    <b>/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    I have developed my scenario in the same way.But due to the values <b><NOTHING></b>
    in Mandatory fields Source Directory and Filename,i am facing problem in Communication Channel Monitoring as it shows an error;even though the end-to-end scenario works successfully.
    Plase note that  our scenario is not to exclude the particular file but to pick the files serially after a certain delay.
    Kindly provide some idea about how can we remove the error from Communication Channel Monitoring.
    Thanks & Regards,
    Sudhir Tiwari

    Sudhir,
    In the sender file adapter, you have an option called <b>"Processing Sequence"</b>.
    By selecting ByName or ByDate you can make files get selected sequentially either ByName ( alphabetically ) or by the creation time stamp of the file.
    In the sender file adapter also make the QOS as EOIO and give the QueueName as any value and the files will be processed sequentially.
    Regards
    Bhavesh

  • 3 Source directories in Sender File. How to set 3 Archive Directories?

    Hi guy's,
    I have scenario File to IDOC where from 3 source directories the XML has to be taken and processed. I used Advanced Selection for Source File in one communication channel.
    For each source directory, there is an archive directory but in the field Archive Directory of the Communication Channel, there is possibility to put only one directory.
    How can I put 3 archive directories in one sender File communication channel?
    Kind regards,
    Danijela Zivanovic

    You need to have different CCs for keeping archieve files in different directories.
    Similar thread can be found at
    Multiple Archive Directory
    Rehards,

  • Advanced selection of source file

    Hi All,
    i am working on a scenario in which file needs to be picked up from 3 different directories.say A, B and c
    I configured in CC by giving 3 different directories.... in "Advanced selection of source file" option i have given directory B and C there.
    ....i am using Adapter specific message attributes also for this CC..
    Its is working fine, But my issue is : i want to take the back back up for every directory file, means archive...
    How can i do that???
    please guide me through this.....am i missing any thing?
    Please guide me..
    Thanks,
    Anu-

    Hi Anu,
    select processing mode as Archive and mention the archive directory path if u want to add timestamp to the file check the checkbox Add Time Stamp.
    regards,
    Shekhar.

  • How to go for Advance selction for source file in J2SE adapter

    Hi all,
               I am doing a file to file scenario using J2SE adapter.I have to pick file from two different directory  we  can easily achieve it in J2EE adapter using advance selection of source file but how to proceed in case of J2SE plain adapter.Please guide me with your knowledge.
    Regards,
    saurabh

    This is not possible. You need different adapters, but you can use the same interface and namespace, so there should be no issue.
    Regards
    Stefan

  • Additional Files in Sender File Adapter

    Hi
    I have to collect 2 files (IN.txt, IS.txt) and attach 2 files as an attachment to mail.
    So I opted Additional Files in Sender File Adapter
    Source Directory = D:\usr\sap\pitest\LoadTest\Output\Invoice
    File Name = IN.TXT
    Additional Files
    File List <IS.TXT>
    <IS.TXT>.namePart               ".TXT"=".TXT"
    <IS.TXT>.optional                  NO
    <IS.TXT>.type                       TXT
    But I am able to Pick only one file (IN.TXT) from the Source Directory.
    IS.TXT file is not at all picking.
    Please give me your suggestion.

    I reply just want to close this issue.
    if file Name = Item.TXT and additional file name is ItemText.csv then configuration as following.
    File List <Item.TXT>
    <IS.TXT>.namePart               ".TXT"="Text.csv"
    <IS.TXT>.optional                  NO
    <IS.TXT>.type                       TXT
    for namePart parameter, we should give the str which need to be replaced. for your example, we could give as <IS.TXT>.namePart               "IS.TXT"="IN.TXT"
    replace all the file name.

  • Trigger file in Sender File CC

    Hi All,
    I have a query regarding the usage of trigger file in Sender File CC.
    I am triying to pick .XML files only if respective .trg file is existing. My question is when ever there are 10 files where 9 are completely written and have respective .trg but 10th file still being written(which does not have a .trg file), the other 9 files are also not getting picked.it is waiting for the 10th .trg file throowing an error. But in real time these are dynamic files, when one is completed there may be other file being written. Is there any possibility to pick the 9 files which have .trg and leave the 10th file to be written completely and pick that in the next polling.
    Please find the below attachment of configuration.
    Kindly post your solutions on this.
    Thanks & Regards,
    Sandhya

    Hi
    If i understand correctly your 10th file is placing into the folder and it was not completely placed yet.For this as suggested you need to use File Modification Check.
    Coming to trigger file,once your files are ready (File Modification check success) then using some background job, we used Autosys tool to place the trigger file then PI will pick the files.There should be a gap between the background jobs which places actual data files,trigger file and polling of PI channel.
    Please try with SAP SFTP adapter which has more functions compared to normal FILE.In Case of SFTP you no need to use any modules for the payload conversion.
    Thanks

  • How to fetch XML file thru Sender File adapter

    Dear friends,
    I am having a scenario of fetching an xml file through sender file adapter. When i am testing my mapping in Test mode of message mapping it is working fine but when i fetch the real source xml file which is not having the XML namespace and Source Message type.
    It is throwing error in Runtime.
    At the same time when i edit the source xml file  with the XML NAMESPACE & Source Meessage type it is passing successfully to the target system.
    Kindly tell me friends how to solve this problem.
    Take care,
    Karthik

    Hi Friends,
    My Source XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <PeopleMsg>
       <Records>
          <Record>
                <FirstName>Dawei</FirstName>
                <LastName>He</LastName>
                <MiddleNameOrInitials>D</MiddleNameOrInitials>
                <IDs>
                    <IDType>
                          <IDTypeName>Employee ID (Country Equivalent)</IDTypeName>
                    </IDType>
                    <IDs>999999999999</IDs>
                </IDs>
           </Record>
       </Records>
    </PeopleMsg>
    My xml file in the Test Tab of Message mapping:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Source_MT xmlns:ns0="http://kpmg.com/ibs/mdm">
    <PeopleMsg>
       <Records>
          <Record>
                <FirstName>Dawei</FirstName>
                <LastName>He</LastName>
                <MiddleNameOrInitials>D</MiddleNameOrInitials>
                <IDs>
                    <IDType>
                          <IDTypeName>Employee ID (Country Equivalent)</IDTypeName>
                    </IDType>
                    <IDs>999999999999</IDs>
                </IDs>
           </Record>
       </Records>
    </PeopleMsg>
    </ns0:Source_MT>

  • Archiving TXT files in Sender File Adapter--Unformatted Way

    Hello,
    I am Archiving TXT files thru Sender file adapter, files are getting archived to specified directory.No issues in that.,
    When i open the archived files, those are not in the correct format way that i placed before file pickup.
    Header & lines got messed up side by side.
    Regards

    Hi,
    If the file that it being archived is not transformed, it should exactly be the same as the original file.
    Please make sure that you are not transforming the archive file by any means(unix script, mapping logics etc).
    As suggested above, it is advisable to open the file in the editors like textpad, ultraedit etc. The difference in the alignment could be because of the notepad editor.
    Try to open the original and archived files in any of those(textpad,ultraedit etc) editors and check.
    Please let us know if you are still able to find the difference in the alignment.
    Regards,
    Subbu

  • Read uniquely named file. Sender File Adapter unsuitable for synchronous

    Hi All,
    We have a requirement to read a specific file that has a unique name based on a transaction ID. The transaction ID will be passed from the source application.
    The communication is required to be synchronous. There could be multiple requests/files generated and present at the directory at any given time but each corresponding to a specific transaction ID. If the file is not yet generated for that transaction ID we return back an error to the calling system.
    I think we can not use Sender File Adapter - because of the dynamic naming and also because we have to return a synchronous response back depending on the file availability. i.e. We can not have a defined pattern in the file name nor can we specify a wild card as there could be more than one files in the location.
    In theory we could use the File Sender adapter to read all the files in the directory and a BPM with correlation set based on the transaction ID and let the process wait for the request. But as far as possible I want to avoid this unnecessary wait or extra demand on the system. More so because the files could get big.
    If I were using a tool like SAP Business Connector or webMethods then I would I used a readFile Java service and given it a filename to return the required bytes in a synchronous read.
    Is something like this possible in XI? If someone has written a synchronous Java to read file can they share the code? Or do you suggest I write a ABAP server proxy to read the file?  The problem however will be how do we map the data to a XML within the code.
    All suggestions welcome. There has to be a simple and effective solution to this mundane requirement !
    Wishing all SDNers a bright start to this new year,
    Thanks,
    Charu
    Message was edited by:
            Charu Kulkarni
    "The transaction ID will be passed from the source application so we know what file to pick"

    Hi,
    You could make the scenario a little simple and avoid custom development if the logic can be put into scripts(out of XI).
    Say all the files are coming into a directory called D1.
    Here, you could use a script to arrange all these in an order (say ascending) and move the first file into another directory D2.
    The sender file adapter would poll this directory D2. The adapter can have a wild card character for the filename field now.
    Once the file is in XI, you could check this against the transactionId present(I am not sure how you get this though!), and determine whether to send a mail, or to send a file back.
    Here, I have assumed that there is somekind of order present in the files placed in the directory D1.
    Again, this is just a suggestion.. I might be wrong with all the assumptions.
    Regards,
    Smitha.

  • Value for Retry Interval in Sender File Communication Channel

    Hi All,
    I am trying to set Retry Interval for File Adpter as null as per Help.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm</a>
    But I am getting error in Communication channel/Adapter Monitoring as invlaid configuration. How to specify null value as described.
    Thanks in advance.
    Regards,
    Sudharshan

    Hi Michal,
    I am trying this option to solve the problem in following thread.
    Problem with Sender File Content Conversion Communication Channel
    0 is considered to be a valid Configuration, but I dont know whether it is equivalent to null that they are describing.
    Regards,
    Sudharshan

  • Error with Archiving Faulty Source File in Sender FTP adapter

    Hi All,
    I have configured a Sender FTP adapter with Processing Mode as Archive.
    I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
    We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory  XXXXX/Fail .
    I have unchecked the option Archive Files on FTP server.
    But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory  XXXXX/Fail .
    In RWB it is showing the error
    Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
    Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
    This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
    Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
    If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
    I have already unchecked the option Archive Files on FTP server.
    Please help......
    I am on PI 7.11
    Regards
    Henery H

    Hi Henery,
    Check the below thread, this should help you to fix the issue.
    FTP adapter: exc. 550 : No such file or directory
    Thanks,

Maybe you are looking for