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

Similar Messages

  • 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

  • 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....

  • 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

  • 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

  • Some WMA files returning "invalid file" error when I try to transfer them to my MP3 pla

    Hello! I'm having a new problem with my Zen Micro this week. I have been using Walmart.com's music download service for a year or so now and have never had a problem with their files. All of a sudden this week, 2/3rds of the files I have downloaded will not transfer to my MP3 player. When I try to import them, the Zen Micro returns an error saying they are "invalid" files. Some files transfer fine -- others give me this error. I talked to Walmart about this and they said it's a problem with my MP3 player. Does anybody know what might be causing this? Should I be trying an upgrade to my Media Explorer program, or something like that?
    Thanks for any advice you can offer (and yes, I know Walmart is run by *******s, but at least they don't make me download a huge application before I can buy online music from them!).
    --Meg

    I had similar problems with downloads before I upgraded to PlaysForSure. Even though in theory you don't need PlaysForSure for pay as you go downloads, in practice the complex rights built into the music mean that it is the only guarantee that downloaded music will play for sure and correctly on your player. I would recommend upgrading to PlaysForSure firmware from the 'downloads' section of this website (you need windows xp service pack 2 and windows media player 0 first). Make sure you back up your music if possible first as all content will be erased when you upgrade firmware. You will then need to download the software suite for PlaysForSure zen micros to get MediaSource and MediaExplorer.
    Message Edited by joshua32 on 04-27-2006 05:28 PM

  • 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,

  • File adapter validate file checking directory for files

    Hi Gurus,
    We have requirement. There are 3 directories (Processing, Error and Archive)in the Source side.SAP PI need to pick up a file called "abc.txt" from the processing tab.
    But there is a condition.
    1. If "abc.txt" file exists in the "Error" directory then Not process the interface.
    2. If there is no "abc.txt" file in the "Error" directory then validate the file "abc.txt" in the "Processing" directory. If the file is not according to the validation rule then move the "abc.txt" file to the "Error" directory and then stop the processing.
    3. if the above two conditions are ok then move the "abc.txt" file to "archive" directory and send the file to PI.
    Please help me to achive this requirement.

    Hi Kevin,
    You need to use the option of "advanced selection for source file" in the source tab of  sender comm. channel.
    chk this link :-
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    hope its of some help
    Regards,
    Rohit

  • File Adapter: picking files from multiple directories

    Hi all,
    In a sender file communication channel with Transport
    Protocol FTP, There are 2 parameters for Picking up the file
    called Source Directory and Filename. If I want to pick the
    files from 2 or more directories, What needs to be done.
    Or is it possible to do so ?
    Without making duplicate interfaces what else can be done ?
    Regards,
    Vijay

    Actually it is possible to select files from different folders for sender channel. It is available with SP14.
    I just copy following description from help.sap.com
    Advanced Selection for Source File
    If you want to set an exclusion mask for the File Name specified above, or if you want to specify multiple directories using a file name mask and exclusion mask, set the Advanced Selection for Source File indicator.
    ¡        Specify an Exclusion Mask for the file name specified above.
    Example
    You want to process all files that have the extension '.txt', but want to exclude all files that begin with the letter 'a'. To do this, enter .txt for File Name, and a for Exclusion Mask.
    ¡        You can enter additional specifications for source directories, file names, and exclusion masks in the table. This data is processed in addition to the details specified above.

  • How to get the FILE COUNT from File directory

    Hello,
    i have to develop a scenario like, get  the file count from source file directory and validate whether the file count is 5 or not. if 5 files exist i need to process those 5 files to DB tables. if file count is not equal to 5 then i need to send a mail to customer that files are missed at source directory. (subject as files were missed at source directory and in content i need to display the file names exist at source file directory. So that missed file will be generated by the customer based on this mail).
    Could you please let me know how to get the count of files from source file directory. if it is possible only with UDF please provide the Java code
    Best Regards,
    SARAN

    Do these files have some fixed names?
    Can you try to use the option Advanced Selection For Source File to make XI  pick all 5 files in one shot?
    Check this blog on the same -
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    If this is not a option - BPM sounds the only possible way.
    Regards,
    Bhavesh

  • Copying files from Mac to Windows-invalid file names

    Unfortunately, my boss likes Windows more than Macs, so we have puchased some new Dell computers to replace older G4 Macs.
    I'm having trouble copying existing files from a Mac (OS 10.4)to the shared drive on the Windows XP computer. I'm getting an error message:
    "You can't copy the item 'filename' because the name is too long or includes characters that the disk can't display." Sometimes it doesn't give a filename, it gives a similar message "Some items couldn't be copied..."
    I assume the person has used some "illegal" file names such as "Meeting minutes 10/7/07" Or maybe we have too many folders inside of folders.
    QUESTION: Is there a correct/better way to copy large quantites of files/folders from Mac to Windows? Or is there a program that will look at the Mac files and alert me to wrong or too long files names?
    Other ideas to copy these files?
    thanks,
    Bill

    You can use a freeware utility like Renamer4Mac or BatchRename'em both of which have built-in filters that will rename files for Windows compatibility.
    Thank you... This sounded to me like it would fix the problem, so I downloaded both and looked at them. However, the manual/help file is very sparse, so I don't know if it will do what I want to and how it would do it.
    1. I couldn't find any option in either program to: Look at all files in selected folder, and list any invalid file names for Windows.
    2. There doesn't seem to be an option to "rename files without bad Windows characters" or "Remove invalid for Windows characters"
    I just couldn't find any explanation of how it was offering to rename the files. I can't rename all files to sequential names, that would make it hard to find a file later.
    Thank you,
    Bill

  • File Sender : Multiple File being picked

    Hi All
    I have a scenario where I have multiple files in a directory . I have set the option to Processing Parameters to be EOIO and poll interval to be 60 seconds.
    The processing sequence is by Name.
    This File sender triggers a BPM. What I see is that when the File sender polls the directory. If ther are  multiple files, they get picked up at the same time and as many BPM are started.
    I would like it to work pretty much in a serial format where it picks up only one file triggers the BPM. When the BPM is done it can trigger the next file.
    How can I do this ??
    Regards
    Aju Paul

    Hi Aju,
    I have come across such scenarios...but not ones wer you have files wid same names in the same path wid almost same time stamps:)...well, d time stamp format can be specified upto milli seconds!...
    Will you be able to give some kind of an "advanced selection for the source file"-this option is available in the ftp adapter..here's the link to the documentation(just in case u haven't come across it earlier):-
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Regards,
    Sushumna

  • Acrobat X stops working when Type 2018 TWAIN V3 is selected as source

    I can't SCAN becasue Acrobat crashes when Type 2018 TWAIN is selected for source.

    I think you've got a bit mixed up with your tooltip there.
    The way tooltips work is onmouseover, you don't need a trigger.
    This works:
    <Grid>
    <Grid.Resources>
    <Style TargetType="{x:Type Button}" x:Key="ImageAndTextOnButton">
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="{x:Type Button}">
    <Grid>
    <ToolTip/>
    <Image Source="{Binding ImageSource}"
    x:Name="ImageBtn" Stretch="Fill"/>
    <ContentPresenter Content="{TemplateBinding Content}"
    HorizontalAlignment="Center"
    VerticalAlignment="Center">
    </ContentPresenter>
    </Grid>
    <ControlTemplate.Triggers>
    <DataTrigger Binding="{Binding Selected}" Value="True">
    <Setter TargetName="ImageBtn" Property="Source" Value="{Binding SelectedImage}"/>
    </DataTrigger>
    <DataTrigger Binding="{Binding Selected}" Value="False">
    <Setter TargetName="ImageBtn" Property="Source" Value="{Binding ImageSource}"/>
    </DataTrigger>
    </ControlTemplate.Triggers>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    </Grid.Resources>
    <Button ToolTip="Banana">My Button</Button>
    </Grid>
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

