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

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 + 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

  • 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

  • File Dialog (Details View and Multiple Selections for View File Type)

    I would like to use the generic windows dialog box found in the toolbar under:
    File I/O/Advanced File Functions/File Dialog
    What I would like to do is have multiple selections for the file type, for example one menu selection is *.txt, another is *.rtf, another is *.csv, etc. Listing a single type is straightforward.
    Also does anyone know if there is a way to have the dialog open in the DETAILS view automatically?
    Thanks for any help!
    Carlton

    Hi,
    You can do it in following ways:
    1. Write in pattern input the string "*.txt; *.csv; *.rtf". This will show to the user only files with this extensions in the dialog.
    2. Another way is to create ring or menu where user could specify the extension. Depending on this extension you could wire the appropriate string to the pattern input of "File Dialog.vi"
    I have made an example.
    Good luck.
    Oleg Chutko.
    Attachments:
    fileopen.vi ‏42 KB

  • I have downloaded an addon in the game Mafia Wars,it works!Since then Firefox asks me evry 2 minutes :select addon source file.later on reload.

    firefox asks me evry time:select mwaddon source file.Why and how to do this?
    then Firefox asks me repeatantly upload your programme, MW???,Why??the addon works perfectly.I donot want to loose things.pls stop asking me too many times the same question.
    '

    Hi,
    Please create a screenshot of the problem you're seeing by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem.

  • [JS][CS3]how to get refrence for source file

    Hi All
    I am new and learning javascript Gradually Could any one help on this as i do have a code for load style but don't know how to get refrence for "source file" and "targetDoc"
    targetDoc.importStyles(charImport, sourceFile, clashPolicy);
    targetDoc.importStyles(paraImport, sourceFile, clashPolicy);
    Can any one figure it out
    Many Thanks

    I'm not sure what you are trying to achieve, could you please elaborate?
    Do you want to load all the styles from one document into all 100 documents, or do you want all the styles from the 100 documents into 1 document or what is the goal?
    The following will let you choose a folder of files, open each of the files in it and import the styles from source document. It is not a complete script, make sure to test and modify before running on anything else than test files :-)
    var MyFolderWithFiles = Folder.selectDialog ("Choose a folder");
    var sourceFile = File.openDialog("Choose the styles source");
    var myFiles = MyFolderWithFiles.getFiles("*.indd");
    for(i = 0; i < myFiles.length; i++) {
        theFile = myFiles[i];
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
        var targetDoc = app.open(theFile, true);
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
        targetDoc.importStyles(ImportFormat.CHARACTER_STYLES_FORMAT, sourceFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
        targetDoc.importStyles(ImportFormat.PARAGRAPH_STYLES_FORMAT, sourceFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
        targetDoc.close(SaveOptions.YES);
    Thomas B. Nielsen
    http://www.lund-co.dk

  • Hard Drive Setup for Source Files, Media Cache, Project, Render, etc...

    I am working to set up the following drives:
    C: SSD for OS and Programs
    D: RAID 0 (Three SATA II F3's) for Premiere Projects, where I render too, and Encore Projects
    E: RAID 0 (Two SATA III WD Caviar Blacks) for Source Files, media cache, and preview files (if i can get the Marvel controllers/SATA III to RAID that is)
    External HD USB 3.0 for backing up projects
    Should I be doing this different?
    Does anyone think it would be better to use SDD drive(s) instead of HDDs? I

    We're almost there Harm, thanks! I'm about to indicate this as being "Answered"
    More explicitly, are you suggesting it would look like this?
    C: SSD for:
    OS and Programs
    D: RAID 0 (Three SATA II F3's) for:
    Premiere Project
    Where I render project too
    Encore Project
    Source Files (Per Harm's suggestion)
    E:  RAID 0 (Two SATA III WD Caviar Blacks) for:
    Media cache
    Preview files
    Pagefile
    Is two RAIDs more ideal? That is (provided the above configuration is correct); does the pagefile, media cache, and preview files need to be on a RAID?
    Should I partition a piece of my E and use that for the pagefile or pagefile, media cache, and preview files? If yes, which? and how much of a partition should I create?
    When setting the pagefile, should I set all the other drives to "none" (except the E of course)?
    Lastly, regarding my E: drive for media cache, preview files, and pagefile (assuming all this is supposed to be on a different drive). Would I be better off using an SSD for that? Or should I keep my E: drive HDD with RAID 0? I suppose it will depend on what's more important, read or write speed. If read speed is more important than I can get an SSD for under $200 that will be really fast reads. If it's about writing then my WD's in a RAID will be better. So, which is more important for these things, writing speed or reading speed? If the SSD would be a solution for the extra files then I’ll have this set up:
    C: SSD for:
    OS and Programs
    D: RAID 0 (Three SATA II F3's) for:
    Premiere Project
    Where I render project too
    Encore Project
    Source Files (Per Harm's suggestion)
    E:  SSD for:
    Media cache
    Preview files
    Pagefile
    F:  One SATA III WD Caviar Black for:
    Extra Backups and stuff
    Thanks Harm, I'm about to have an unprecedented editing experience I think! Finally, after more than 7 years!

  • [2514] Remote debugger asks for source file.

    I've been testing the fixed remote debug facility in the new release.
    It is now possible to connect to a remote session and start debugging, but as soon as I hit a breakpoint a dialog pops up saying that it is unable to find the source file for the package being debugged. It offers various options, including two 'Look for file in connection ....'
    and browsing for the source file.
    If I do a local debug first, this does not happen.

    We have a bug logged for "unable to find the source". You need to accept the dialog and select the connection you want to do the debugging on. For the other issue, we have multiple databases, with connections for users with the same name in each and have not run into the issue described. Please can you provide more detail.
    Sue

  • Keeps asking for source file.

    As I work on a project, I save-as the file name for example: This (myproj.mxml) to this (myproj02.mxml) until eventually I save as up to 5 or 10 files. (myproj08.mxml) in the package explorer list on the left side of the flex builder project. When I am finished I delete all the files before my last one. I can delete them all but when I go to export release build I get an error telling me
    (Flash builder could not publish the project source: The application file myproj.mxml was not found).
    The project source must be the very first file created before I saved-as to number 2, because when I bring that first file back into the project, it works again.
    How do I sever ties with all previous file versions so I can keep just the last saved-as version in my flex builder project? Thanks.

    This is not a new problem. I have encountered it through many versions of QuickTime.
    Typically, it happens after I assemble a compilation of clips from various sources, including imported Windows Media files. I diligently check the "Save as a self-contained movie" option, which always indicates a file size larger than the "Save as reference movie" option -- for example, 1.7 MB vs. only 9.2 KB for a short clip. And yet, if I have discarded the original clip, QuickTime is unable to play some of the supposedly self-contained movies because it can't find the deleted source files. It's kind of maddening, especially when there's no way to recover the original clips.
    I haven't tracked this, but I suspect it might happen when a clip in one format is pasted into a movie without first converting it to QuickTime. Has anyone else noticed this possibility and tested it?

  • The place for source file

    When We deploy custom OAF applications, We put class in the $JAVA_TOP and import definition files such as PG to DB.
    As manners, where should I put the source file?

    For java, only class files are maintained. For your custom developments, it depends on you based on what source control you use.
    For page, region xml files, you can keep them on MDS_TOP apart from your source control software.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Check for source file

    Hi,
    My requirement is as below:
    In source FTP directory, I have to check if source file exists or not. If exists, that file shuld be picked up and created at target side with header, line items and detail record.
    If the file does not exist, then a file should be created at target side with only header and detail record with no line item records.
    In any case, a file should be created at target side.
    Please suggest if Dynamic configuration is the better option for this or any other way gives better results.
    Thanks and Regards,
    Anil.

    @ Babu,
    The query is like...
    If the file does not exist, then a file should be created at target side with only header and detail record with no line item records.
    In any case, a file should be created at target side.
    so i answered as,
    Now when the file is not present, u will get only the empty tags..(message type name in XML Payload)
    If you read the question carefully, it is not being asked "how to handle empty files". It is about "what to do if there are no files in the source directory", which implies that if there are no files present, then create one.
    u said as,
    This option won't "create" an empty file.
    Correct me if i am wrong, DID I SAY IT WILL CREATE an EMPTY FILE IN SOURCE FOLDER???
    No, you don't need to say that .. it was evident from your answer. In this forum post, nothing is being asked regarding empty files, so please don't provide such answers which has nothing to do in this situation.
    -- Abhi

Maybe you are looking for

  • Problem with JNI in a Solaris shared library

    Hi, I have a problem. I have used JNI in my .dll on Windows & .so on Solaris . I have also used the same JNI code in a .exe on Windows & an executable on Solaris. 3 out of the above 4 combinations work & 1 doesen't. When I use JNI from a .so on Solar

  • Folio 13 Touch/clickpad freeze every 2 minutes on any software (excel, eudore, word...)

    The laptop is great, but my touchpad/click pad freezes very easily and I have to ctrl alt delete to log off as user and re-log on. I tried changes on the mouse settings, no difference at all. Do I need a special update for the driver? It can happen 5

  • How can we add user defined fields in My Account Profile?

    Hi, When adding new field for user,user groups,my resource,organizations and request all exist in the drop down menu list but the MyAccount(In the page where we add user defined fields). Please help me to add user defined field in MyAccount also. Tha

  • Would anyone like to win a Dreamweaver CS5 Professional Training Course CD?

    Hello everyone, I run a website called  http://dreamweavertutorial.co.uk and I create video tutorials and articles showing people how to use CSS, HTML, jQuery and more.  I would like to give away a copy of a Dreamweaver CS5 Professional Video Course

  • Acrobat Pro v. 11.0.0.7 Update fails

    I've tried repeatedly to update Acrobat 11 to 11.0.0.7 both from Acrobat Help and from download and it continually fails with error code 1603. Should I even bother to install it? I'm running MS Win 8.1, Any recommendations?