Maybe you are looking for

  • Pdf icon preview randomly not showing on desktop

    I have no idea why this has been happening, but for some reason, the pdf preview icon on my desktop shows the preview of some pdf's in the icon, and at random, only shows the generic icon on others. Quick Look works fine. This phenomenon is constantl

  • My Creative Cloud 2014 not opening after the latest update on windows 8?

    I updated my CC suite yesterday, but when I open it it would crash on my windows but not my mac. For some reason, the CC suite kept the older version as well instead of rewriting over it?

  • Rendering + Audio Problem

    I just rendered the below project, closed FCP X, ejected the hard drive, came back a little while later, re-connected my drive, started FCP X and get this FCP NEEDS TO RENDERING AGAIN........???? Also I've noticed after I close and re-open a project,

  • Probook 4530s w/dvd RW Multi DLlightscribe - Burn dvds ??

    HI: I have the Probook 4530s with DVD RW SuperMulti DL LightScribe Drive. can I burn dvd's with the lightscribe. If not, can I use a free dvd burning software. Please suggest one compatibale with win7 64-bit home prrem . 

  • ITunes LP Transfer to Other Accounts

    If I purchase a iTunes LP album...say Muse - The Resistance...on my laptop and would like the LP content tranferred over to my home PC as well using the same Apple Store account, is that possible?